Required Formula

amkumar

New Member
Joined
Apr 5, 2016
Messages
45
hi,

i have some data in below table format

[TABLE="class: grid, width: 130"]
<tbody>[TR]
[TD]Unique ID[/TD]
[TD]Year[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]5819M2[/TD]
[TD]1996[/TD]
[TD]4568[/TD]
[/TR]
[TR]
[TD]5819M2[/TD]
[TD]1994[/TD]
[TD]3694[/TD]
[/TR]
[TR]
[TD]5678Z9[/TD]
[TD]1995[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]5678Z9[/TD]
[TD]1996[/TD]
[TD]7456[/TD]
[/TR]
[TR]
[TD]9313A5[/TD]
[TD]1996[/TD]
[TD]2460[/TD]
[/TR]
[TR]
[TD]4556K2[/TD]
[TD]1994[/TD]
[TD]465[/TD]
[/TR]
[TR]
[TD]4556K2[/TD]
[TD]1995[/TD]
[TD]5290[/TD]
[/TR]
</tbody>[/TABLE]

i want the same data in below table format with the use of formula.[TABLE="class: grid, width: 120"]
<tbody>[TR]
[TD]Unique ID[/TD]
[TD]1994[/TD]
[TD]1995[/TD]
[TD]1996[/TD]
[/TR]
[TR]
[TD]5819M2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5678Z9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9313A5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4556K2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Please help me in this....Thanks in advance....!!!!
 
Last edited:

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
It's an array formula so you have to Ctrl+Shift+Enter after paste. Have a nice day ;)

=INDEX(Table1!$C$2:$C$8,MATCH(B$1&$A2,Table1!$B$2:$B$8&Table1!$A$2:$A$8,0))
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,225,064
Messages
6,182,645
Members
453,128
Latest member
mike4slund

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