Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bomber
 
Posts: n/a
Default how do I use variable column and rows using other cell reference .

without using VB - how do I say sum a range where the row /column values
depend upon the value in another cell (i.e. =SUM(A[2+value in cell say
k4]:A[3+value of cell say k5]). In other words, the column row in the above
case is dependent upon another cell value.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUM(INDIRECT("A"&K4&":A"&K5))

--
HTH

Bob Phillips

"Bomber" wrote in message
...
without using VB - how do I say sum a range where the row /column values
depend upon the value in another cell (i.e. =SUM(A[2+value in cell say
k4]:A[3+value of cell say k5]). In other words, the column row in the

above
case is dependent upon another cell value.



  #3   Report Post  
Gidders
 
Posts: n/a
Default

I want to do something similar to this but want to vary the columns

ie = (current column +/- number of columns specified by value in say cell
A1, constant row value)

Gidders

"Bob Phillips" wrote:

=SUM(INDIRECT("A"&K4&":A"&K5))

--
HTH

Bob Phillips

"Bomber" wrote in message
...
without using VB - how do I say sum a range where the row /column values
depend upon the value in another cell (i.e. =SUM(A[2+value in cell say
k4]:A[3+value of cell say k5]). In other words, the column row in the

above
case is dependent upon another cell value.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining workbooks with some variable field names Bob Dobalina Excel Discussion (Misc queries) 8 May 17th 05 09:48 PM
I need a formula to find rows within a date range in one column? M. Penney Excel Worksheet Functions 5 May 12th 05 12:32 AM
moving alternating rows to a column with the order staying the sam Duke Carey Excel Discussion (Misc queries) 0 April 27th 05 09:51 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
Formula to compare multiple rows values based on another column? Murph Excel Worksheet Functions 4 February 21st 05 02:44 AM


All times are GMT +1. The time now is 07:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"