Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default delete items from a column

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
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default delete items from a column

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
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default delete items from a column

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" wrote in message ...
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



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.659 / Virus Database: 423 - Release Date: 16/04/2004


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy column header to next column, delete & delete every nth colum genehunter New Users to Excel 1 June 2nd 09 03:57 PM
Cannot Delete Items in a Cell Ayrshireman Excel Discussion (Misc queries) 2 April 7th 09 06:18 PM
line up items in column a with items in columns b, c, etc meera123 Excel Discussion (Misc queries) 0 September 2nd 08 02:20 PM
delete items exceluser Excel Discussion (Misc queries) 1 March 14th 08 10:26 PM
SUMPRODUCT to count items with duplicates where another column contains two defined items PCLIVE Excel Worksheet Functions 4 September 8th 07 10:33 AM


All times are GMT +1. The time now is 11:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"