![]() |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
(Row 8 is used here just as an example)
I'd like to have a formula in cell D8 that sums the values in cells x8-y8, where x and y (the columns) can be defined by typing the column values in one or more other cells. For example, I'd type "F" in cell D1, and "M" in cell D2, and cell D8 would responsively display the sum of cells F8-M8. Is this possible? |
#2
|
|||
|
|||
![]()
For example:
=SUM(INDIRECT($D$1&8&":"&$D$2&8)) |
#3
|
|||
|
|||
![]()
Thank you. Is there a way to have the row number automatically update when the formula is pasted in other rows, like would happen with a straightforward formula?
|
#4
|
|||
|
|||
![]()
=sum(indirect($d$1&row(8:8)&":"&$d$2&row(8:8)))
|
#5
|
|||
|
|||
![]()
That worked perfectly - thank you!
|
![]() |
Tags |
formula, references |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
npn321 | Excel | 10 | 02-22-2017 11:42 PM |
![]() |
rick10r | Excel | 1 | 07-05-2016 12:07 PM |
![]() |
Bill Martz | Excel | 1 | 04-23-2015 07:57 PM |
![]() |
bharathkumarst | Excel | 7 | 10-13-2014 10:25 AM |
How do I reference a merged cell in a multi column & row table in MS Word ('03')? | jihanemo | Word Tables | 0 | 03-18-2009 08:33 AM |