Sign up, and CougarBoard will remember which categories you want to view. Sign up
Mar 31, 2015
7:29:28pm
Excel HELP! - Formula Question
Sheesh, I am an idiot... How do you put two conditional formulas together in the same cell? I want to put a 1 or a -1 in a cell dependent on if the qualifier says SHIFT or LUNCH.

How do I combine both of these formulas in the same cell?

=IF(AND($F2="SHIFT",(J$1>=$G2),(J$1<=$H2)),1,"")

or

=IF(AND($F2="LUNCH",(J$1>=$G2),(J$1<=$H2)),-1,"")

Thank you!!!!
tarmstrong
Bio page
tarmstrong
Joined
Oct 1, 2004
Last login
Apr 26, 2024
Total posts
8,146 (15 FO)
Messages
Author
Time

Posting on CougarBoard

In order to post, you will need to either sign up or log in.