Dear all,
Please see attachment.
Actually I want to compare two columns depend on their criteria and print “OK” or “Check”
It would be very much appreciated if you could help me.
Thanks.
Vinay
Hi,
How about
Rgds=IF(OR(AND(B2>=30,C2>=75),AND(B2>=11,B2<=29,C2>=35),AND(B2>=5,B2<=10,C2>=8),AND(B2>=0,B2<=4,C2<=7)),"OK","Check")
Richard Buttrey
If this was useful then please rate it appropriately.
Click the small star iconat the bottom left of my post.
i think this will do
=IF(AND(B2<5,C2<8),"ok",IF(AND(B2<11,C2>7),"ok",IF(AND(B2<30,C2>34),"ok",IF(AND(B2>29,C2>74),"ok","c heck"))))
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Thanks Martin & Richard,
Both are great.
It's working fine.
Thanks again.
Vinay
I need to check cell C10 to see if the number 06-10 is present (will appear as 06, 07 etc), and if so, check that another cell D15>=2, and if so enter Pass in cell D16, otherwise Fail. However, if the number in C10 is 11-15, I need it to check that D15>=1, and if so enter Pass in cell D16, otherwise Fail.
Is that a formula that can look at the number in C10, and based on this number, compare the correct acceptance criteria to return Pass/Fail?
Thanks
SP
Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks