PC Review


Reply
Thread Tools Rate Thread

Automate MTD summation

 
 
=?Utf-8?B?Q2hlcnls?=
Guest
Posts: n/a
 
      6th Jul 2006
I have got a worksheet with 31 columns of data (31 days) from column B
onwards. I would like column A to sum from column B depending on what I put
in cell A1. Eg. If A1 is 3, column A will show result of summation of column
B (day 1) to column D (day 3).
If A1 is 5, column A will show result of summation of column B (day 1) to
column F 9 (day 5) and so on.
Thank you
 
Reply With Quote
 
 
 
 
=?Utf-8?B?U3RlZmk=?=
Guest
Posts: n/a
 
      6th Jul 2006
Hi Cheryl,

Enter this formula in A2 and drag down as needed!
=SUM(OFFSET(B2,0,0,1,$A$1))
Regards,
Stefi


„Cheryl” ezt *rta:

> I have got a worksheet with 31 columns of data (31 days) from column B
> onwards. I would like column A to sum from column B depending on what I put
> in cell A1. Eg. If A1 is 3, column A will show result of summation of column
> B (day 1) to column D (day 3).
> If A1 is 5, column A will show result of summation of column B (day 1) to
> column F 9 (day 5) and so on.
> Thank you

 
Reply With Quote
 
RagDyeR
Guest
Posts: n/a
 
      6th Jul 2006
Try this:

=SUM(INDEX(B2:AF2,1):INDEX(B2:AF2,$A$1))*($A$1>0)

--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

"Cheryl" <(E-Mail Removed)> wrote in message
news:F7B90771-D3E6-4692-81D8-(E-Mail Removed)...
I have got a worksheet with 31 columns of data (31 days) from column B
onwards. I would like column A to sum from column B depending on what I put
in cell A1. Eg. If A1 is 3, column A will show result of summation of
column
B (day 1) to column D (day 3).
If A1 is 5, column A will show result of summation of column B (day 1) to
column F 9 (day 5) and so on.
Thank you


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Summation fm3c Microsoft Access Queries 1 13th Feb 2008 03:21 PM
Summation kellonjames@gmail.com Microsoft Excel Misc 2 28th Nov 2007 06:10 PM
summation =?Utf-8?B?SW1wb3J0IFRleHQgRmlsZQ==?= Microsoft Access Reports 1 13th May 2007 01:27 PM
VBA code to perform summation and product summation 21MSU Microsoft Excel Programming 4 17th May 2004 07:19 PM
Summation =?iso-8859-1?Q?Robert_B=E9dard?= Microsoft Excel Worksheet Functions 1 10th Oct 2003 08:15 PM


Features
 

Advertising
 

Newsgroups
 


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