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

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
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,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

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