Home |
Search |
Today's Posts |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to use SUMIF to return sums between two values located in cells | Excel Worksheet Functions | |||
SUMIF | Excel Discussion (Misc queries) | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions | |||
help with "criterea" in the sumif function | Excel Worksheet Functions | |||
SUM(IF( Array to avoid #NUM! values | Excel Worksheet Functions |