Data transformation in Excel

sfdc1

New Member
Joined
Jun 3, 2015
Messages
3
Hi All, looking for help on converting data from one format to another -


If you want to see data in sheet is here -
https://docs.google.com/spreadsheet...8SLb2NNMRNqiXbqR8J2k/edit?pli=1#gid=555602833

5gdyhs5gh


Image - http://postimg.org/image/5gdyhs5gh/

Description -
1. Transpose primary data set and organize data so that options are shown as columns.
2. If there are multiple rows for same product and same option, need to sum it up and add as one row.
3. If products are not available for certain option then we need to update that cell as 'NA'
4. 'Primary set of data' may contain multiple rows, but it will have only 3 options at given point of time.
5. Above 3 scenrios are just for explanation of this problem, I want to develop one table which is dynamic
and changes are reflected as I make updates to data
 
Last edited:

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
try this in cell G6 on sheet 2 and drag it right 3 cells.

=SUMIFS($C$4:$C$11,$A$4:$A$11,G3,$B$4:$B$11,$F$4)/COUNTIFS($A$4:$A$11,G3,$B$4:$B$11,$F$4)&" ("&SUMIFS($D$4:$D$11,$A$4:$A$11,G3,$B$4:$B$11,F4)&")"

see if this helps.

~DR
 
Upvote 0
=SUMIFS($C$4:$C$11,$A$4:$A$11,G3,$B$4:$B$11,$F$4)/COUNTIFS($A$4:$A$11,G3,$B$4:$B$11,$F$4)&" ("&SUMIFS($D$4:$D$11,$A$4:$A$11,G3,$B$4:$B$11,$F$4)&")"


I did not lock the last F4 in the original try again.
 
Upvote 0

Forum statistics

Threads
1,214,912
Messages
6,122,204
Members
449,072
Latest member
DW Draft

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