Louis chiron
New Member
- Joined
- Mar 10, 2024
- Messages
- 5
- Office Version
- 365
- Platform
- Windows
Hi, I'm looking for some help on this one.
I have a sheet with three ranges of random values. I need to compare the values in each range and check whether any value (other than zero) is present in all three ranges.
I don't need to know what the matching value is, or how many matches there may be, just that a match does exist.
In the example above, 32 appears in each range so I would like the formula to return a TRUE.
Zero also appears in each range but I don't want the formula to search for matching zero's so, if 32 wasn't present, it would be returning FALSE.
I managed to get it to work with the first two ranges using:
SUMPRODUCT(COUNTIF(A2:A7,B2:B7))
...but that wont work with three ranges, and it didn't ignore any matching zeros.
Is there a way to do this?
I have a sheet with three ranges of random values. I need to compare the values in each range and check whether any value (other than zero) is present in all three ranges.
I don't need to know what the matching value is, or how many matches there may be, just that a match does exist.
In the example above, 32 appears in each range so I would like the formula to return a TRUE.
Zero also appears in each range but I don't want the formula to search for matching zero's so, if 32 wasn't present, it would be returning FALSE.
I managed to get it to work with the first two ranges using:
SUMPRODUCT(COUNTIF(A2:A7,B2:B7))
...but that wont work with three ranges, and it didn't ignore any matching zeros.
Is there a way to do this?