#1   Report Post  
choice
 
Posts: n/a
Default sumif

column A non unique dates in ascending order
column C either a value greater then zero or blank
column N either "upgrade" or blank
column R a number

I need to to sum the values in R, if A is last month, C is not "", N equals
"upgrade".
i tried sumproduct, but that just counted the instances, i need the sum.

thanks in advance
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=SUMPRODUCT(--(ISNUMBER(A1:A10)),--(MONTH(A1:A10)=MONTH
(TODAY())-1),--(C1:C10<""),--(N1:N10="upgrade"),R1:R10)

Biff

-----Original Message-----
column A non unique dates in ascending order
column C either a value greater then zero or blank
column N either "upgrade" or blank
column R a number

I need to to sum the values in R, if A is last month, C

is not "", N equals
"upgrade".
i tried sumproduct, but that just counted the instances,

i need the sum.

thanks in advance
.

  #3   Report Post  
choice
 
Posts: n/a
Default

didnt work
formula contains an error.
i tried playing around with it, but i couldnt get it to work

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(ISNUMBER(A1:A10)),--(MONTH(A1:A10)=MONTH
(TODAY())-1),--(C1:C10<""),--(N1:N10="upgrade"),R1:R10)

Biff

-----Original Message-----
column A non unique dates in ascending order
column C either a value greater then zero or blank
column N either "upgrade" or blank
column R a number

I need to to sum the values in R, if A is last month, C

is not "", N equals
"upgrade".
i tried sumproduct, but that just counted the instances,

i need the sum.

thanks in advance
.


  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Then post the EXACT formula that you were using that
counted but did not sum.

Biff

-----Original Message-----
didnt work
formula contains an error.
i tried playing around with it, but i couldnt get it to

work

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(ISNUMBER(A1:A10)),--(MONTH(A1:A10)=MONTH
(TODAY())-1),--(C1:C10<""),--(N1:N10="upgrade"),R1:R10)

Biff

-----Original Message-----
column A non unique dates in ascending order
column C either a value greater then zero or blank
column N either "upgrade" or blank
column R a number

I need to to sum the values in R, if A is last month,

C
is not "", N equals
"upgrade".
i tried sumproduct, but that just counted the

instances,
i need the sum.

thanks in advance
.


.

  #5   Report Post  
Ken Wright
 
Posts: n/a
Default

Paste the formula into the formula bar and then get rid of the linebreaks
else you will get an error and Excel won't let you enter the formula.

When you paste it straight into the formula bar it will probably appear on
three lines. Get rid of the space at the end, and then the one in the
middle such that the formula appears on a single line.

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

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

"choice" wrote in message
...
didnt work
formula contains an error.
i tried playing around with it, but i couldnt get it to work

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(ISNUMBER(A1:A10)),--(MONTH(A1:A10)=MONTH
(TODAY())-1),--(C1:C10<""),--(N1:N10="upgrade"),R1:R10)

Biff

-----Original Message-----
column A non unique dates in ascending order
column C either a value greater then zero or blank
column N either "upgrade" or blank
column R a number

I need to to sum the values in R, if A is last month, C

is not "", N equals
"upgrade".
i tried sumproduct, but that just counted the instances,

i need the sum.

thanks in advance
.




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 DME Excel Discussion (Misc queries) 6 January 30th 05 09:23 PM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM
help with "criterea" in the sumif function [email protected] Excel Worksheet Functions 3 December 17th 04 06:27 PM
SUM(IF( Array to avoid #NUM! values Elijah Excel Worksheet Functions 7 November 21st 04 02:17 PM


All times are GMT +1. The time now is 01:53 AM.

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"