Extract Data from Multi-dimensional Structure using Excel Formulas

mrahulkanth

New Member
Joined
Apr 25, 2019
Messages
27
I have 2 Tables of which Table1 contains the full data pulled from the required sources and the following is the format of that how it looks:

1644580938399.png


For Table1, all the details of the Volumes and Errors of the respective Sub-functions & Team Members will be pulled automatically through a macro.

Note: Table1 is in the Table Range and Table2 is the Normal Range.

Now, I would like to pull the summarized information in one sheet from Table1 as shown in the below in Table2 format:

1644580968344.png


I have tried multiple ways of implementing formulas, but I'm unable to get the Sub-functions, Sum of the Volumes & Errors from the Sub-Functions of the Selected Team Member & the Date from the dropdowns.

Appreciate your help!

Please note that I have posted this question in the other forum: Extract Data from Multi dimensional Structure using Excel Formulas

Just trying to get the solution as quickly as possible as it is little important.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi.

I'd echo what the commenter on SO said also. The most robust solution is to load it into Power Query to to the transformations (column unpivoting, etc.), write measures to calculate the percentages, and add them all into a pivot table.

However, you could also piece it together with a fair bit of manual labor and some SUMIFS.
MrExcel.xlsm
ABCDEFG
10Name:TM 1
11Date:mmm-yyyy
12VolumesErrorsAccuracy %Error %
13Sub Function 11002080%20%
14Sub Function 21002080%20%
15
Sheet6
Cell Formulas
RangeFormula
D13D13=SUMIFS(Table4[subfunction1_volumes],Table4[team members],$B$10,Table4[date],$B$11)
E13E13=SUMIFS(Table4[subfunction1_errors],Table4[team members],$B$10,Table4[date],$B$11)
F13:F14F13=1-E13/D13
G13:G14G13=E13/D13
D14D14=SUMIFS(Table4[subfunction2_volumes],Table4[team members],$B$10,Table4[date],$B$11)
E14E14=SUMIFS(Table4[subfunction2_errors],Table4[team members],$B$10,Table4[date],$B$11)
 
Upvote 0
Hi.

I'd echo what the commenter on SO said also. The most robust solution is to load it into Power Query to to the transformations (column unpivoting, etc.), write measures to calculate the percentages, and add them all into a pivot table.

However, you could also piece it together with a fair bit of manual labor and some SUMIFS.
MrExcel.xlsm
ABCDEFG
10Name:TM 1
11Date:mmm-yyyy
12VolumesErrorsAccuracy %Error %
13Sub Function 11002080%20%
14Sub Function 21002080%20%
15
Sheet6
Cell Formulas
RangeFormula
D13D13=SUMIFS(Table4[subfunction1_volumes],Table4[team members],$B$10,Table4[date],$B$11)
E13E13=SUMIFS(Table4[subfunction1_errors],Table4[team members],$B$10,Table4[date],$B$11)
F13:F14F13=1-E13/D13
G13:G14G13=E13/D13
D14D14=SUMIFS(Table4[subfunction2_volumes],Table4[team members],$B$10,Table4[date],$B$11)
E14E14=SUMIFS(Table4[subfunction2_errors],Table4[team members],$B$10,Table4[date],$B$11)
Thank you so much for the suggestion & formula help. ?

I have created a VBA code for the entire procedure. Now it is working fine.

Once again, thank you.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,157
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