LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Need help with Excel Formula for calculating sum of products depending on criteria

Hi Archie,

Am Mon, 12 Mar 2012 15:26:24 +0100 schrieb Claus Busch:

D21: =SUMIF(D4:D16,"DI",C4:C16)
D20: =SUMIF(D4:D16,"TP",C4:C16)
D19: =SUM(C4:C16)-D20-D21


or you use for SP:
=SUMPRODUCT(((D4:D16="SP")+(D4:D16=""))*C4:C16)


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
 
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 Formula Not Calculating with 2 criteria DogLover Excel Programming 2 November 22nd 09 11:56 PM
calculating values depending on columns in different wkbooks. Lindy Excel Programming 2 October 23rd 08 09:30 AM
Calculating Daily Averages for Different Products [email protected] Excel Programming 3 August 1st 06 08:27 PM
calculating different percentages depending on amount pgruening Excel Discussion (Misc queries) 6 October 24th 05 05:57 PM
Calculating totals depending on cell value Gary Paris Excel Programming 5 December 24th 04 10:34 PM


All times are GMT +1. The time now is 02:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"