#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default column sums


I will give an example:

G H
1 2
3
3 6



In the above example I want to sum the numbers in G only if there i
nothing next to each figure in H.

So the total for column G would be 3

--
jim2

-----------------------------------------------------------------------
jim27's Profile: http://www.excelforum.com/member.php...fo&userid=1537
View this thread: http://www.excelforum.com/showthread.php?threadid=27812

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 634
Default column sums

Then I'm assuming you have formulas in H that return "" for a certain condition,
so

=SUMPRODUCT((H1:H1000="")*(G1:G1000))

or maybe

=SUMPRODUCT((H1:H1000=0)*(G1:G1000))

unless 0 is a viable number in H that may appear and you wouldn't want counted.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------



"jim27" wrote in message
...

I will give an example:

G H
1 2
3
3 6



In the above example I want to sum the numbers in G only if there is
nothing next to each figure in H.

So the total for column G would be 3.


--
jim27


------------------------------------------------------------------------
jim27's Profile:
http://www.excelforum.com/member.php...o&userid=15379
View this thread: http://www.excelforum.com/showthread...hreadid=278120



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.789 / Virus Database: 534 - Release Date: 07/11/2004


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
add up sums in column m if column c = scott sherri Excel Worksheet Functions 3 December 2nd 08 04:19 AM
=sum(A:A) add to column (B) and new value repeats w/ new sums planecents Excel Worksheet Functions 3 March 2nd 07 05:35 PM
How to add previous sums in a column to current sums in a column? TD Excel Worksheet Functions 1 September 30th 06 02:55 PM
column sums jim27[_8_] Excel Programming 1 November 14th 04 04:23 PM
column sums jim27[_7_] Excel Programming 1 November 14th 04 03:45 PM


All times are GMT +1. The time now is 01:24 PM.

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"