Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
SMac
 
Posts: n/a
Default Sumif or Sumproduct 2 criterias not working

I used the following formula:
=SUMPRODUCT(--('PO LIST'!H3:H88="Calibration"),--('PO
LIST'!E3:E88="Jan"),('PO LIST'!C3:C88))

The first part looks for "Calibration", then I need it to look for the month
"Jan" and when it finds those two to calculate C3:C88.

I think my issue is with the field "MONTH" that contains a formated versus
("Jan"), off the column next to it with "DATE" i.e. 01/05/04 - is it not
recoginizning "Jan" as a word or does it still look at this field as a date,
if so how do I enter criteria.

Your help is much appreciated!!

Thanks, Stacey
  #2   Report Post  
Dave O
 
Posts: n/a
Default

Hi, Stacey-
I suspect Excel is still looking at column E as if it is a date. You
can use the MONTH() function, which returns a number from 1 to 12,
against a date. Your formula would look like this:
=SUMPRODUCT(--('PO LIST'!H3:H88="Calibration"),--(Month('PO
LIST'!E3:E88)=1),('PO LIST'!C3:C88))

Let us know if this works!

Dave O

  #3   Report Post  
Bernard Liengme
 
Posts: n/a
Default

If the E stuff is really dates try --(MONTH('PO LIST"!E2:E88)=1)

--
Bernard Liengme
www.stfx.ca/people/bliengme
remove CAPS in email address


"SMac" wrote in message
...
I used the following formula:
=SUMPRODUCT(--('PO LIST'!H3:H88="Calibration"),--('PO
LIST'!E3:E88="Jan"),('PO LIST'!C3:C88))

The first part looks for "Calibration", then I need it to look for the
month
"Jan" and when it finds those two to calculate C3:C88.

I think my issue is with the field "MONTH" that contains a formated versus
("Jan"), off the column next to it with "DATE" i.e. 01/05/04 - is it not
recoginizning "Jan" as a word or does it still look at this field as a
date,
if so how do I enter criteria.

Your help is much appreciated!!

Thanks, Stacey



  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMPRODUCT(--('PO LIST'!H3:H88="Calibration"),--(TEXT('PO
LIST'!E3:E88,"mmm")="Jan"),('PO LIST'!C3:C88))

--

HTH

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


"SMac" wrote in message
...
I used the following formula:
=SUMPRODUCT(--('PO LIST'!H3:H88="Calibration"),--('PO
LIST'!E3:E88="Jan"),('PO LIST'!C3:C88))

The first part looks for "Calibration", then I need it to look for the

month
"Jan" and when it finds those two to calculate C3:C88.

I think my issue is with the field "MONTH" that contains a formated versus
("Jan"), off the column next to it with "DATE" i.e. 01/05/04 - is it not
recoginizning "Jan" as a word or does it still look at this field as a

date,
if so how do I enter criteria.

Your help is much appreciated!!

Thanks, Stacey



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
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
Sumif not Sumproduct David Excel Worksheet Functions 4 December 8th 04 11:39 AM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM
SUMIF or SUMPRODUCT or something else? || cypher || Excel Worksheet Functions 7 November 9th 04 10:45 PM


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