Link to home
Start Free TrialLog in
Avatar of Cactus1993
Cactus1993Flag for United States of America

asked on

Nested Excel OR function

I've been working on this for an hour, and can't figure out where I'm missing parenthesis. I just want a formula that determines if cell A1 (which has a date in it) equals the months January, February, March, April, May, or June) that it returns the figure in cell A2. If cell A1 doesn't equal any of those months, it returns nothing. Hope this is enough information. Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Shums Faruk
Shums Faruk
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bill Prew
Bill Prew

Or of course:

=IF(AND(MONTH(A1)>0,MONTH(A1)<7),A2,"")

Open in new window


»bp
Avatar of Cactus1993

ASKER

Thanks. Been working on the construction of that OR function and was using way too may parentheses!