Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Do I need SUMPRODUCT?

The following is a formula I am using that totals a range meeting a
single criteria.

=SUMIF(D2:D254,D507,E2:E254)

However, I now want to give an additional condition; that is
(F2:F254) = ""

I think I want SUMPRODUCT but I am not sure how to use it?
Can anyone help?
My thanks to those who can.

Dave Moore

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Do I need SUMPRODUCT?


Got it!

=SUMPRODUCT(($D$2:$D502=D507)*($F$2:$F502="")*($E$ 2:$E502))

works for me.

Are there any shorter versions?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default Do I need SUMPRODUCT?

Hi

Not shorter, but this one may give you some gain in speed, when you have a
lot of such formulas

=SUMPRODUCT(--($D$2:$D502=D507),--($F$2:$F502=""),($E$2:$E502))


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"DaveMoore" wrote in message
oups.com...

Got it!

=SUMPRODUCT(($D$2:$D502=D507)*($F$2:$F502="")*($E$ 2:$E502))

works for me.

Are there any shorter versions?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Do I need SUMPRODUCT?

SUM(($D$2:$D502=D507)*($F$2:$F502="")*($E$2:$E502) )

Fewer key stroke than sumproduct
ctrlshift enter (not just enter)


"DaveMoore" wrote:


Got it!

=SUMPRODUCT(($D$2:$D502=D507)*($F$2:$F502="")*($E$ 2:$E502))

works for me.

Are there any shorter versions?


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
Sumproduct Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 10:22 PM.

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"