Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default Match or identify if a product is in a list

I have a list of 6000 products in column A of sheet 1of a workbook. In the
next sheet I have a column of those 50 products company X uses, 130 products
that company Y uses, etc.
If I add the column headings for each company to sheet 1, how can I bring to
that column something (like the number "1") if that product is used by the
company in that column?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Match or identify if a product is in a list

Presume your "next sheet" is Sheet2, with company names in row1 across,
products listed in row2 down

In Sheet1,
Put in B2:
= --(COUNTIF(OFFSET(Sheet2!$A:$A,,MATCH(B$1,Sheet2!$1: $1,0)-1),$A2)0)
Copy B2 across/fill down to last row of data in col A
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"widman" wrote:
I have a list of 6000 products in column A of sheet 1of a workbook. In the
next sheet I have a column of those 50 products company X uses, 130 products
that company Y uses, etc.
If I add the column headings for each company to sheet 1, how can I bring to
that column something (like the number "1") if that product is used by the
company in that column?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 202
Default Match or identify if a product is in a list

In cell B1 of the 1st sheet put this and then drag it down for the full 6000
rows.
Substitute the relevant ranges for each company column in sheet2.

=IF(ISNA(VLOOKUP(A1,Sheet2!A1:A50,1,FALSE)),0,1)

"widman" wrote:

I have a list of 6000 products in column A of sheet 1of a workbook. In the
next sheet I have a column of those 50 products company X uses, 130 products
that company Y uses, etc.
If I add the column headings for each company to sheet 1, how can I bring to
that column something (like the number "1") if that product is used by the
company in that column?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default Match or identify if a product is in a list

Great, I had to replace your commas with seimcolons because I use a software
that requires separators in Windows to be semicolons, but it worked great.
thanks

"Dennis" wrote:

In cell B1 of the 1st sheet put this and then drag it down for the full 6000
rows.
Substitute the relevant ranges for each company column in sheet2.

=IF(ISNA(VLOOKUP(A1,Sheet2!A1:A50,1,FALSE)),0,1)

"widman" wrote:

I have a list of 6000 products in column A of sheet 1of a workbook. In the
next sheet I have a column of those 50 products company X uses, 130 products
that company Y uses, etc.
If I add the column headings for each company to sheet 1, how can I bring to
that column something (like the number "1") if that product is used by the
company in that column?

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
how to identify unique list of 200 random entries from a list of 3 tjb Excel Worksheet Functions 3 August 13th 07 02:15 PM
Identify & List unique values from a list using functions/formulas momtoaj Excel Worksheet Functions 3 May 31st 07 06:18 PM
Product list to match price list badgrandntl Excel Discussion (Misc queries) 13 February 2nd 06 02:28 AM
Getting product name from other sheet to match NTaylor Excel Discussion (Misc queries) 0 December 15th 05 05:58 PM
Match name, value & identify errors Kikkoman Excel Discussion (Misc queries) 6 November 3rd 05 09:32 AM


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