#1   Report Post  
Posted to microsoft.public.excel.misc
erik550
 
Posts: n/a
Default sumproduct


Using sumproduct I want to do something like this

SUMPRODUCT((a2:a10<e2)*(b2:b10+c2:c10=5))

where i add cells in different columns (but same row) and condition on
their sum. Can it be done?

Thanks
Erik


--
erik550
------------------------------------------------------------------------
erik550's Profile: http://www.excelforum.com/member.php...o&userid=32086
View this thread: http://www.excelforum.com/showthread...hreadid=519817

  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default sumproduct

Try this:


=SUMPRODUCT(--($A$2:$A$10<E2),--($B$2:$B$10+$C$2:$C$10=5))

"erik550" wrote:


Using sumproduct I want to do something like this

SUMPRODUCT((a2:a10<e2)*(b2:b10+c2:c10=5))

where i add cells in different columns (but same row) and condition on
their sum. Can it be done?

Thanks
Erik


--
erik550
------------------------------------------------------------------------
erik550's Profile: http://www.excelforum.com/member.php...o&userid=32086
View this thread: http://www.excelforum.com/showthread...hreadid=519817


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 05:21 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"