Sumproduct and adding the total time in a column
Sometimes Sumproduct just gets me!
This is what I have: The 1st array works as does the 2nd array, as in this case it returns 1, which is correct. But, when I then want to sum all the time in column O that corresponds to the 2 correct arrays I get a #Value. So far I have tried 3-4 variations and cannot get it to work properly. =SUMPRODUCT(('[Activity Detail.htm]Detail'!$D$8:$D$65000=$C14)*('[Activity Detail.htm]Detail'!$K$8:$K$65000=D$2)*('[Activity Detail.htm]Detail'!$O$8:$O$65000)) Thanks, Hans |
Sumproduct and adding the total time in a column
First try the smaller range to see it works. Example:
Detail.htm]Detail'!$D$8:$D$650 " wrote: Sometimes Sumproduct just gets me! This is what I have: The 1st array works as does the 2nd array, as in this case it returns 1, which is correct. But, when I then want to sum all the time in column O that corresponds to the 2 correct arrays I get a #Value. So far I have tried 3-4 variations and cannot get it to work properly. =SUMPRODUCT(('[Activity Detail.htm]Detail'!$D$8:$D$65000=$C14)*('[Activity Detail.htm]Detail'!$K$8:$K$65000=D$2)*('[Activity Detail.htm]Detail'!$O$8:$O$65000)) Thanks, Hans |
Sumproduct and adding the total time in a column
check to see if there an #value somewhere in column O.
verify there are no merged cells " wrote: Sometimes Sumproduct just gets me! This is what I have: The 1st array works as does the 2nd array, as in this case it returns 1, which is correct. But, when I then want to sum all the time in column O that corresponds to the 2 correct arrays I get a #Value. So far I have tried 3-4 variations and cannot get it to work properly. =SUMPRODUCT(('[Activity Detail.htm]Detail'!$D$8:$D$65000=$C14)*('[Activity Detail.htm]Detail'!$K$8:$K$65000=D$2)*('[Activity Detail.htm]Detail'!$O$8:$O$65000)) Thanks, Hans |
All times are GMT +1. The time now is 03:27 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com