Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John
 
Posts: n/a
Default Selective summing of table items?

How do I write a function to sum the all the quatities in the item table
named named "Table" B2:C7 that match the product name in cell named "Product"
A1?
a b c
1 prodx
2 Item Quan
4 prodx 100
5 prodx 200
6 prody 20
7 prodz 40
8 prodx 100

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RagDyer
 
Posts: n/a
Default Selective summing of table items?

Try this:

=SUMIF(B2:B7,A1,C2:C7)
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"John" wrote in message
...
How do I write a function to sum the all the quatities in the item table
named named "Table" B2:C7 that match the product name in cell named

"Product"
A1?
a b c
1 prodx
2 Item Quan
4 prodx 100
5 prodx 200
6 prody 20
7 prodz 40
8 prodx 100


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Michl
 
Posts: n/a
Default Selective summing of table items?

=SUMIF(B4:B8,A1,C4:C8)

- John

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
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Sum items in a lookup table. JICDB Excel Discussion (Misc queries) 2 December 30th 05 02:13 PM
Pivot Table: How can I organize data items in a row? [email protected] Excel Discussion (Misc queries) 2 October 7th 05 07:55 PM
Can't group pivot table items by month in Excel scott_ensley Excel Discussion (Misc queries) 1 February 1st 05 08:41 PM
Pivot Table - Group by Month - Show Items with no data Dan Reynolds Excel Discussion (Misc queries) 0 November 28th 04 01:01 AM


All times are GMT +1. The time now is 05:24 AM.

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"