I need to use a simple formula to work percentage share - but as the data is being taken from a pivot table I am struggling to copy my formulas and there is too much data to do it individually.
This is the formula I want to copy:
MONDAY %
=GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1,"Store ID",121,"Day of week","Monday","Region","East")/GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1)
TUESDAY %
When I drag the formula across I want it to say:
=GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1,"Store ID",121,"Day of week","Tuesday","Region","East")/GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1)
I also need to copy the formulas down:
STORE 121
=GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1,"Store ID",121,"Day of week","Monday","Region","East")/GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1)
STORE 185
=GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1,"Store ID",185,"Day of week","Monday","Region","East")/GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1)
Is there a quick way to do this?
Alternatively - could I create a pivot table that would display percentages so I would not need a separate table?
On the sample data I have provided above I need to take B8 and divide by G22 to get a percentage of 2.374%.
I am really hoping someone can help me out - as there is too much data for me to type each cell!
Thanks
Sara
This is the formula I want to copy:
MONDAY %
=GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1,"Store ID",121,"Day of week","Monday","Region","East")/GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1)
TUESDAY %
When I drag the formula across I want it to say:
=GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1,"Store ID",121,"Day of week","Tuesday","Region","East")/GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1)
I also need to copy the formulas down:
STORE 121
=GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1,"Store ID",121,"Day of week","Monday","Region","East")/GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1)
STORE 185
=GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1,"Store ID",185,"Day of week","Monday","Region","East")/GETPIVOTDATA("RPE",'Deliveries Pivot'!$A$4,"Week",1)
Is there a quick way to do this?
Alternatively - could I create a pivot table that would display percentages so I would not need a separate table?
Budgeting Tool 070820.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
4 | Sum of RPE | Column Labels | |||||||
5 | 1 | 1 Total | |||||||
6 | Week | Monday | Tuesday | Wednesday | Thursday | Friday | |||
7 | East | ||||||||
8 | 121 | 17.595 | 15.715 | 9.885 | 8.717 | 6.172 | 58.084 | ||
9 | 185 | 6.338 | 14.926 | 13.547 | 9.383 | 5.801 | 49.995 | ||
10 | 225 | 8.26 | 5.757 | 5.962 | 15.801 | 9.754 | 45.534 | ||
11 | 385 | 16.052 | 12.589 | 9.091 | 7.717 | 6.216 | 51.665 | ||
12 | 535 | 4.716 | 7.005 | 18.885 | 14.713 | 3.922 | 49.241 | ||
13 | 550 | 5.465 | 18.26 | 16.381 | 8.759 | 6.173 | 55.038 | ||
14 | 580 | 4.965 | 5.004 | 15.049 | 10.713 | 4.588 | 40.319 | ||
15 | 625 | 14.969 | 13.589 | 8.466 | 7.634 | 4.794 | 49.452 | ||
16 | 740 | 12.009 | 10.839 | 9.508 | 6.965 | 6.212 | 45.533 | ||
17 | 805 | 3.923 | 8.003 | 14.68 | 18.719 | 6.088 | 51.413 | ||
18 | 875 | 8.175 | 8.968 | 13.221 | 24.598 | 13.884 | 68.846 | ||
19 | 900 | 5.091 | 7.841 | 16.513 | 17.177 | 5.796 | 52.418 | ||
20 | 910 | 11.428 | 22.933 | 23.346 | 7.672 | 6.257 | 71.636 | ||
21 | 995 | 15.009 | 10.673 | 10.008 | 9.72 | 6.505 | 51.915 | ||
22 | Grand Total | 133.995 | 162.102 | 184.542 | 168.288 | 92.162 | 741.089 | ||
Deliveries Pivot |
On the sample data I have provided above I need to take B8 and divide by G22 to get a percentage of 2.374%.
I am really hoping someone can help me out - as there is too much data for me to type each cell!
Thanks
Sara