Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vacation
 
Posts: n/a
Default sumproduct returns zero

The following formula gives me a zero result :
=SUMPRODUCT((B2:B18="joe")*(F2:F18"0"))

I want to count all occurences of values$0.00 in Column F only if column
B=Joe in a filtered list.

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ken Wright
 
Posts: n/a
Default sumproduct returns zero

Assuming your values in Col F are real numbers, take the quotes off the 0

=SUMPRODUCT((B2:B18="joe")*(F2:F180))

or

=SUMPRODUCT(--(B2:B18="joe"),--(F2:F180))

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

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



"vacation" wrote in message
...
The following formula gives me a zero result :
=SUMPRODUCT((B2:B18="joe")*(F2:F18"0"))

I want to count all occurences of values$0.00 in Column F only if column
B=Joe in a filtered list.

Thank you



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bruno Campanini
 
Posts: n/a
Default sumproduct returns zero

"vacation" wrote in message
...
The following formula gives me a zero result :
=SUMPRODUCT((B2:B18="joe")*(F2:F18"0"))

I want to count all occurences of values$0.00 in Column F only if column
B=Joe in a filtered list.


It should be:

=SUMPRODUCT((B2:B18="joe")*(F2:F180))

Bruno


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default sumproduct returns zero

Remove the quotes for your second condition...

=SUMPRODUCT((B2:B18="Joe")*(F2:F180))

For a filtered list, try the following...

=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(B2:B18,ROW(B2:B18)-ROW(B2),0,1))),--(B2:
B18="Joe"),--(F2:F180))

Hope this helps!

In article ,
"vacation" wrote:

The following formula gives me a zero result :
=SUMPRODUCT((B2:B18="joe")*(F2:F18"0"))

I want to count all occurences of values$0.00 in Column F only if column
B=Joe in a filtered list.

Thank you

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vacation
 
Posts: n/a
Default sumproduct returns zero

Thank you so much! I have been working on this for months.

"Ken Wright" wrote:

Assuming your values in Col F are real numbers, take the quotes off the 0

=SUMPRODUCT((B2:B18="joe")*(F2:F180))

or

=SUMPRODUCT(--(B2:B18="joe"),--(F2:F180))

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

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



"vacation" wrote in message
...
The following formula gives me a zero result :
=SUMPRODUCT((B2:B18="joe")*(F2:F18"0"))

I want to count all occurences of values$0.00 in Column F only if column
B=Joe in a filtered list.

Thank you






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vacation
 
Posts: n/a
Default sumproduct returns zero

Thank you very much! It works!

"Bruno Campanini" wrote:

"vacation" wrote in message
...
The following formula gives me a zero result :
=SUMPRODUCT((B2:B18="joe")*(F2:F18"0"))

I want to count all occurences of values$0.00 in Column F only if column
B=Joe in a filtered list.


It should be:

=SUMPRODUCT((B2:B18="joe")*(F2:F180))

Bruno



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ken Wright
 
Posts: n/a
Default sumproduct returns zero

You're very welcome :-)

Regards
Ken...........................

"vacation" wrote in message
...
Thank you so much! I have been working on this for months.

"Ken Wright" wrote:

Assuming your values in Col F are real numbers, take the quotes off the 0

=SUMPRODUCT((B2:B18="joe")*(F2:F180))

or

=SUMPRODUCT(--(B2:B18="joe"),--(F2:F180))

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

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



"vacation" wrote in message
...
The following formula gives me a zero result :
=SUMPRODUCT((B2:B18="joe")*(F2:F18"0"))

I want to count all occurences of values$0.00 in Column F only if
column
B=Joe in a filtered list.

Thank you






  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vacation
 
Posts: n/a
Default sumproduct returns zero

Thank you, that was fast.

"Domenic" wrote:

Remove the quotes for your second condition...

=SUMPRODUCT((B2:B18="Joe")*(F2:F180))

For a filtered list, try the following...

=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(B2:B18,ROW(B2:B18)-ROW(B2),0,1))),--(B2:
B18="Joe"),--(F2:F180))

Hope this helps!

In article ,
"vacation" wrote:

The following formula gives me a zero result :
=SUMPRODUCT((B2:B18="joe")*(F2:F18"0"))

I want to count all occurences of values$0.00 in Column F only if column
B=Joe in a filtered list.

Thank you


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
pleas help: sumproduct function returns #value or #ref error Jennie Excel Worksheet Functions 1 June 24th 05 04:51 PM
sumproduct function returns #value or #ref error Jennie Excel Worksheet Functions 4 June 24th 05 04:19 PM
returns calculation using sumproduct Stan Altshuller Excel Worksheet Functions 6 January 13th 05 12:25 AM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 06:39 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"