Need a little help please.

  • Thread starter Thread starter hotdog6660
  • Start date Start date
H

hotdog6660

Hello.
I am putting together a spreadsheet but have struggled to get past thi
final stage
Basically I have a spreadsheet which will show across a row.
A B
C
user name Ref (which will be O, S, or U) a number of day
between 2 dates.

I need a formula which will "look" at whether cell in B is U, S, or O.
It also has to "look" at whether the days in cell C is above 22 for (
or U) or above 11 for S

If the criteria is above these amounts the cell will display a messag
"Call HR"
If it is below these levels it will display "no action"

Any help is very much obliged
hotdo
 
Try this function:
=IF(AND(B2="S",C2>11),"Call HR",IF(OR(B2="U",B2="O")*(C2>22),"Call HR","No
Action"))
 
You will need a combination of AND & OR. try this
=IF(OR(AND(B2="s",C2>11),AND(C2>22,OR(B2="o",B2="u"))),"c","N")
 
Muhammed and Don.
Many thanks for these. Both seem to work. I have put some test data
through. What a great welcome to the forum.
Thanks again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top