Forum Discussion

Psugirle's avatar
Psugirle
Copper Contributor
Jul 28, 2020

Excel help - Rule and Conditional Formatting

I have a basic excel workbook with two sheets. Sheet “A” which is tracking all my “cases.” This includes names, phone numbers and addresses. On sheet “B,” titled “larger sites” I have 40 specific addresses that if there were to be entered into sheet “A,” I would like a formula to turn that column a color so it will stand out. I need help with knowing what that formula would look like. I know it’s conditioning formal and a rule with creating your formula...but what would lit looks like and how would I get column “H” (column for address) to cross reference sheet “B” if any of those addresses are inputted?

Any help would be WONDERFUL!! Thank you!!

8 Replies

  • Psugirle's avatar
    Psugirle
    Copper Contributor

    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 

    • TheAntony's avatar
      TheAntony
      Iron Contributor

      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.

      • mathetes's avatar
        mathetes
        Gold Contributor

        TheAntony 

         

        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!

    • mathetes's avatar
      mathetes
      Gold Contributor

      Psugirle 

       

      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.

      • Psugirle's avatar
        Psugirle
        Copper Contributor

        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 

    • Psugirle's avatar
      Psugirle
      Copper Contributor
      Thanks. I will attempt tomorrow and will let you know. 🙂 Does it matter if on Sheet “A” the address is in column H, but on sheet “B” all the addresses I want to compare too are in column “A?” Also, I have 40 addresses and I listed them individually on each row vertically. Will that change the formula you provided?

Resources