I'm parsing through a spreadsheet and I need to check if there's an instance when one cell has something in it but the other is blank. There are instances when both cells have something in them, and instances when both cells are blank. That's OK.
All I can come up with is something pretty ugly but it seems to work (I don't
If IsEmpty(Cell 1) And Not IsEmpty(Cell 2) OR IsEmpty(Cell 2) And Not IsEmpty(Cell 1)
What's order of operations for AND and OR statements? This works but I would have though I needed brackets around the two AND comparisons, right?
I mean, there has to be an easier or more logical way, right? This works, but is there some kind of "mismatch" function?
Thanks!!
Matt
All I can come up with is something pretty ugly but it seems to work (I don't
If IsEmpty(Cell 1) And Not IsEmpty(Cell 2) OR IsEmpty(Cell 2) And Not IsEmpty(Cell 1)
What's order of operations for AND and OR statements? This works but I would have though I needed brackets around the two AND comparisons, right?
I mean, there has to be an easier or more logical way, right? This works, but is there some kind of "mismatch" function?
Thanks!!
Matt