Concatenate Formula from Text

adakos

New Member
Joined
Mar 5, 2009
Messages
15
Hi.
My problem is this:
I Have a list of sheets in a workbook named 1-31 representing each day of the current month. I also have a central time calculation sheet.

I use ='1'!Q5 to pull Q5 From the sheet named "1" which represents total hours worked in a given day.

When I use "fill down" to fill out the rest of the month, I get the following:
='1'!Q5,
='1'!Q6,
='1'!Q7,
='1'!Q8

And I need this:
='1'!Q5,
='2'!Q5,
='3'!Q5,
='4'!Q5

I've tried:
=CONCATENATE("='"&ROW()-1&"'!"&"Q5")
and
="='"&ROW()-1&"'!"&"Q5"

But I end up with text that says:
='1'!Q5,
='2'!Q5,
='3'!Q5
... but not a formula.

Any suggestions?

-Adakos
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Try:

=indirect("'"&ROW()-1&"'!"&"Q5")

Note for future reference, that indirect cannot be used with closed workbooks, but that does not seem like it will be a problem here.

You may also want to fill row with a cell reference to ensure you get the correct results and you do not need to subtract:

=indirect("'"&ROW(A1)&"'!"&"Q5")
Hope that helps.
 
Last edited:
Upvote 0
Welcome to the board...

You need INDIRECT

Try
=INDIRECT("'" & ROW() & "'!Q5")
 
Upvote 0

Forum statistics

Threads
1,214,825
Messages
6,121,788
Members
449,049
Latest member
greyangel23

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