Referencing A cell location within a cell

soccerstarmikew

New Member
Joined
Nov 24, 2009
Messages
1
I have created a model that updates each day and pulls quotes from a certain number of days. Depending on what number of days i put in, an indirect function will generate a location to end the data pull. For instance if i put 10 days it will generate A11 in a cell. I would then pull A1:A11. I want to put this value A11 into a cell that pulls the correlation which is on another page. It would look like Correl(Sheet1!A1:Sheet1!& A11,Sheet1!B1:Sheet1!& B11) I want the A11 in that formula to be found int the cell that generates the value A11. How can i do this? Thanks for the help.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Welcome to the board.

For instance if i put 10 days it will generate A11 in a cell

You probably don't need to go there. Since your CORREL formula would need to adjust B11 as well, consider using something like this:

=CORREL(OFFSET(Sheet1!A1,,,E1+1),OFFSET(Sheet1!B1,,,E1+1))

Where E1 is your days input (10 in your example)
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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