IF function

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
=IF(NOT(FIND(answer,HELP)),"try mrexcel.com","try HELP first")

:)
This message was edited by attc on 2002-11-06 09:36
 
Upvote 0
=if(Condition,Result for meeting the condition, Result for not meeting the condition)

For example =if(4>3,"Larger","Not Larger")will display the result Larger in the cell
 
Upvote 0
and one last thing...

combining IFs with IFs, ANDs and ORs

You can embed 7 IFs

=if(a=a,1,if(b=b,2,etc...

You can combine AND statements - therefore having 2 tests as opposed to the normal one

=if(And(a1=1,b1=2),"if both are true","if one or both are false)

and similarly with OR

=if(or(a1=1,b1=2),"if one is true","if both are false)
 
Upvote 0

Forum statistics

Threads
1,215,045
Messages
6,122,840
Members
449,096
Latest member
Erald

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top