Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Sumif/SumProduct/lookup question

I want to insert subtotals only for items containing at least two specified
costs.

A B C
1 Item Name Cost Title Cost Value
2 Item 1 Cost 1 5
3 Item 1 Cost 2 3
4 Item 1 Cost 3 4
5 Item 1 Cost 4 1
6 Item 2 Cost 1 9
7 Item 3 Cost 3 6

This setup continues for 28,000 rows. I want to separately sum all the cost
values for each item number which contains both a cost 1 and cost 2. Are
conditional subtotals possible, so that only items meeting the criteria would
be subtotaled?

I would also be interested in capturing the value of the corresponding
item's cost 1 in the cell adjacent to the item's subtotal - in this example,
the value 5 from cell C2 would be insertee in the cell next to the item's new
subtotal. What formula could be used for this separate function?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Sumif/SumProduct/lookup question

Is there a better way to accomplish this? Instead of conditional; subtotals,
is it possible to extract all costs for every item which contains the two
specified costs and move them to a different tab in the spreadsheet? A pivot
table could then be used to provide item totals.

"Confused in TX" wrote:

I want to insert subtotals only for items containing at least two specified
costs.

A B C
1 Item Name Cost Title Cost Value
2 Item 1 Cost 1 5
3 Item 1 Cost 2 3
4 Item 1 Cost 3 4
5 Item 1 Cost 4 1
6 Item 2 Cost 1 9
7 Item 3 Cost 3 6

This setup continues for 28,000 rows. I want to separately sum all the cost
values for each item number which contains both a cost 1 and cost 2. Are
conditional subtotals possible, so that only items meeting the criteria would
be subtotaled?

I would also be interested in capturing the value of the corresponding
item's cost 1 in the cell adjacent to the item's subtotal - in this example,
the value 5 from cell C2 would be insertee in the cell next to the item's new
subtotal. What formula could be used for this separate function?

Thanks!

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
SUMIF or SUMPRODUCT or ?? Stumped Excel Discussion (Misc queries) 2 September 30th 09 09:44 PM
SumIF or SumProduct DS Excel Discussion (Misc queries) 2 September 22nd 09 08:12 PM
Sumproduct/SumIf T Excel Worksheet Functions 5 August 25th 08 07:36 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
Complicated SUMPRODUCT OR SUMIF question? angelila Excel Discussion (Misc queries) 5 January 10th 06 07:21 PM


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