Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
=SUM(INDIRECT("WO!J2:J"&ROWS(WO!qry_WO)-1)) Hope this helps. Pete On Aug 20, 11:04 pm, Tom Melosi <Tom wrote: I am trying to replace the number portion of a cell reference with the results of another formula. I can't seem to get it to work. This is the formula I started with: =SUM(WO!J2:J5679) But instead of the 5679, I want to use the result of the following formula: =ROWS(WO!qry_WO)-1 where qry_WO is a named range on the WO sheet. I can do this using a macro, but would prefer to do it on the worksheet. Is this even possible? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
variable substitution in a formula | Excel Discussion (Misc queries) | |||
Using a variable in a formula | Excel Discussion (Misc queries) | |||
Using a variable in a VBA formula | Excel Discussion (Misc queries) | |||
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? | Excel Worksheet Functions | |||
Using a second variable within a formula... | Excel Discussion (Misc queries) |