Jul 27 2020 07:03 PM
Jul 27 2020 07:42 PM
@Psugirle , something like the attached? Used the below formula in the conditional formatting rule.
=COUNTIFS('All Cases'!$H$2:$H$31,H2)
Jul 27 2020 07:49 PM
Jul 28 2020 04:44 AM
I don't think that worked, or I just might not be doing it correctly. Here is my actual spreadsheet. I am looking for the rule that if any of the addresses listed on "larger sites" sheet is inputted on "sheet1" in column "G" that the row would change a different color so it would alert me.@Psugirle
Jul 28 2020 05:10 AM
This isn't exactly what you requested. I just used the MATCH function plus conditional formatting to highlight the (new) cell adjacent to the street address when it matches one of the larger site street addresses.
So it still highlights, but without intruding into the entire row.
Jul 28 2020 05:34 AM
Thank you. Sorry, I was trying my best to explain. So, I have to add another column? There is no way to make the "WF Street Address" just highlight the color to indicate large site? @mathetes
Jul 28 2020 06:20 AM
Your explanation was perfectly clear. No need to apologize.
There no doubt is a way to do what you asked. Conditional formatting is tricky enough, in my experience, that if I can get anything to work when referring to comparisons between cells (or ranges), I'm happy. I was not able to figure out (and continue to be unable to figure out) how to get the MATCH into the conditional formatting rule itself for the exact column containing the address. Whereas doing it in an adjacent column that contains the MATCH function, it was straightforward.
I'll be delighted to have somebody else show us both how to accomplish exactly what you're asking.
Jul 28 2020 08:19 PM
@Psugirle , Let me know if this works for you. I used the new XLOOKUP function. If you don't have XLOOKUP, it can work with other lookup functions.
Basically CF needs a TRUE or a FALSE so I always play around with the formulas on the worksheet and then paste into the CF dialog when everything works. I left the calculations on the second sheet for you to review and change as you see fit.
Jul 29 2020 04:44 AM
Well done!
And I like this: Basically CF needs a TRUE or a FALSE so I always play around with the formulas on the worksheet and then paste into the CF dialog when everything works.
It's next to impossible to do that playing around (especially for a situation like this one) IN the CF dialog box itself. So, again, well done!