spoogehead
New Member
- Joined
- Sep 15, 2002
- Messages
- 31
Hi all
Wrestling with the count IF function but I'm stuck in trying to get to check two cells at the same time and then put a value in another cell. Is Lookup the right function to use here?
So basically:
A1 contains the text H (or h)
A2 contains the day of the week (Mon-Sat)
So I am looking for a check that:
If A1 contains H (or h) AND A2 contains Sat or Sun then the value returned is a numerical 12
If A1 contains H (or h) AND A2 contains Mon through Friday then the value returned is a numerical 8
If neither of the above conditions are met, then the cell is left blank
Thanks in advance!
Wrestling with the count IF function but I'm stuck in trying to get to check two cells at the same time and then put a value in another cell. Is Lookup the right function to use here?
So basically:
A1 contains the text H (or h)
A2 contains the day of the week (Mon-Sat)
So I am looking for a check that:
If A1 contains H (or h) AND A2 contains Sat or Sun then the value returned is a numerical 12
If A1 contains H (or h) AND A2 contains Mon through Friday then the value returned is a numerical 8
If neither of the above conditions are met, then the cell is left blank
Thanks in advance!