![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 2
|
In colum A I have a range of ID's (different frequences of each ID), in column B I have a range of costs related to ech entry in A.
What I need is to show in C (in the row where the first ID appears) is the total of the value in B for each ID. For more info, i.e. attachment example, e-mail at p_appleby9@hotmail.com cheers |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
For a list beginning on row 1 enter...
=IF(COUNTIF($A$1:A1,A1)=1,SUMIF(A:A,A1,B:B),"") ...into cell C1 and copy down. [ This Message was edited by: Mark W. on 2002-04-23 09:09 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|