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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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,215,559
Messages
6,125,517
Members
449,236
Latest member
Afua

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