Multiple IF /OR Conditions

Denny57

Board Regular
Joined
Nov 23, 2015
Messages
185
Office Version
  1. 365
Platform
  1. Windows
I am looking for a solution to the following scenario.

IF Cell A1 = "W" & Cell C5 = "X" & Cell F13 = "Y" is TRUE then return the value of Cell H26 but
IF Cell A1 = "W" & Cell C5 = "Y" & Cell F13 = "X" is TRUE then return the value of Cell Cell G56 but
If FALSE = 0

I have tried several combinations of IF, AND & / or OR and cannot find a solution. I either get messages that I have included too many arguments of the formula is incorrect.

I am sure the solution is simple.

Thanks in advance
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
How about
Excel Formula:
=IF(AND(A1="W",C5="X",F13="Y"),H26,IF(AND(A1="W",C5="Y",F13="X"),G56,0))
 
Upvote 0
Solution
A little different but it seems to work.
Excel Formula:
=LET(Item,A1&C5&F13,IFERROR(CHOOSE(MATCH(Item,{"WXY","WYX"},0),H26,G56),""))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,249
Members
449,075
Latest member
staticfluids

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