Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default sum only certain figures in the column

Re Excel 97 --------

I want to SUM only the figures in J20:80 (put sum in J81) that do not have a
blank corresponding cell in K20:80, but I can't figure out the IF statement.
To clarify, if for instance, K25 is blank, then I don't want J25 included in
the sum in J81.


Jack



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 136
Default sum only certain figures in the column

One way


=SUMPRODUCT(--(K20:K80<""),J20:J80)

--


Regards,


Peo Sjoblom


"Jack B" wrote in message
...
Re Excel 97 --------

I want to SUM only the figures in J20:80 (put sum in J81) that do not have
a
blank corresponding cell in K20:80, but I can't figure out the IF
statement.
To clarify, if for instance, K25 is blank, then I don't want J25 included
in
the sum in J81.


Jack





  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default sum only certain figures in the column

=SUMPRODUCT(--(K20:K80<""),J20:J80)
or
=SUMPRODUCT((K20:K80<"")*J20:J80)
--
David Biddulph

Jack B wrote:
Re Excel 97 --------

I want to SUM only the figures in J20:80 (put sum in J81) that do not
have a blank corresponding cell in K20:80, but I can't figure out the
IF statement. To clarify, if for instance, K25 is blank, then I don't
want J25 included in the sum in J81.


Jack



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
Minusing 17.5% off a column of figures Sue Excel Worksheet Functions 2 June 11th 08 10:05 AM
Calculate Figures in a column if ajacent column has particular da Shaggy Charts and Charting in Excel 1 August 21st 06 04:43 AM
How to convert FIGURES in one column to WORDS in another column? Shashank Virkar Excel Discussion (Misc queries) 2 November 26th 05 01:34 PM
How to convert FIGURES in one column to WORDS in another column? Shashank Virkar Excel Discussion (Misc queries) 1 November 26th 05 01:31 PM
how do i get a column to only add up the figures in a certain col karen Excel Discussion (Misc queries) 4 October 26th 05 07:45 AM


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