excel if statements with multiple conditions

kelvin_9

Active Member
Joined
Mar 6, 2015
Messages
444
Office Version
  1. 2019
greeting to all
can someone point me out how can i use a if statments with 3(or more) conditions listed below?
i need a formula in cell c1 that says:

if a1=0, leave it blank, ""
if a1>0, "reutrn"
if a1<0, "pick"

thanks in advance
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Maybe:
Excel Formula:
=IF(A1=0,"",IF(A1>0,"return",IF(A1<0,"pick")))
 
Upvote 0
Or maybe even:
Excel Formula:
=IF(A1>0,"return",IF(A1<0,"pick",""))
 
Upvote 0
For that particular example, no need to use IF at all

23 06 27.xlsm
AB
13return
20 
3-2pick
Sheet3
Cell Formulas
RangeFormula
B1:B3B1=CHOOSE(SIGN(A1)+2,"pick","","return")
 
  • Like
Reactions: Biz
Upvote 0
greeting to all
can someone point me out how can i use a if statments with 3(or more) conditions listed below?
i need a formula in cell c1 that says:

if a1=0, leave it blank, ""
if a1>0, "reutrn"
if a1<0, "pick"

thanks in advance
hi sir, You can use nested if inthis case if your return query is only these three results,

formulla
if(A1=0,"",if(a1>0,"Return",if(a1<0,"Pick")))
in case if value in A1=0, c1 will be blank
and in case if value in A1>0, Value in C1 is return, and incase if A1<0 value in C1 will be pick
 
Upvote 0
another if statmen would like to amend, if this 2 can work with a "✓" if value is below or equal to 5

=IF(SIGN(E3)=SIGN(J3),E3-J3,E3+J3)
 
Upvote 0
hi sir, You can use nested if inthis case if your return query is only these three results,

formulla
if(A1=0,"",if(a1>0,"Return",if(a1<0,"Pick")))
in case if value in A1=0, c1 will be blank
and in case if value in A1>0, Value in C1 is return, and incase if A1<0 value in C1 will be pick
thank you so much for your guidance
:)
 
Upvote 0

Forum statistics

Threads
1,215,425
Messages
6,124,824
Members
449,190
Latest member
rscraig11

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