LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Look up part of a number within a serial number and cpy back a

Thanks Pete! So far you are 2 for 2 with the best solutions.

Before I got your answer I re-use the solution you gave me for another one.
I copy the serial num column into A and used "replace" in that column to
remove the "ABBC.", the "_RM" and the "_FT" which left me just the middle
numbers. I then used your VLOOK solution from my last problems and it worke
great!!

Thank you so much for your help!!!

"Pete_UK" wrote:

Actually, another thing it might be is if you use a semicolon rather
than comma to separate parameters in functions. This will depend on
your regional settings. If so, just use ; instead of ,

Pete

On Nov 1, 2:28 am, Pete_UK wrote:
I didn't know how many entries you had in the inventory sheet, so I
used full column references. The MATCH part of the formula is using
wildcards either side of E1 to find an exact match in column H of the
inventory sheet. If it finds one then it returns the row number where
the match occurs. This is then used in the INDEX part of the formula
to return the contents from column A on the same row as where the
match occurred.

The formula worked fine in my test set up (just on one sheet, though),
so perhaps you didn't copy all of it - did you get both brackets from
the end?

Pete

On Oct 31, 9:26 pm, Seantastic
wrote:



Pete can explain what each part of your formula does? I'm a novice to this
and when a copied and pasted it into the L1 cell it says " The formula you
type contains an error" and it highlights A,MATCH.


I am using excel 2003 - does that change anything?


"Pete_UK" wrote:
Put this in L1 of your parts sheet:


=INDEX(inventory!A:A,MATCH("*"&E1&"*",inventory!H: H,0))


and copy down as required.


Hope this helps.


Pete


On Oct 31, 4:58 pm, Seantastic
wrote:
I have a spreadsheet with 2 tabs.


First tab is named €śinventory€ť
In column €śH€ť the are serial numbers in the following formats
ABBC.1234567
ABBC.1234567_RM
ABBC.1234567_FT
The only part of the serial number that interests me is the middle numbers
(i.e. 1234567)


In column €śA€ť I have a list of €śpart code€ť


In my second tab called €śparts€ť
In column E there is a list of the middle numbers found in the first tab
(i.e. 1234567)


In my I would like to look up the number in Column €śE€ť from sheet €śparts€ť
(my second tab) that is found somewhere in column €śH€ť in the middle of the
serial number in sheet €śinventory€ť, get the associated €śpart code€ť from
column €śA€ť and copy it back into sheet €śparts€ť (my second tab) in column €śL€ť


Sheet €śinventory€ť
A H
123 ABBC.1234467
456 ABBC.1234547_RM
897 ABBC.1234564_FT


Sheet €śparts€ť
E L
1234547 456
1234564 897
1234467 123- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -



 
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
automatic Serial number dee Excel Discussion (Misc queries) 0 April 8th 08 11:43 AM
increase serial number Montu Excel Worksheet Functions 4 January 5th 08 05:52 AM
Serial number generate Tony Excel Worksheet Functions 4 October 20th 07 04:59 AM
form serial number solarflareltd Excel Discussion (Misc queries) 2 March 24th 07 12:33 PM
generate serial number john douglass Excel Worksheet Functions 0 November 5th 04 10:49 PM


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