Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Conditional Sum

I do not have the"wizzard" so...I am trying to write a
formula to SUMIF: One collumn meets a certain critera,I
sum another collumn...no problem, however, I need another
condition, only if a third collumn is a specific date. How
can I write it to look at a collumn (range) for a specific
MONTH?
Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Conditional Sum

Try SUMPRODUCT

=SUMPRODUCT((A1:A100="condition1")*(MONTH(B1:B100) =10),(C1:C100))

will sum just October plus your other condition

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"D.Meconi" wrote in message
...
I do not have the"wizzard" so...I am trying to write a
formula to SUMIF: One collumn meets a certain critera,I
sum another collumn...no problem, however, I need another
condition, only if a third collumn is a specific date. How
can I write it to look at a collumn (range) for a specific
MONTH?
Any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Conditional Sum

What it does not seem to want to take is a "range" of
months.??
-----Original Message-----
Try SUMPRODUCT

=SUMPRODUCT((A1:A100="condition1")*(MONTH(B1:B100 )=10),

(C1:C100))

will sum just October plus your other condition

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"D.Meconi" wrote in

message
...
I do not have the"wizzard" so...I am trying to write a
formula to SUMIF: One collumn meets a certain critera,I
sum another collumn...no problem, however, I need

another
condition, only if a third collumn is a specific date.

How
can I write it to look at a collumn (range) for a

specific
MONTH?
Any ideas?



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Conditional Sum

Do you mean that the dates are month name strings? If so it would just be

=SUMPRODUCT((A1:A100="condition1")*(B1:B100="Octob er")=10),(C1:C100))
--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

wrote in message
...
What it does not seem to want to take is a "range" of
months.??
-----Original Message-----
Try SUMPRODUCT

=SUMPRODUCT((A1:A100="condition1")*(MONTH(B1:B100 )=10),

(C1:C100))

will sum just October plus your other condition

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"D.Meconi" wrote in

message
...
I do not have the"wizzard" so...I am trying to write a
formula to SUMIF: One collumn meets a certain critera,I
sum another collumn...no problem, however, I need

another
condition, only if a third collumn is a specific date.

How
can I write it to look at a collumn (range) for a

specific
MONTH?
Any ideas?



.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default Conditional Sum


-----Original Message-----
I do not have the"wizzard" so...I am trying to write a
formula to SUMIF: One collumn meets a certain critera,I
sum another collumn...no problem, however, I need another
condition, only if a third collumn is a specific date.

How
can I write it to look at a collumn (range) for a

specific
MONTH?
Any ideas?
.


In situations such as this, I often create a 3rd
calculated column to combine the criteria I want to seach -
for example lets say you need to match both column B
(I'll say it has the "Part ID" in it) and column C
(perhaps the date sold). In column D I create a formula
such as D1=B1 & Format(C1,"mmddyyyy")
Now I do my SUMIF by looking at column D, so if I want to
sum column A for all Part IDs "CD-123" sold on 1/5/04 I
would use this formula:

= SUMIF(D:D,"CD-123010520034",A:A)


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
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
Conditional Rank (or rather, Conditional Range) [email protected] Excel Worksheet Functions 6 April 16th 07 06:15 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


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