Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 262
Default Question about Sum

Hello,
In the formula =sum(B6:B50) is there any to make the value represented
here by the 6 a variable? Is there any I could point it to, say, the value
in cell A1?

Thank you,

Keith


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 42
Default Question about Sum

Put this formula
=SUM(INDIRECT("B"&A1):B50)


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Question about Sum

Try this:

A1 = 6

=SUM(INDEX(B1:B50,A1):B50)

If A1 is an empty cell the formula will calculate the entire range. If A1 is
a number 50 then you'll get a #REF! error.

--
Biff
Microsoft Excel MVP


"Keith" wrote in message
...
Hello,
In the formula =sum(B6:B50) is there any to make the value
represented
here by the "6" a variable? Is there any I could point it to, say, the
value
in cell "A1"?

Thank you,

Keith




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
Question Amber12321 Excel Discussion (Misc queries) 3 April 19th 09 01:38 PM
where can I see my question and answer? Yesterday I ask a question IP Excel Discussion (Misc queries) 2 May 10th 08 04:08 PM
An if question FreddieP Excel Discussion (Misc queries) 2 September 28th 06 04:53 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM


All times are GMT +1. The time now is 08:48 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"