ISNA and VLOOKUP from CSV LIST

mikesig7

New Member
Joined
Mar 15, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello -

I am trying to write a formula to validate entries on a spreadsheet based on a comma separated list of "keys". The goal is to create an error message that says "ERROR: The following items were not approved entries [Horse, Chicken]". If there is only one item in C5, the formula works, but I cannot figure out how to convert the csv list to something that vlookup will accept.

Any help would be greatly appreciated!

HEllo
1678913070127.png
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Welcome to the forum.

You must split cell C3 with the comma and space into an array. Like this:
MrExcel posts20.xlsx
CD
3Dog, Cat, Monkey
4
5Horse
6Chicken
7Dog
8Dog
9Cat
10Horse
11Chicken
12Monkey
Sheet9
Cell Formulas
RangeFormula
D5:D6D5=FILTER(C7:C12,ISNA(MATCH(C7:C12,TRANSPOSE(TEXTSPLIT(C3,", ")),0)))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,814
Messages
6,121,711
Members
449,049
Latest member
THMarana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top