Excel 2010 - IF OR Statement

Johnny Thunder

Well-known Member
Joined
Apr 9, 2010
Messages
693
Office Version
  1. 2016
Platform
  1. MacOS
Hello all,


Need help writing and IF OR statement.

In cell X3 I have an AUTOSUM that counts from 1-4 and I need cell Y3 to relay a comment based on what cell X3 returns,

If 1="Received"
If 2="In Progress"
If 3="Testing"
If 4="Completed"
If blank="Awaiting"

Any help is appreciated. Thanks
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hello all,


Need help writing and IF OR statement.

In cell X3 I have an AUTOSUM that counts from 1-4 and I need cell Y3 to relay a comment based on what cell X3 returns,

If 1="Received"
If 2="In Progress"
If 3="Testing"
If 4="Completed"
If blank="Awaiting"

Any help is appreciated. Thanks

Enter the below formula in Y3

=IF(X3=1,"Received",IF(X3=2,"In Progress",IF(X3=3,"Testing",IF(X3=4,"Completed","Awaiting"))))
 
Upvote 0
Well, figured since I typed it I'd post it though Brian was a bit faster


=IF(X3="","Awaiting",LOOKUP(X3,{1,2,3,4},{"Received","In Progress","Testing","Completed"}))
 
Upvote 0
Hi

Try :-
Code:
=IFERROR(CHOOSE($X3,"Received","In Progress","Testing","Completed"),"Awaiting")

hth
 
Upvote 0

Forum statistics

Threads
1,213,507
Messages
6,114,029
Members
448,543
Latest member
MartinLarkin

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