Indirect formula question

StanSz

Board Regular
Joined
Sep 18, 2004
Messages
199
I'm trying to use a formula on one worksheet that gets data from another worksheet that has an INDIRECT formula and I can't get my formula to work.

On the worksheet 'Results' I'm trying to get the data from the last entry in column G on the 'Prices' worksheet.

The last row of the 'Prices' worksheet will change as days of data are added. I keep track of the last row of data in cell A1 of 'Prices'.

If I was just trying to get the last cell of data on the same 'Prices' worksheet I would use =INDIRECT("G"&A1) which works and gives me the answer I want.

However, I'm trying to do this across 2 different worksheets -- I'm on the "Results" sheet and I want to use a formula to get the answer that uses the INDIRECT formula from the "Prices' sheet.

I've tried =INDIRECT("'Prices''"&"G"&A1) and other variations and I get a REF# error.

Thanks for your help
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
If you use a sheet name in a formula you will see an exclamation mark so similarly you need one in the INDIRECT. See if this works:

=INDIRECT("Prices!G"&A1)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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