Extract data from a list using criteria

HughT

Board Regular
Joined
Jan 6, 2012
Messages
113
Office Version
  1. 365
Platform
  1. Windows
Has me stumped.

Column A: Fault codes (3 digit, multiple instances in random order)
Column B: Unique serial number of part that has the fault in Column A.

Data is continuously being added to the table.

I want to use a formula to extract the serial numbers in column B into columns unique to the criteria in column A, but without gaps so that the serial numbers are in a continuous block. So for example:

A B
Fault code Serial no
123 1245
456 3071
789 7813
123 4387
789 1384
789 1179
etc

Solution
Fault code 123
1245
4387

Fault Code 789
7813
1384
1179
etc

If possible without using VBA as I have to hand this over to someone who doesn't do code.

Many thanks

HT
 
Thanks, I think I have discovered the problem.

Trying to make things simpler for users (or being too clever by half!) I had used a formula to make Tab Name = Cell Name (which would be the fault number), and then using that as the look up reference for this formula. The idea being that all a user had to do was copy an existing worksheet, put the fault number on the worksheet tab and the system would do the rest.

Computer said no.

Many thanks for your patience!

HT
 
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Glad you sorted it & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top