Trying To Dynamically Refrence Table

Keenan

New Member
Joined
Aug 10, 2017
Messages
5
Hello,

Can someone please assist me in dynamically referencing a table?

If I have a table called Table04.01.17 can I tell excel to look for Table(A3) with A3 with 04.01.17? So the output would be Table04.01.17.

So right now I can do =COUNTA(Table03.01.17[COST]) but rather than updating it on each cell I would just like it to reference the data cells I am using for the other formulas.

[TABLE="class: grid, width: 600"]
<tbody>[TR]
[TD][/TD]
[TD]Amount[/TD]
[TD]Amount (formula)[/TD]
[TD]Amount (ideal formula)[/TD]
[/TR]
[TR]
[TD]03.01.2017[/TD]
[TD]16[/TD]
[TD]=COUNTA(GGA03.01.17[COST])[/TD]
[TD]=COUNTA(GGA(A2)[COST])[/TD]
[/TR]
[TR]
[TD]04.01.2017[/TD]
[TD]5[/TD]
[TD]=COUNTA(GGA04.01.17[COST])[/TD]
[TD]=COUNTA(GGA(A3)[COST])[/TD]
[/TR]
[TR]
[TD]05.01.2017[/TD]
[TD]22[/TD]
[TD]=COUNTA(GGA05.01.17[COST])[/TD]
[TD]=COUNTA(GGA(A4)[COST])[/TD]
[/TR]
[TR]
[TD]06.01.2017[/TD]
[TD]15[/TD]
[TD]=COUNTA(GGA06.01.17[COST])[/TD]
[TD]=COUNTA(GGA(A5)[COST])[/TD]
[/TR]
</tbody>[/TABLE]

Many thanks,
Keenan
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,226,730
Messages
6,192,699
Members
453,747
Latest member
tylerhyatt04

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