Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default Use a vlue of a cell for the sum range

I want to use value stored in a cell (lets say C1) to use for SUM function
range.
For example SUM(A1:AC1)
C1 bing a value stored in cell C1, may be 5
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,501
Default Use a vlue of a cell for the sum range

Try this

=SUM(INDIRECT("A1:A"&C1))

A 5 in C1 would sum the range A1 - A5

Mike

"jimjudd" wrote:

I want to use value stored in a cell (lets say C1) to use for SUM function
range.
For example SUM(A1:AC1)
C1 bing a value stored in cell C1, may be 5

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default Use a vlue of a cell for the sum range

Thank you Mike for your help :0)

"Mike H" wrote:

Try this

=SUM(INDIRECT("A1:A"&C1))

A 5 in C1 would sum the range A1 - A5

Mike

"jimjudd" wrote:

I want to use value stored in a cell (lets say C1) to use for SUM function
range.
For example SUM(A1:AC1)
C1 bing a value stored in cell C1, may be 5

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
RANGE EXCEL copy cell that meets criteria in a range confused Excel Worksheet Functions 3 March 27th 08 01:41 PM
separating alpha numeric vlue Narasimha Excel Discussion (Misc queries) 23 December 9th 07 06:25 PM
Referencing a named range based upon Range name entry in cell Barb Reinhardt Excel Worksheet Functions 14 June 20th 07 07:19 PM
wnt to look up fr a vlue in a clmn nd get the avg of the row Jeffrey Excel Worksheet Functions 7 May 5th 07 06:57 PM
Selecting range in list of range names depending on a cell informa Courreges Excel Discussion (Misc queries) 2 June 19th 06 10:59 AM


All times are GMT +1. The time now is 04:16 PM.

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

About Us

"It's about Microsoft Excel"