Add an "OR" to a nested if, vlookup and concatenate

HuskyJones

New Member
Joined
Sep 30, 2015
Messages
41
Office Version
  1. 365
Platform
  1. Windows
:confused::confused: Please help my broken brain again..... :confused::confused:

I've got this formula that works perfectly...... (I know it might be longer than you superdoops do)

=IF('CDS Data'!BY241="",IF('CDS Data'!$BW241<>"",VLOOKUP('CDS Data'!$BW241,'Look Up Tables'!$T$2:$W$40,1,FALSE),CONCATENATE($Z242,"|",$O242,"|",$P242)),CONCATENATE('CDS Data'!$BW241,"|",'CDS Data'!BY241,"|",$Z242,"|",$O242,"|",$P242))

I now want to say
IF('CDS Data'!BY241="" OR 'CDS Data'AM241="120" ......
So basically if BY241 is blank or AM 241 says 120 then if BW241 isn't blank vlookup blah-de-blah and if it is blank then concatenate these ones

(Thank you for the concatenate the other day! it works a treat!)


FANKOOOOOO
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Try

=IF(OR('CDS Data'!BY241="",'CDS Data'!AM241=120),IF('CDS Data'!$BW241<>"",VLOOKUP('CDS Data'!$BW241,'Look Up Tables'!$T$2:$W$40,1,FALSE),CONCATENATE($Z242,"|",$O242,"|",$P242)),CONCATENATE('CDS Data'!$BW241,"|",'CDS Data'!BY241,"|",$Z242,"|",$O242,"|",$P242))
 
Upvote 0
"Flippin' 'eck", why didn't that work when I tried it :ROFLMAO:
Many thanks! :)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,461
Members
449,085
Latest member
ExcelError

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