If, Then, and, or Statement

weaselmcguff

Board Regular
Joined
Feb 24, 2006
Messages
246
Not sure if this is possible but looking for suggestions.

Column M is a Purchase Order field which has either a Number or the word Lost in it
Column N is Out for Calibration field which has values of YES, No, Lost
Column L is a Notes field

I want column L and N to be populated by the results from Column M

If Column M = a Number then I want Column L to say "Out for Calibration" and Column N = Yes
If Column M = "Lost" then I want Column L to say " Lost - Cannot Locate" and Column N = Lost
If Column M = Blank then I want Column L to say "N/A" and Column N = No

Can this be done?

Thanks for your assitance
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
For a value in cell M1:

Place this formula in cell L1:
Excel Formula:
=IF(ISNUMBER(M1),"Out for Calibraton",IF(M1="Lost","Lost - Cannot Locate",IF(M1="","N/A","")))

Place this formula in cell N1:
Excel Formula:
=IF(ISNUMBER(M1),"Yes",IF(M1="Lost","Lost",IF(M1="","No","")))
 
Upvote 0
Solution
You are welcome.
Glad I was able to help!
 
Upvote 0

Forum statistics

Threads
1,215,771
Messages
6,126,797
Members
449,337
Latest member
BBV123

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