#1   Report Post  
Dave
 
Posts: n/a
Default match or lookup?

I have problem in getting the final table which look like the following:

col A B C D E ...
row1 120 PC Keyboard
row2 310 Monitor
row3 450 Mouse Scanner Server CDROM

Our customers normally will give us very long list which look something like
this:
120 PC
310 monitor
120 Keyboard
450 Mouse
450 Scanner
450 Server
450 CDROM

We can do it by using the filter function and copy the item one by one, but
sometimes we did left out some of it. Do anyone have any idea in doing that?
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Do you already have the unique ID's separated out into
another list?

I'll assume you do and they're on Sheet2 in col A. I'll
also assume the unsorted list is on Sheet1 starting in
cell A1.

On Sheet2 cell B1 enter this array formula using the key
combo of CTRL,SHIFT,ENTER:

=INDEX(Sheet1!$B$1:$B$7,SMALL(IF(Sheet1!$A$1:$A$7= $A1,ROW
($A$1:$A$7)),COLUMN(A:A)))

Copy this down as needed and then across until you get a
full column of #NUM! errors meaning there are no more
matching values.

To get rid of the #NUM! errors with the formula range
still selected hit F5 click the Special button then click
Formulas. Uncheck all the options EXCEPT Errors then click
OK. All the cells that have #NUM! errors are now selected.
Point to the range and right click then select Clear
Contents.

Biff

-----Original Message-----
I have problem in getting the final table which look like

the following:

col A B C D

E ...
row1 120 PC Keyboard
row2 310 Monitor
row3 450 Mouse Scanner Server CDROM

Our customers normally will give us very long list which

look something like
this:
120 PC
310 monitor
120 Keyboard
450 Mouse
450 Scanner
450 Server
450 CDROM

We can do it by using the filter function and copy the

item one by one, but
sometimes we did left out some of it. Do anyone have any

idea in doing that?
.

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 help ??? RayG Excel Discussion (Misc queries) 3 January 14th 05 02:13 AM
How do i Match all COLUMNS? Siddiqui Excel Worksheet Functions 1 November 9th 04 08:26 PM
Find a match that;s not exact Phyllis Excel Worksheet Functions 0 November 8th 04 08:12 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 04:32 AM.

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"