Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 683
Default help with formula

=SUMPRODUCT(--(Sheet1!B2:B200="D"),--(Sheet1!C2:C200=4),D2:D200)

When I use this formula, the result is 0.

A B C D

1 D 4 2
2 B 2 3
3 D 5 5
4 A 2 2
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 683
Default help with formula

I did not finish b4 posting.

if you look at the example that i used, the result with this formula should
be 2. But again I am getting 0. It's supposed to find where column B has a
"D" and then look in the same row over to column C and if there is a "4"
there, then sum the hours in column D

Thank You
Brian

"Brian" wrote:

=SUMPRODUCT(--(Sheet1!B2:B200="D"),--(Sheet1!C2:C200=4),D2:D200)

When I use this formula, the result is 0.

A B C D

1 D 4 2
2 B 2 3
3 D 5 5
4 A 2 2

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default help with formula


It is working fine with me.


--
a7n9


------------------------------------------------------------------------
a7n9's Profile: http://www.excelforum.com/member.php...o&userid=32149
View this thread: http://www.excelforum.com/showthread...hreadid=562563

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 683
Default help with formula

could you set my example up on sheet1 while placing the formula in sheet2,
you should then see that the result is zero. I need the formula to be on a
seperate sheet.

Thank You
Brian

"a7n9" wrote:


It is working fine with me.


--
a7n9


------------------------------------------------------------------------
a7n9's Profile: http://www.excelforum.com/member.php...o&userid=32149
View this thread: http://www.excelforum.com/showthread...hreadid=562563


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default help with formula

Brian,

Because the # D2:D200 # is not qualified as being in sheet 1 XL will assume
that it is in the active sheet. Try:

=SUMPRODUCT(--(Sheet1!B2:B200="D"),--(Sheet1!C2:C200=4),Sheet1!D2:D200)

--
HTH

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"Brian" wrote in message
...
=SUMPRODUCT(--(Sheet1!B2:B200="D"),--(Sheet1!C2:C200=4),D2:D200)

When I use this formula, the result is 0.

A B C D

1 D 4 2
2 B 2 3
3 D 5 5
4 A 2 2





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default help with formula

Brian

This works for me.

=SUMPRODUCT(--(Sheet1!B2:B200="D"),--(Sheet1!C2:C200=4),Sheet1!D2:D200)


Gord Dibben MS Excel MVP

On Tue, 18 Jul 2006 11:32:02 -0700, Brian
wrote:

could you set my example up on sheet1 while placing the formula in sheet2,
you should then see that the result is zero. I need the formula to be on a
seperate sheet.

Thank You
Brian

"a7n9" wrote:


It is working fine with me.


--
a7n9


------------------------------------------------------------------------
a7n9's Profile: http://www.excelforum.com/member.php...o&userid=32149
View this thread: http://www.excelforum.com/showthread...hreadid=562563



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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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