Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() Hi everyone, Maybe a slightly bizarre question and I don't know if it's possible or not. What I'd like to do is use a value in a cell to be used in as the row value in an R1C1 function. e.g. Column A goes from rows 1 - 47 so I put 47 in a cell and name the cell "BotRow". I then have a formula which would be something like: =sum(R1C1:R"BotRow"C1) Is there any way of doing this The actual use of this is so that where I have a whole grid of formulas and want to change the range they're looking at, I don't have to change all the formulas, just a value in one cell. Any help appreciated, Rob -- Rob T ------------------------------------------------------------------------ Rob T's Profile: http://www.excelforum.com/member.php...o&userid=28497 View this thread: http://www.excelforum.com/showthread...hreadid=480993 |
#2
![]() |
|||
|
|||
![]() Here are some options: If using R1C1 style: =SUM(OFFSET(R1C1,0,0,BotRow,1)) If using A1 style: =SUM(OFFSET(A1,0,0,BotRow,1)) If using either style: =SUM(INDIRECT("R1C1:R"&BotRow&"C1",0)) Do any of those help? Regards, Ron -- Ron Coderre ------------------------------------------------------------------------ Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419 View this thread: http://www.excelforum.com/showthread...hreadid=480993 |
#3
![]() |
|||
|
|||
![]() Excellent, that first one was just the ticket! Thanks for the help. Rob -- Rob T ------------------------------------------------------------------------ Rob T's Profile: http://www.excelforum.com/member.php...o&userid=28497 View this thread: http://www.excelforum.com/showthread...hreadid=480993 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell color based upon cell value | Excel Discussion (Misc queries) | |||
cell color index comparison | New Users to Excel | |||
Cell Change Color - Need Help | New Users to Excel | |||
Function syntax to compare cell contents | Excel Worksheet Functions | |||
VLookup resulting in a blank cell... | Excel Worksheet Functions |