Yes or no answer depending on criteria

Garetht2014

New Member
Joined
Oct 21, 2014
Messages
23
Office Version
  1. 365
Platform
  1. Windows
I am trying to write a formula that is based on 2 criteria, depending it is meets that critieria it will wither give me a Yes or No answer, but not really getting anywhere with it.

What I am trying to do it get the 'Work Saturday or not' Column to populate with a 'Yes' or 'No' based on 2 things (ELF & PROD). If Engineer 1 has a Total ELF score of 3% or less and a Total Comp % of 75% or more, then it will populate the 'Work Saturday or not column' with a Yes.

If an engineer does not meet a Total ELF score of 3% or lower or a prod Total Comp % of 78% or higher then the 'Work Saturday or not' will be a No.

Hope all that makes sense!

I have 3 Worksheets:

(Saturday worksheet)
1705660502635.png

ELF Data (ELF worksheet)
1705660618694.png

PROD Data (Prod worksheet)
1705660642286.png
 
Do your data exist in official Excel tables, or are the data in ranges only?
 
Upvote 0

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Try this:
Book2
AD
1NameWork Saturday or not
2Engineer 1No
3Engineer 2Yes
4Engineer 3No
5Engineer 4No
Sat
Cell Formulas
RangeFormula
D2:D5D2=IF(AND(XLOOKUP(A2,ELF!$A$2:$A$5,ELF!$H$2:$H$5,"",0)<=0.03,XLOOKUP(A2,Prod!$A$2:$A$5,Prod!$O$2:$O$5,"",0)>0.75),"Yes","No")
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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