LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default adding values if the criteria in two columns are met

Try this:

=SUMPRODUCT(--(C2:C10=2008),--(D2:D10="No"),A2:A10)

Adjust the ranges to suit your real data.

Hope this helps.

Pete

On Feb 25, 12:36*am, Mayasmom
wrote:
I need a formula to add values with two criteria in a column. * I am trying
to add the values if two criteria are met. *For example below, I want to add
the total of the amount that are for 2008 and has a Status of No. The answer
would be $86,750. *I could use the Pivot Table, but It's not what I want to
use. *Is there another way to do it with a formula?

Amount * *Percent * * *Year * * * Status
*75,000 * * * * 3.00% * 2008 * *No
*6,750 *3.00% * 2008 * *No
*9,100.00 * * * 2.00% * 2009 * *Yes
*620,000 * * * *2.00% * 2009 * *No
*2,800 *2.00% * 2009 * *No

thank you,
mayasmom


 
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
Adding values from 1 workbook based on criteria & putting in anoth Rich Excel Discussion (Misc queries) 0 May 7th 09 08:29 PM
Adding 3 columns of criteria simultaneously Michael Joseph Cosgriff Excel Worksheet Functions 3 January 2nd 09 03:00 AM
Adding Columns if Criteria Met JD_Ottawa Excel Worksheet Functions 1 September 26th 08 10:00 PM
Adding data in columns based on criteria in more than one column.. Setts Excel Worksheet Functions 6 June 21st 08 07:23 AM
adding values based on criteria Brad Excel Worksheet Functions 1 July 20th 05 06:16 PM


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