IF ..

ppleasebob

Board Regular
Joined
Dec 23, 2002
Messages
145
Started to look through the archive for an answer but there's just too many in there..

=IF('Enter Details here'!$A2="y",IF('Enter Details here'!$AC2>0,IF('Enter Details here'!$E2="PL",'Enter Details here'!B2," ")," ")," ")

It works with this, but I want it to return the value of B2 if E2 equals "PL" or "XSPL"

Would and 'OR' function work, if so, where would it go?

Thanks for looking..
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Try this:

Code:
=IF(AND('Enter Details here'!$A2="y",'Enter Details here'!$AC2>0,OR('Enter Details here'!$E2="PL",'Enter Details here'!$E2="XSPL")),'Enter Details here'!$B2,"")
 
Upvote 0
if .. part II

Kristy kindly got me going on this but need a bit more help now,

Users will populate various cells on a sheet say, a2, b2, c2, I want to use the value of the whichever single cell that has a value in it on a summary sheet.

Appreciate your assistance..

Regards

bob
 
Upvote 0
Kristy,

It is part of the same formula, I have used the formula in to return values in cells other than b2 (in the example above) and now I want to show the cell that has "PL" or "XSPL"
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,812
Members
449,048
Latest member
greyangel23

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