Ifs Statement

jamesmev

Board Regular
Joined
Apr 9, 2015
Messages
233
Office Version
  1. 365
Platform
  1. Windows
I am trying to get an if statement to work in where
1. if cell = text refer to another cell
2. if cell = text refer to another cell
3. If cell does not have either text then index match...

The first two are working fine.
The third is giving me a value error.

If anyone can help!

=IFS(I241="b / No Call DaySouthwest",M314,I241="New / Change Delivery DaySouthwest",M314,INDEX('Forms Data'!BJ50:BJ86,MATCH(' Forms'!I241,'Forms Data'!BG50:BG86,FALSE)),1)

Much appreciated!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
How about
=IF(OR(I241={"b / No Call DaySouthwest","New / Change Delivery DaySouthwest"}),M314,INDEX('Forms Data'!BJ50:BJ86,MATCH(I241,'Forms Data'!BG50:BG86,0)))
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0
Then the cell doesn't match either of your text values.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,155
Members
453,021
Latest member
Justyna P

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