Validation across multiple cells

tagan

New Member
Joined
May 2, 2012
Messages
9
I been successful with the following =IF(OR(D43=0,D43="Y"),"OK","Error") in D 57 for cell D43 but want to extend it to validate D43:D45 with "OK" or "Error" displaying only in D57 for the three cells validated and I cannot figure out how .. I am so frustrated I am actually asking for help :)
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
So explain exactly when you want it to display "Ok" and when you want it to display "Error" ... what if D43 is "Y", D44 is 0, and D45 is some other value?
 
Upvote 0
If any of the three cells do not have "Y" or "0" then I want to display "error" in D57
 
Upvote 0
Thanks! And try
=IF(AND(OR(D43=0,D43="y"),(OR(D44=0,D44="y")),(OR(D45=0,D45="y"))),"OK","Error")

Note: Keep in mind that a cell with nothing entered in it evaluates to a zero.
 
Upvote 0
Works awesome - I tried a zillion ways last night but this was beyond my VERY rusty excel skills
 
Upvote 0
No problem :) Glad I could help (y) Appreciate the feedback!
 
Upvote 0
The beer smile is too funny ... one other question ... is there any way for "error" to display in color red, "OK" in green?
 
Upvote 0

Forum statistics

Threads
1,215,332
Messages
6,124,314
Members
449,153
Latest member
JazzSingerNL

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