Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Index Lookup Question

I am working on an index function to pull the first two letters out of a part
number and put them into pivot table and return a result, Here is what my
part numbers look like :

PA01000P
PA01100P

Here is what my formula looks like :

=INDEX(TaxGroup,MATCH(LEFT('Inventory Master'!P2,2)&"*",TaxGroup,0))

Tax Group is my pivot table which looks like this :

A B
PA P1COMPBR
PB P1COMPBR
PC P1PRESTO

My match function is working perfectly and returns the first to letters, but
im loosing it in the index function. When I run the function help menu it
tells me

MATCH(LEFT('Inventory Master'!P11,2)&"*",TaxGroup,0) = #N/A

I have my table sorted by ascending and it is in text format ???

Any help would sure be appreciated

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Index Lookup Question

On Aug 29, 1:50 pm, Noncentz303
wrote:
I am working on an index function to pull the first two letters out of a part
number and put them into pivot table and return a result, Here is what my
part numbers look like :

PA01000P
PA01100P

Here is what my formula looks like :

=INDEX(TaxGroup,MATCH(LEFT('Inventory Master'!P2,2)&"*",TaxGroup,0))

Tax Group is my pivot table which looks like this :

A B
PA P1COMPBR
PB P1COMPBR
PC P1PRESTO

My match function is working perfectly and returns the first to letters, but
im loosing it in the index function. When I run the function help menu it
tells me

MATCH(LEFT('Inventory Master'!P11,2)&"*",TaxGroup,0) = #N/A

I have my table sorted by ascending and it is in text format ???

Any help would sure be appreciated


Why not try Vlookup
=Vllookup((LEFT('Inventory Master'!P11,2),taxgroup,2,false)

assuming taxgroup is the range name for following
A B
PA P1COMPBR
PB P1COMPBR
PC P1PRESTO


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Index Lookup Question

The problem is that the lookup_array "TaxGroup" is a 2 dimensional array.
The lookup_array *must* be a 1 dimensional array (a single row or single
column).

Also, you haven't defined the column number in the INDEX function.

Try this:

=INDEX(TaxGroup,MATCH(LEFT('Inventory
Master'!P2,2)&"*",INDEX(TaxGroup,,1),0),2)


--
Biff
Microsoft Excel MVP


"Noncentz303" wrote in message
...
I am working on an index function to pull the first two letters out of a
part
number and put them into pivot table and return a result, Here is what my
part numbers look like :

PA01000P
PA01100P

Here is what my formula looks like :

=INDEX(TaxGroup,MATCH(LEFT('Inventory Master'!P2,2)&"*",TaxGroup,0))

Tax Group is my pivot table which looks like this :

A B
PA P1COMPBR
PB P1COMPBR
PC P1PRESTO

My match function is working perfectly and returns the first to letters,
but
im loosing it in the index function. When I run the function help menu it
tells me

MATCH(LEFT('Inventory Master'!P11,2)&"*",TaxGroup,0) = #N/A

I have my table sorted by ascending and it is in text format ???

Any help would sure be appreciated



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Index Lookup Question

2 answers within 5 minutes with 2 DANG good results .... Thanks all

"T. Valko" wrote:

The problem is that the lookup_array "TaxGroup" is a 2 dimensional array.
The lookup_array *must* be a 1 dimensional array (a single row or single
column).

Also, you haven't defined the column number in the INDEX function.

Try this:

=INDEX(TaxGroup,MATCH(LEFT('Inventory
Master'!P2,2)&"*",INDEX(TaxGroup,,1),0),2)


--
Biff
Microsoft Excel MVP


"Noncentz303" wrote in message
...
I am working on an index function to pull the first two letters out of a
part
number and put them into pivot table and return a result, Here is what my
part numbers look like :

PA01000P
PA01100P

Here is what my formula looks like :

=INDEX(TaxGroup,MATCH(LEFT('Inventory Master'!P2,2)&"*",TaxGroup,0))

Tax Group is my pivot table which looks like this :

A B
PA P1COMPBR
PB P1COMPBR
PC P1PRESTO

My match function is working perfectly and returns the first to letters,
but
im loosing it in the index function. When I run the function help menu it
tells me

MATCH(LEFT('Inventory Master'!P11,2)&"*",TaxGroup,0) = #N/A

I have my table sorted by ascending and it is in text format ???

Any help would sure be appreciated




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
LOOKUP, MATCH, INDEX? bob Excel Worksheet Functions 13 June 6th 07 04:26 AM
Match Index Lookup Kevin Excel Discussion (Misc queries) 1 March 17th 06 04:40 PM
MATCH, INDEX, LOOKUP - Help! RobPot Excel Worksheet Functions 4 October 18th 05 04:33 PM
Help with SUMIF, INDEX, LOOKUP Please !! Robert Excel Worksheet Functions 13 March 13th 05 12:17 AM
Lookup/Index formula question. Barbara Excel Worksheet Functions 2 December 7th 04 04:45 PM


All times are GMT +1. The time now is 06:59 PM.

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

About Us

"It's about Microsoft Excel"