comparing two ranges of cells if they're blank

mirella

New Member
Joined
Aug 9, 2011
Messages
6
Thanks to kpark91, I am using the below formula to tell me if two cells are both not blank (two cells both have data), there is a "conflict"

=IF(OR(V3 = "", X3 = ""), "ok", "CONFLICT")

I need to make it a bit more complicated now and ask it to tell me if there is any data in two ranges of cells, there is a conflict. In other words, if there is data in either cell T3, U3 or V3 AND there is data in either cell X3, Y3 or Z3, tell me it's a conflict. I tried the below formula but that didnt work. I tried parenthesis around the range and that didn't work.
=IF(OR(T3:V3 = "", X3:Z3 = ""), "ok", "CONFLICT")

Any ideas? Thanks!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Insert with CTRL+ SHIFT + ENTER... not just ENTER.

That made brackets appear around the formula and it did switch the output from "#VALUE" to "ok". However, it only gives me a "conflict" if every cell in AQ3 to AS3 has data. I need it to give me a "conflict" if any cell in that range has data.
{=IF(OR(AO3 = "", AQ3:AS3 = ""), "ok", "CONFLICT")}

Thoughts?
 
Upvote 0
=IF(ISERROR(IF(OR(AO3 = "", AQ3:AS3 = ""), "ok", "CONFLICT"))=TRUE,"",IF(OR(AO3 = "", AQ3:AS3 = ""), "ok", "CONFLICT"))
 
Upvote 0
=IF(ISERROR(IF(OR(AO3 = "", AQ3:AS3 = ""), "ok", "CONFLICT"))=TRUE,"",IF(OR(AO3 = "", AQ3:AS3 = ""), "ok", "CONFLICT"))

Nope, that didn't do anything :( It's odd, it doesn't give an ok, conflict or error message. The cell just stays blank, even after hitting control, shift, enter.

This is a tough problem!
 
Upvote 0
My excel is in italian language and on my pc formula works well.
Check yuor formula error on your excel
 
Upvote 0

Forum statistics

Threads
1,224,552
Messages
6,179,484
Members
452,917
Latest member
MrsMSalt

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