Avatar of robmarr700
robmarr700
 asked on

Vlookup (reverse?)

Sheet (result) displays a number of sales orders (1 row per order).

Column F displays the list of stock codes that have sold. There will be a number of duplicates throughout the column because there are multiple orders for multiple products.

I want to add some additional stock codes to the end of this column.

Sheet (file margin) displays all of my available stock codes. A number of these codes will appear in (col F) on the (result ) sheet.

Q.

I would like all of the codes from col A (file margin) that don't appear in (col F result ) to be added to the bottom of col F (result) from cell F:22014 downwards
most-up-to-date.xlsm
Microsoft Excel

Avatar of undefined
Last Comment
Glenn Ray

8/22/2022 - Mon
Rob Henson

In a spare column insert the following formula:

=MATCH(A1,F:F,0)

copy down existing list.

Those that are in column F will return a number, those that aren't will return #NA. Filter on this column for the #NAs and then copy and paste from Col A to Col F.

Thanks
Rob H
robmarr700

ASKER
Sorry, I tried this but it didn't seem to work.

Could anyone be as kind to make the changes on the attached sheet?
ASKER CERTIFIED SOLUTION
Glenn Ray

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck