I have a worksheet with test results in Col F and Col K. Col F will show either >10 or a value between 0 and 10; Col K will show either >5 or a value between 0 and 5. In Col D I want to test if Col F shows >10 and if Col K shows >5. If both these conditions are true then P is to be entered in in Col D; if either condition is false then F is to be entered in Col D. Hopefully that's clear but in case not, here's a sample of how my worksheet would look:
[ATTACH=CONFIG]72759[/ATTACH]
Can somebody please help me with a loop that will achieve this as I'm unable to figure out how to test two simultaneous conditions. My data starts in row 5. Thanks in advance.
Loop to Check Results
- OldFella
- Thread is marked as Resolved.
-
-
Re: Loop to Check Results
Try this in cell D5 and copy down
=IF(AND(F5=">10",K5=">5"),"P","F")
-
Re: Loop to Check Results
If you really need a macro loop then try this
-
Re: Loop to Check Results
Wonderful! That's the second solution you've provided me with in 2 days; very much appreciated.
I'm in the process of prepping a post for a new problem so if you're an Index/Match guru as well, watch for the new post!
Thanks again for your resolution to the current problem.
-
Re: Loop to Check Results
You're welcome.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!