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: 225
Default Sum #s in a column that meet criteria based on another value in ro

Assuming header rows enter this in D2 and copy down
=SUMPRODUCT(--(A$2:A$100=A2),(C$2:C$100))

Change 100 to your last row...

"KKD" wrote:

I want to calculate the sums of certain values that contain matching criteria.

For example:
Ref Inv# Amt
xxy 27 $42.00
xxa 28 $13.50
xxy 29 $35.00

I want to have a fourth column that shows the total value of all invoices
that share a reference number. So in this instance it would end up looking
like this:

Ref Inv# Amt Total
xxy 27 $42.00 $77.00
xxt 28 $13.50 $13.50
xxy 29 $35.00 $77.00

Any suggestions?

--
KKD

 
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
sum column 3 if columns 1 and 2 meet criteria bokey Excel Worksheet Functions 3 November 26th 08 07:19 PM
need to move data to certain column if they meet criteria klafert Excel Worksheet Functions 0 May 17th 08 12:41 AM
If 2 cols meet a criteria then sum the 3rd column enna49 Excel Worksheet Functions 3 February 22nd 06 03:31 AM
Adding the sum of figures in one column if they meet 2 criteria Justine Burn via OfficeKB.com Excel Worksheet Functions 4 February 22nd 05 02:36 AM
Sum the values of one column, only if they meet certain criteria . Todd Pippin Excel Worksheet Functions 0 February 8th 05 04:37 PM


All times are GMT +1. The time now is 07:14 AM.

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"