Using Values to Refrence Cells

RandomWa1k

New Member
Joined
Mar 25, 2009
Messages
10
Not sure if this is possible, but I want to be able to use the value in a cell to reference another cell.

eg.

If the cell value is of c1=9 , I want my function to be =sum(a1:a9) where the 9 is the value from c1.

Thanks!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

jlbutcher

New Member
Joined
Jan 5, 2009
Messages
28
To reference the cell value of C1 and place the value into A1
type =C1 into A1 cell. Not sure if this is what you are looking for? Where does A1 get its value?
 
Upvote 0

Sal Paradise

Well-known Member
Joined
Oct 23, 2006
Messages
2,457
There are several ways to do this, and you can use the help functions to further figure out which is best:
Excel Workbook
ABCD
1#Rows:7
23=OFFSET()31
32=INDIRECT()31
43
59
66
77
81
95
109
113
Sheet1


(forgot to update a formula)
 
Upvote 0

Forum statistics

Threads
1,196,008
Messages
6,012,836
Members
441,733
Latest member
MartijnB

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
Top