Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 129
Default lookup a category for a part that contains a start and end value

Can anyone help? I have a worksheet containing part numbers and I want to
search another workbook which contains a product category. The trouble is the
product category only shows the first part number and last part number, its
not a full list. How can I use look up to return the product category?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default lookup a category for a part that contains a start and end value

You can use wildcards with VLOOKUP. Give a few details of how your
data is laid out and what you want to do so that we can advise you
more fully.

Pete

On Sep 18, 3:18*pm, winnie123
wrote:
Can anyone help? I have a worksheet containing part numbers and I want to
search another workbook which contains a product category. The trouble is the
product category only shows the first part number and last part number, its
not a full list. How can I use look up to return the product category?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 129
Default lookup a category for a part that contains a start and end value

Hi,

I have the following headers for my sales report which looks at sales of
spare parts. The column headers are from A1 to N1, I have shown a small
example, not all columns. I need to enter the fomula in column M.

I was using

=VLOOKUP(+E2,'[PARTS CATEGORY 1.xls]Sheet1'!$A$2:$C$69,1,TRUE)
Which worked for the first row but then the other rows just seemed to
select any product category.



Customer Order No Invoice No Class Part Number
1 180077 324752 40 GP2SPSXX00021
10082 170926 310216 40 SCNDORXX00067
10116 164529 300791 40 SYCOMNXX00074

I need to look up Part number in another workbook which cantains a start
range and end range for eaxample

CATEGORY START END
ARDAC T0000000001 T9999999999
ARDAC ELITE ARDACECB00001 ARDACECB99999
ARDAC ELITE B5EC01XX00001 BE5S03XX99999
ARDAC ELITE SARDELXX00001 SARDELXX99999
ARDAC5 BA5C01AA00001 BA5S01ZZ99999
CONDOR SCNDORXX00001 SCNDORXX99999
CONDOR SCPLUSXX00001 SCPLUSXX99999
CONDOR SCPREMXX00001 SCPREMXX99999

Hope I have given you enough info. Thanks

"winnie123" wrote:

Can anyone help? I have a worksheet containing part numbers and I want to
search another workbook which contains a product category. The trouble is the
product category only shows the first part number and last part number, its
not a full list. How can I use look up to return the product category?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default lookup a category for a part that contains a start and end value

I presume you want the category to appear to the right of the Part
Number. In that case try this in F2:

=INDEX('[PARTS CATEGORY 1.xls]Sheet1'!$A$2:$A$69,MATCH(E2,'[PARTS
CATEGORY 1.xls]Sheet1'!$B$2:$B$69))

For this to work the Parts Category file will need to be sorted on the
Start field - is that acceptable?

Hope this helps.

Pete

On Sep 18, 4:58*pm, winnie123
wrote:
Hi,

I have the following headers for my sales report which looks at sales of
spare parts. The column headers are from A1 to N1, I have shown a small
example, not all columns. I need to enter the fomula in column M.

I was using

=VLOOKUP(+E2,'[PARTS CATEGORY 1.xls]Sheet1'!$A$2:$C$69,1,TRUE)
*Which worked for the first row but then the other rows just seemed to
select any product category.

Customer * * * *Order No * * * *Invoice No * * *Class * Part Number
1 * * * 180077 *324752 *40 * * *GP2SPSXX00021
10082 * 170926 *310216 *40 * * *SCNDORXX00067
10116 * 164529 *300791 *40 * * *SYCOMNXX00074

I need to look up Part number in another workbook which cantains a start
range and end range *for eaxample

CATEGORY * * * * * * * * * * * * * * * * * START * * * *END
ARDAC * * * * * * * * * * * * * *T0000000001 * *T9999999999
ARDAC ELITE * * * * *ARDACECB00001 * * *ARDACECB99999
ARDAC ELITE * * * * *B5EC01XX00001 * * *BE5S03XX99999
ARDAC ELITE * * * * SARDELXX00001 * * * SARDELXX99999
ARDAC5 * * * * * * * * * * *BA5C01AA00001 * * * BA5S01ZZ99999
CONDOR * * * * * * * * * *SCNDORXX00001 SCNDORXX99999
CONDOR * * * * * * * * * SCPLUSXX00001 *SCPLUSXX99999
CONDOR * * * * * * * * * SCPREMXX00001 *SCPREMXX99999

Hope I have given you enough info. Thanks * * *



"winnie123" wrote:
Can anyone help? I have a worksheet containing part numbers and I want to
search another workbook which contains a product category. The trouble is the
product category only shows the first part number and last part number, its
not a full list. How can I use look up to return the product category?- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default lookup a category for a part that contains a start and end value

I just realised that you said your example does not show all columns -
I've assumed your Part Number is in E2, so change this to suit and put
the formula in M2.

Hope this helps.

Pete

On Sep 18, 5:12*pm, Pete_UK wrote:
I presume you want the category to appear to the right of the Part
Number. In that case try this in F2:

=INDEX('[PARTS CATEGORY 1.xls]Sheet1'!$A$2:$A$69,MATCH(E2,'[PARTS
CATEGORY 1.xls]Sheet1'!$B$2:$B$69))

For this to work the Parts Category file will need to be sorted on the
Start field - is that acceptable?

Hope this helps.

Pete

On Sep 18, 4:58*pm, winnie123
wrote:



Hi,


I have the following headers for my sales report which looks at sales of
spare parts. The column headers are from A1 to N1, I have shown a small
example, not all columns. I need to enter the fomula in column M.


I was using


=VLOOKUP(+E2,'[PARTS CATEGORY 1.xls]Sheet1'!$A$2:$C$69,1,TRUE)
*Which worked for the first row but then the other rows just seemed to
select any product category.


Customer * * * *Order No * * * *Invoice No * * *Class * Part Number
1 * * * 180077 *324752 *40 * * *GP2SPSXX00021
10082 * 170926 *310216 *40 * * *SCNDORXX00067
10116 * 164529 *300791 *40 * * *SYCOMNXX00074


I need to look up Part number in another workbook which cantains a start
range and end range *for eaxample


CATEGORY * * * * * * * * * * * * * * * * * START * * * *END
ARDAC * * * * * * * * * * * * * *T0000000001 * *T9999999999
ARDAC ELITE * * * * *ARDACECB00001 * * *ARDACECB99999
ARDAC ELITE * * * * *B5EC01XX00001 * * *BE5S03XX99999
ARDAC ELITE * * * * SARDELXX00001 * * * SARDELXX99999
ARDAC5 * * * * * * * * * * *BA5C01AA00001 * * * BA5S01ZZ99999
CONDOR * * * * * * * * * *SCNDORXX00001 SCNDORXX99999
CONDOR * * * * * * * * * SCPLUSXX00001 *SCPLUSXX99999
CONDOR * * * * * * * * * SCPREMXX00001 *SCPREMXX99999


Hope I have given you enough info. Thanks * * *


"winnie123" wrote:
Can anyone help? I have a worksheet containing part numbers and I want to
search another workbook which contains a product category. The trouble is the
product category only shows the first part number and last part number, its
not a full list. How can I use look up to return the product category



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 129
Default lookup a category for a part that contains a start and end val

Thanks Pete,

That worked a treat, I have just checked all 14,000 records and everyone is
correct.

Winnie

"Pete_UK" wrote:

I just realised that you said your example does not show all columns -
I've assumed your Part Number is in E2, so change this to suit and put
the formula in M2.

Hope this helps.

Pete

On Sep 18, 5:12 pm, Pete_UK wrote:
I presume you want the category to appear to the right of the Part
Number. In that case try this in F2:

=INDEX('[PARTS CATEGORY 1.xls]Sheet1'!$A$2:$A$69,MATCH(E2,'[PARTS
CATEGORY 1.xls]Sheet1'!$B$2:$B$69))

For this to work the Parts Category file will need to be sorted on the
Start field - is that acceptable?

Hope this helps.

Pete

On Sep 18, 4:58 pm, winnie123
wrote:



Hi,


I have the following headers for my sales report which looks at sales of
spare parts. The column headers are from A1 to N1, I have shown a small
example, not all columns. I need to enter the fomula in column M.


I was using


=VLOOKUP(+E2,'[PARTS CATEGORY 1.xls]Sheet1'!$A$2:$C$69,1,TRUE)
Which worked for the first row but then the other rows just seemed to
select any product category.


Customer Order No Invoice No Class Part Number
1 180077 324752 40 GP2SPSXX00021
10082 170926 310216 40 SCNDORXX00067
10116 164529 300791 40 SYCOMNXX00074


I need to look up Part number in another workbook which cantains a start
range and end range for eaxample


CATEGORY START END
ARDAC T0000000001 T9999999999
ARDAC ELITE ARDACECB00001 ARDACECB99999
ARDAC ELITE B5EC01XX00001 BE5S03XX99999
ARDAC ELITE SARDELXX00001 SARDELXX99999
ARDAC5 BA5C01AA00001 BA5S01ZZ99999
CONDOR SCNDORXX00001 SCNDORXX99999
CONDOR SCPLUSXX00001 SCPLUSXX99999
CONDOR SCPREMXX00001 SCPREMXX99999


Hope I have given you enough info. Thanks


"winnie123" wrote:
Can anyone help? I have a worksheet containing part numbers and I want to
search another workbook which contains a product category. The trouble is the
product category only shows the first part number and last part number, its
not a full list. How can I use look up to return the product category


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default lookup a category for a part that contains a start and end val

Glad to hear that, Winnie - thanks for feeding back.

Pete

On Sep 18, 8:15*pm, winnie123
wrote:
Thanks Pete,

That worked a treat, I have just checked all 14,000 records and everyone is
correct.

Winnie

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
Filter / Lookup: Display record on new sheet based on category... MeatLightning Excel Discussion (Misc queries) 1 April 14th 08 12:58 AM
2-part LOOKUP...t'were it possible? Arlen Excel Discussion (Misc queries) 4 October 27th 07 05:43 PM
Macro or Lookup? Not sure where to start. DoubleD New Users to Excel 1 September 1st 07 11:16 PM
Column chart - category axis - make to start with the second label Marko Pinteric Excel Discussion (Misc queries) 3 April 10th 06 09:31 AM
Column chart - category axis - make to start with the second label Marko Pinteric Charts and Charting in Excel 3 April 10th 06 09:31 AM


All times are GMT +1. The time now is 09:30 AM.

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"