Yes or no answer depending on criteria

Garetht2014

New Member
Joined
Oct 21, 2014
Messages
22
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
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
What if Total ELF score is higher than 3% or Total Comp is somewhere in between 75% and 78%?
 
Upvote 0
Hi Flashbond,

If the ELF score is above 3% then I need that to be a No and the same for the Total Comp, if they are below 78% it would be a no
 
Upvote 0
Thanks PMC, but unfortunately that didn't work, it just gave a No for everyone.

One thing I missed off before, is the formula needs to do a look up on the name from the Saturday Worksheet so it looks at the correct scores on the other sheets!
 
Upvote 0
For the following setup, your D1 formula will be:
Excel Formula:
=IF(AND(VLOOKUP(A1,$A$7:$H$10,8,0)>3%,VLOOKUP(A1,$A$13:$O$16,15,0)<78%),"No","Yes")

1705668811981.png
 
Upvote 0
Your formula above will only work if all the data is on the same worksheet
 
Upvote 0
I did try to that but I have no clue how to write it in there to make it look at the other sheets ?
 
Upvote 0

Forum statistics

Threads
1,215,121
Messages
6,123,177
Members
449,093
Latest member
bes000

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