Organising data, functions INDEX MATCH

jdmc45

Board Regular
Joined
May 8, 2011
Messages
146
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have data in the following form:
Column A – ID (have duplicate values)
Column B – Code (have duplicate values)
Column C – No. losses
Column D – No. gains
Column E – No. N/A’s
Column F – Total of column C, D, E
For Column A there are many duplicate values of the ID, for example
1234
1234
4567
7932
For Column B, there are also duplicate values. The codes are a subset of the ID, so for each ID I want the unique codes and then the values of column C to F for each.
I would like the data in the form of
A B
1234 EUT
BDT
4567 EUT
BDT
BGH
And then the values for columns C to F afterwards. Hope that explains it well enough!
Any help is appreciated cheers. Should I use some sort of INDEX, MATCH to get the unique values for each?
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Sorry, maybe this will be easier to read

Code:
A                   B
1234              BDT
                    AUT
4567              BDT
                    AUT
                    EUT
 
Upvote 0
It will look very similar to a pivot table with the unique portfolio ID listed once then the codes under it, like it would if you placed the ID and codes in the row labels part of a pivot table. Hope that helps!
 
Upvote 0
I"m not exactly sure what you are asking. Are you asking to fill in the blank cells with the data above it? If so, try this:

Highlight all your data
Hit F5 and Choose Special
Choose Blanks and hit OK (this will highlight all blank cells)
In the first cell that's highlighted, enter the cell reference you would like - then hit Control and Enter at the same time.
 
Upvote 0
I just want to combine duplicate ID's and duplicate codes together, so it will read

Code:
unqiue ID #1 
         code #1
         code #2
unique ID #2 
         code#1
         code#2
         code#3

etc. The number of codes will change. I know a pivot table can do this exact job but I need it in spreadsheet format. Thanks.
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,834
Members
452,947
Latest member
Gerry_F

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