IF statement with Multiple condition

Sushiboy

New Member
Joined
Jan 18, 2019
Messages
24
I have 2 columns with data in …column M and column N

Within column N, there are a number of cells with prices andsome cells containing the text “Check Website).
Within column M, there are a number of cells some withPrices and some are blank cells.
What I am trying to incorporate is an IF statement whichlooks at Column M and Column N. The ifstatement for column N is as follows
=IF(N2="Check Website", "",N2)
The statement returns a value if the cell doesn’t includethe text “Check Website”.
How do I incorporate this if statement to look for availabledata in column M if the cell doesn’t equal to blank?

 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Try this

=IF(M2="",IF(N2="Check Website", "",N2),M2)
 
Upvote 0
Thank you Dante. that worked.

I have another question

Column (H) has various prices and column (M) has some blankcells and some prices.
How would I write the IF function to
Select Column M Prices providing they are available? If column M prices are notavailable, I want to select column H prices
thankyou
 
Upvote 0
Or you can use AND() NOT() ISBLANK() in the condition
Something like =IF(AND(NOT(ISBLANK(M2)), N2="Check Website"),N2,M2)

EDIT for H and M:
=IF(ISBLANK(M2),H2,M2)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,098
Messages
6,128,812
Members
449,468
Latest member
AGreen17

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