delete items from a column

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a list A1:A1000, containing ALL products, in column B is the products returned. How would i go about in row C to have it show the products left. Ive tried it with functions but cant get it right so i figured there has to be a way in VBA
Thank you in advance
 
more info needed. What is in col A., what is in col B

--
Don Guillett
SalesAid Software
(e-mail address removed)
Choice said:
I have a list A1:A1000, containing ALL products, in column B is the
products returned. How would i go about in row C to have it show the
products left. Ive tried it with functions but cant get it right so i
figured there has to be a way in VBA.
 
column a is part numbers like 797553001151, 797553005157... (each unique), column B is sold items of column A, so the numbers will be the same. So i need whatever is in both column A and B NOT to be in Column C
 
In C column I'd use this formula.

=IF(COUNTIF($B$2:$B$1000,A2)=0,A2)

And use headers for your column fields in row 1

A VB option is overkill here, but if you must have one..

[C2:C1000].Formula = "=IF(COUNTIF($B$2:$B$1000,A2)=0,A2)"


Regards Robert

Choice said:
I have a list A1:A1000, containing ALL products, in column B is the products returned. How would i go about in row C to have it
show the products left. Ive tried it with functions but cant get it right so i figured there has to be a way in VBA.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top