Automatically extract figures from different sheet

taigorchai

New Member
Extract all data in Summary sheet.xlsx
BCDEFGH
4 Total Cost Total Cost Total Cost Total Cost Total Cost Total Cost
5Section Fish Dog Cat Cow Deer Total
6A124.00180.00336.00612.00852.002,004.00
7A2------
8A3------
9A4------
10A5------
11
12
13Expected result
14 Total Cost Total Cost Total Cost Total Cost Total Cost Total Cost
15Section Fish Dog Cat Cow Deer Total
16A190.00246.00402.00678.00918.002,334.00
17A2918.00678.00246.00402.0090.002,334.00
18A312.0024.0036.0048.0060.00180.00
19A4------
20A5------
Summary

Cells with Data Validation
CellAllowCriteria
B8List=Data!\$J\$3:\$J\$5

Hello,

In "Table" sheet in cell B3 have drop down list. When select different section the figures in table will auto change. These figures are link from "Data" sheet.

Now my problem is in "Summary" sheet. This sheet is link from "Table" sheet with Index Match formula. When i select different Section in "Table" sheet the figure will auto change accordingly in "Summary" sheet.
In "Summary" sheet is there any way possible to make it to show ALL the figures no matter what i selected from the drop down list in "Table" sheet? so that those figures won't keep changing whenever i selected different section in "Table" sheet.
Those Section not available it will show Nil "-" example Section A4 and A5.

It would be great if can use formula to make it possible. Otherwise, would be fine if use Macro/VBA to solve this problem it.

Note:
1) in "Summary" sheet please pull figures from "Table" sheet directly and do not pull form "Data" sheet.
2) Please do not use Power Query and Office 365 formula version to solve this issue because this Excel file I need to share with non Office 365 user.

Attachments

• Extract figures.png
25.3 KB · Views: 3

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Crystalyzer

Well-known Member
Can you post the "Data" worksheet as well?

taigorchai

New Member
Can you post the "Data" worksheet as well?

Extract all data in Summary sheet.xlsx
ABCDEFG
3SectionFishDogCatCowDeer
4Jan-2021A1215285171
5Feb-2021A1316295272
6Mar-2021A1417305373
7Apr-2021A1518315474
8May-2021A1619325575
9Jun-2021A1720335676
10Jul-2021A1821345777
11Aug-2021A1922355878
12Sep-2021A11023365979
13Oct-2021A11124376080
14Nov-2021A11225386181
15Dec-2021A11326396282
16Jan-2021A2715115282
17Feb-2021A2725216293
18Mar-2021A2735317304
19Apr-2021A2745418315
20May-2021A2755519326
21Jun-2021A2765620337
22Jul-2021A2775721348
23Aug-2021A2785822359
24Sep-2021A27959233610
25Oct-2021A28060243711
26Nov-2021A28161253812
27Dec-2021A28262263913
28Jan-2021A312345
29Feb-2021A312345
30Mar-2021A312345
31Apr-2021A312345
32May-2021A312345
33Jun-2021A312345
34Jul-2021A312345
35Aug-2021A312345
36Sep-2021A312345
37Oct-2021A312345
38Nov-2021A312345
39Dec-2021A312345
Data

Crystalyzer

Well-known Member
I don't believe what you want is possible since you're restriction is that the summary data must be pulled from the Table and not the Data directly. Pulling from the table will ALWAYS change the summary data if you change the Section in the table.

taigorchai

New Member
Hi,

Hmmm.... is it possible to make a macro for automatically select all the Section then automatically copy those Total figures from Table sheet then paste in Summary sheet according to their section?

Thanks.

aRandomHelper

Active Member
Why not pull directly from the Data sheet though? The Summary sheet looks more like a summary of the Data sheet than a summary of the Table sheet.

Replies
1
Views
130
Replies
1
Views
35
Replies
5
Views
470
Replies
0
Views
143
Replies
3
Views
405

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,151,969
Messages
5,767,382
Members
425,410
Latest member
SmittyT

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.

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

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