excel

Yes, ✅ you can do this directly in Excel using a formula — no code or external tool required.

Here’s how you can achieve the same logic using a formula in Column N of the "Icon Tracker" sheet:


🧠 What You Want:

For each row:

  • Check if value in Column M exists in Column G of the "ICON management" sheet.
  • If not found and the value is not "NA", show:
    "Icon not present in management Sheet".
  • If value is "NA" → leave blank.

✅ Excel Formula for Column N (e.g., N2):

=IF(OR(M2="NA", ISNUMBER(MATCH(M2, 'ICON management'!G:G, 0))), "", "Icon not present in management Sheet")

πŸ’‘ Explanation:

Part Meaning
M2="NA" Checks if current row's value in Column M is "NA" (case-sensitive, use LOWER() for case-insensitive).
MATCH(M2, 'ICON management'!G:G, 0) Looks for M2's value in Column G of "ICON management". Returns row number if found.
ISNUMBER(...) If MATCH returns a number → the value was found.
OR(...) If either condition is true → leave cell empty.
"Icon not present in management Sheet" Shown if value not found and not "NA".

πŸ“ Steps:

  1. Open the "Icon Tracker" sheet.
  2. Go to cell N2.
  3. Paste the formula:
=IF(OR(M2="NA", ISNUMBER(MATCH(M2, 'ICON management'!G:G, 0))), "", "Icon not present in management Sheet")
  1. Drag it down to fill all rows in Column N.

πŸ“ Optional: Make it Case-Insensitive for "NA"

Use:

=IF(OR(LOWER(M2)="na", ISNUMBER(MATCH(M2, 'ICON management'!G:G, 0))), "", "Icon not present in management Sheet")

Let me know if you want to:

  • Highlight unmatched rows with conditional formatting.
  • Filter or count unmatched rows.

Excel is powerful — you can absolutely do this without coding!

Comments

Popular posts from this blog

My work

color change