Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
sumif or sumproduct range
I've been all around and tried many suggestions but still can't make this work.
Looking at one column of numbers on a separate worksheet that should be greater than 29 but less than 50, and if they meet this criteria I want the sum of another column of numbers on the separate worksheet added. I've tried sumproduct(--active!$P:$P29)*--(active!$P:$P<50),active!$g2:$g200) it returns #NUM! as an answer I have double checked and there are no errors or text entered in the G column -- Lori |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
sumif or sumproduct range
=sumproduct(--(active!$P2:$P20029)--(active!$P2:$P200<50),active!$g2:$g200)
SP works on specific ranges, and they must be the same size -- HTH RP (remove nothere from the email address if mailing direct) "Lori Burton" wrote in message ... I've been all around and tried many suggestions but still can't make this work. Looking at one column of numbers on a separate worksheet that should be greater than 29 but less than 50, and if they meet this criteria I want the sum of another column of numbers on the separate worksheet added. I've tried sumproduct(--active!$P:$P29)*--(active!$P:$P<50),active!$g2:$g200) it returns #NUM! as an answer I have double checked and there are no errors or text entered in the G column -- Lori |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
sumif or sumproduct range
This gives a total, but not a correct one.
It's almost as if the formula is reading everything greater than 29 add p2:p200, and then everything less than 50 add p2:p200 rather than as a combined statement before adding G. The answer is at least 4 times as much as it should be. I'm needing the P: colmun filtered down to anything between the range of 30 and 50 before G is calculated. -- Lori "Bob Phillips" wrote: =sumproduct(--(active!$P2:$P20029)--(active!$P2:$P200<50),active!$g2:$g200) SP works on specific ranges, and they must be the same size -- HTH RP (remove nothere from the email address if mailing direct) "Lori Burton" wrote in message ... I've been all around and tried many suggestions but still can't make this work. Looking at one column of numbers on a separate worksheet that should be greater than 29 but less than 50, and if they meet this criteria I want the sum of another column of numbers on the separate worksheet added. I've tried sumproduct(--active!$P:$P29)*--(active!$P:$P<50),active!$g2:$g200) it returns #NUM! as an answer I have double checked and there are no errors or text entered in the G column -- Lori |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
sumif or sumproduct range
I got it!
I changed your fomula to include an asterisk and it calculated perfectly. Thank you! -- Lori "Bob Phillips" wrote: =sumproduct(--(active!$P2:$P20029)--(active!$P2:$P200<50),active!$g2:$g200) SP works on specific ranges, and they must be the same size -- HTH RP (remove nothere from the email address if mailing direct) "Lori Burton" wrote in message ... I've been all around and tried many suggestions but still can't make this work. Looking at one column of numbers on a separate worksheet that should be greater than 29 but less than 50, and if they meet this criteria I want the sum of another column of numbers on the separate worksheet added. I've tried sumproduct(--active!$P:$P29)*--(active!$P:$P<50),active!$g2:$g200) it returns #NUM! as an answer I have double checked and there are no errors or text entered in the G column -- Lori |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
sumif or sumproduct range
typo, it should be
=sumproduct(--(active!$P2:$P20029),--(active!$P2:$P200<50),active!$g2:$g200 ) -- HTH RP (remove nothere from the email address if mailing direct) "Lori Burton" wrote in message ... This gives a total, but not a correct one. It's almost as if the formula is reading everything greater than 29 add p2:p200, and then everything less than 50 add p2:p200 rather than as a combined statement before adding G. The answer is at least 4 times as much as it should be. I'm needing the P: colmun filtered down to anything between the range of 30 and 50 before G is calculated. -- Lori "Bob Phillips" wrote: =sumproduct(--(active!$P2:$P20029)--(active!$P2:$P200<50),active!$g2:$g200) SP works on specific ranges, and they must be the same size -- HTH RP (remove nothere from the email address if mailing direct) "Lori Burton" wrote in message ... I've been all around and tried many suggestions but still can't make this work. Looking at one column of numbers on a separate worksheet that should be greater than 29 but less than 50, and if they meet this criteria I want the sum of another column of numbers on the separate worksheet added. I've tried sumproduct(--active!$P:$P29)*--(active!$P:$P<50),active!$g2:$g200) it returns #NUM! as an answer I have double checked and there are no errors or text entered in the G column -- Lori |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
SUMPRODUCT or SUMIF if any values in a range equal any values in another range | Excel Worksheet Functions | |||
muliple sheet range + sumif / sumproduct | Excel Worksheet Functions | |||
HELP !!! SUMIF or SUMPRODUCT | Excel Discussion (Misc queries) | |||
SUMPRODUCT OR SUMIF | Excel Programming | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |