Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default adding amounts if criterias are met

I have a sheet #2 where I would like to automaticlly update totals from
another sheet. The values are being input on sheet #1. Sheet #2 should total
the amounts from sheet#1 based on a category. So the formula must be smart
enough to search sheet#1 for the category (there may be multiple of the same
category) and then take those values and add or subtract then from the total
on sheet#2. Thus giving me the current value for all activity on sheet#1 for
that category.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default adding amounts if criterias are met

There are a number of solutions thta spring to mind.

The simplest just uses sumif functions
=sumif(Sheet1!A1:A100, "=MyCategory", Sheet1!B1:B100)

If you require to match multiple criteria then SumProduct formulas will do
the trick...
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

If you want an automated solution that puts all of your ctegories into a
table then a pivot table would be for the best.
http://peltiertech.com/Excel/Pivots/pivotstart.htm

--
HTH...

Jim Thomlinson


"Mercer" wrote:

I have a sheet #2 where I would like to automaticlly update totals from
another sheet. The values are being input on sheet #1. Sheet #2 should total
the amounts from sheet#1 based on a category. So the formula must be smart
enough to search sheet#1 for the category (there may be multiple of the same
category) and then take those values and add or subtract then from the total
on sheet#2. Thus giving me the current value for all activity on sheet#1 for
that category.

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
adding money amounts in excel Holden Caulfield New Users to Excel 1 September 25th 06 03:52 PM
Adding amounts that fall within a range pdgaustintexas Excel Worksheet Functions 6 January 21st 06 01:55 PM
Adding Amounts WmBrown New Users to Excel 3 December 31st 05 04:48 AM
adding amounts according to labels Wayne Cameron Excel Worksheet Functions 1 October 28th 05 01:16 AM
Adding amounts based on a conditional date ruleb Excel Discussion (Misc queries) 3 October 7th 05 11:25 PM


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