#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default noncontiguous cells

I need to sum up a column of noncontiguous cells.
(eg. G3+G6+G9+G12); with the result being presented at
the bottom of the column.

However, whenever I insert rows in between the data and
the row that contains the total sum, I need to manually adjust the summation
formula.(eg. formula above + G15+G18+G21).
On the other hand, when I delete the rows in between the data and row that
contains the total sum, a reference error pops up. (so I need to manually
adjust my formula again)

I have at least 50 columns to perform this summation for. Is there any sort
of formula that helps to minimize the manual labour?

Thanks you in advance!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default noncontiguous cells


Vivian Wrote:
However, whenever I insert rows in between the data and
the row that contains the total sum, I need to manually adjust the
summation
formula.(eg. formula above + G15+G18+G21).


This doesn't seem right. Excel by default caters for rows being added.
Can you explain the exact sequence of events, or post a sample
spreadsheet


--
Mallycat
------------------------------------------------------------------------
Mallycat's Profile: http://www.excelforum.com/member.php...o&userid=35514
View this thread: http://www.excelforum.com/showthread...hreadid=563520

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default noncontiguous cells

Say that your datalist goes from G3 to G99.

You could enter this in G2 or G100, or wherever:

=SUMPRODUCT((MOD(ROW(INDIRECT("G3:G99")),3)=0)*IND IRECT("G3:G99"))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Vivian" wrote in message
...
I need to sum up a column of noncontiguous cells.
(eg. G3+G6+G9+G12); with the result being presented at
the bottom of the column.

However, whenever I insert rows in between the data and
the row that contains the total sum, I need to manually adjust the
summation
formula.(eg. formula above + G15+G18+G21).
On the other hand, when I delete the rows in between the data and row that
contains the total sum, a reference error pops up. (so I need to manually
adjust my formula again)

I have at least 50 columns to perform this summation for. Is there any
sort
of formula that helps to minimize the manual labour?

Thanks you in advance!


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
Linking Groups of cells between workbooks vnacj-joe Excel Discussion (Misc queries) 4 June 14th 07 05:18 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
To safety merge cells without data destroyed, and smart unmerge! Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:17 AM


All times are GMT +1. The time now is 10:28 AM.

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"