Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
OK I've tried this
data! being the second sheet holding the data the first array is a condition that I only want customers = "RETAILAC" to be included data!E = quantity data!W=cost price =SUMPRODUCT(data!DA2:DA7199="RETAILAC",data!E2:E71 99,data!W2:W7199) but this returns a 0 value any clues? thanks -- Vass |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(--(data!DA2:DA7199="RETAILAC"),--(data!E2:E7199,data!W2:W7199))
-- HTH Bob Phillips (remove nothere from the email address if mailing direct) "Vass" wrote in message . uk... OK I've tried this data! being the second sheet holding the data the first array is a condition that I only want customers = "RETAILAC" to be included data!E = quantity data!W=cost price =SUMPRODUCT(data!DA2:DA7199="RETAILAC",data!E2:E71 99,data!W2:W7199) but this returns a 0 value any clues? thanks -- Vass |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Try this amendment =SUMPRODUCT(--(data!DA2:DA7199="RETAILAC"),data!E2:E7199,data!W2 :W7199) -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=544661 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() "Bob Phillips" wrote =SUMPRODUCT(--(data!DA2:DA7199="RETAILAC"),--(data!E2:E7199,data!W2:W7199)) returns #VALUE! I can see what your doing but can't fix it -- Vass |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Did you try my suggestion? =SUMPRODUCT(--(data!DA2:DA7199="RETAILAC"),data!E2:E7199,data!W2 :W7199) -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=544661 |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Read it as a test
=SUMPRODUCT(--(data!DA2:DA7199="RETAILAC"),data!E2:E7199,data!W2 :W7199) -- HTH Bob Phillips (remove xxx from email address if mailing direct) "Vass" wrote in message ... "Bob Phillips" wrote =SUMPRODUCT(--(data!DA2:DA7199="RETAILAC"),--(data!E2:E7199,data!W2:W7199)) returns #VALUE! I can see what your doing but can't fix it -- Vass |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"daddylonglegs"
Try this amendment =SUMPRODUCT(--(data!DA2:DA7199="RETAILAC"),data!E2:E7199,data!W2 :W7199) OK this does return a value thank you Is this result column E * W row by row or does this formula total E then * by W which obviously is an incorrect result? also, my Qty and Cost data is recorded in '000s and I'd like to /100 if at all possible Thanks in advance -- Vass |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
It does each E by each W where DA satisfies the condition.
=SUMPRODUCT(--(data!DA2:DA7199="RETAILAC"),data!E2:E7199/1000,data!W2:W7199/ 1000) -- HTH Bob Phillips (remove xxx from email address if mailing direct) "Vass" wrote in message ... "daddylonglegs" Try this amendment =SUMPRODUCT(--(data!DA2:DA7199="RETAILAC"),data!E2:E7199,data!W2 :W7199) OK this does return a value thank you Is this result column E * W row by row or does this formula total E then * by W which obviously is an incorrect result? also, my Qty and Cost data is recorded in '000s and I'd like to /100 if at all possible Thanks in advance -- Vass |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() "Bob Phillips" wrote in message ... It does each E by each W where DA satisfies the condition. =SUMPRODUCT(--(data!DA2:DA7199="RETAILAC"),data!E2:E7199/1000,data!W2:W7199/ 1000) thanks Bob |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding "OR" to a Sumproduct Formula | Excel Worksheet Functions | |||
Need help with sumproduct and dynamic ranges | Excel Worksheet Functions | |||
sumproduct vs dsum | Excel Worksheet Functions | |||
Sumproduct function not working | Excel Worksheet Functions | |||
adding two sumproduct formulas together | Excel Worksheet Functions |