Link to home
Create AccountLog in
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
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

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
Avatar of robmarr700
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
Avatar of Glenn Ray
Glenn Ray
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account