Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JB JB is offline
external usenet poster
 
Posts: 115
Default include in new column only if present in both columns

i have two list of names of 500 to 1000 in size that are in two different
columns. I would like to generate a new column with names that are only
present in both list of names. help. thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 173
Default include in new column only if present in both columns

This probably isn't exactly what you want but your certainly welcome to try it.

If your first list is in column A and your second is in B1:B1000, in C1 you
could put:

=IF(ISERROR(VLOOKUP(A1,$B$1:$B$1000,1,0)),"",A1)

Then copy the formula down thru the last row of A column data.

You will end up with blanks in column C where a value from column A is not
in column B. Also if a given value can exist more than once in column A you
could have duplicates in column C. If there are no duplicates, at worst
you'd just need to copy column C over to a blank sheet and sort it to get rid
of the blanks

Will

"jb" wrote:

i have two list of names of 500 to 1000 in size that are in two different
columns. I would like to generate a new column with names that are only
present in both list of names. help. thanks


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
Need to parse column data only when text is present Phil Excel Worksheet Functions 0 July 10th 07 08:22 PM
how to define how may rows or columns are present in excel 03 lostwrite Excel Discussion (Misc queries) 1 February 15th 07 07:59 AM
Sum columns only if certain value is present Alex Excel Discussion (Misc queries) 6 January 20th 07 01:55 PM
How do I make sure all empty columns are present in a .csv file? Decision Assist Excel Worksheet Functions 1 September 6th 06 04:40 PM
SUM/COUNT column(s) based on specific value present within the column markx Excel Worksheet Functions 6 March 22nd 05 10:23 AM


All times are GMT +1. The time now is 02:19 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"