Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I sum multiple columns counting including blanks and dates

I have two columns of which I want to use as criteria to add contents of a
third column. The columns may or may not be blank and one of the columns if
complete should only be counted if date less than 7/1/2005 for example. I
would like to sum and also count this data.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How do I sum multiple columns counting including blanks and dates

=SUMPRODUCT(--(A2:A20<=--"2005-07-01"),--(B2:B20="criteria"),C2:C20)

should do it, replace criteria with your secondary test value

--

HTH

RP
(remove nothere from the email address if mailing direct)


"BK99" wrote in message
...
I have two columns of which I want to use as criteria to add contents of

a
third column. The columns may or may not be blank and one of the columns

if
complete should only be counted if date less than 7/1/2005 for example. I
would like to sum and also count this data.




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
Counting dates including the beginning date. chapy354 Excel Worksheet Functions 2 July 10th 08 07:04 PM
Counting multiple values (including blanks) in one column [email protected] Excel Discussion (Misc queries) 13 March 12th 08 09:21 AM
Multiple sets of columns into one set of columns no blanks CathyH Excel Discussion (Misc queries) 0 May 22nd 07 09:11 PM
Counting Blanks in a list of dates by month phocused Excel Worksheet Functions 3 January 2nd 07 02:12 PM
Counting rows of blanks across certain columns crossingboston New Users to Excel 1 May 26th 05 05:20 PM


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