The best replacement for if is whether.


The best alternatives to if are rated as following:
★★★★★  whether
★★★★  when
★★★  excel
★★  rf
★★  php
★★  switch
★★  case
★★  else if
★  excel formula
★  python
★  iif
★  javascript
★  as though
★  matlab
★  iff
★  even though
★  only if
★  iaf
★  bash
★  ifdef
★  like
★  whether grammar
  c#
  unless
  when yugioh
  statement excel
  where in sas
  where
  switch performance
  ihc
  jquery
  in case
  when grammar
  statements excel
  elseif
  whether gmat
  while
  had
  when conditionals
  if only
  powershell
  if
  switch c#
  elif
  function excel
  6 meals a day

Your alternative for if is not listed? Suggest!
Speaking about if, one probably shouldn't forget about vlookup.

Other search terms related to if and their ratings are:

★★★★★ vlookup
★★★ else java
★★★ else python
★★★ else c++
★★★ else
★★★ then
★★★ and in excel
★★★ or
★★ block if
★★ or excel
★★ multiple conditions
★★ end if
★★ else javascript
★★ dates in excel
★★ else php
else vba
condition
or python
end if vba
block if vba
and function excel
array excel
You have in mind a companion for if and it is not yet here? Propose!



Google Trends

Scale is based on the average worldwide traffic of if in all years. Click on graph for more.
if
whether
when