Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
put this code in a module and save it as an *.xla. Function vertSUM(aTable As Range, aCell As Range) As double Dim tmp As Range Dim A As Integer Set tmp = aTable.Find(aCell.Text, LookIn:=xlValues) If Not tmp Is Nothing Then A = tmp.Row Do vertSUM = vertSUM + tmp.Offset(, 1).Value Set tmp = aTable.Find(aCell.Text, tmp, LookIn:=xlValues) If tmp Is Nothing Then Exit Function Loop While tmp.Row < A End If End Function let me know, Regards, stefano |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Matching check to payment amounts | Excel Worksheet Functions | |||
Need to find matching criteria in 1 column, then add amounts in a | Excel Worksheet Functions | |||
Matching columns and removing duplicates | Excel Worksheet Functions | |||
matching values in columns that contain duplicates | Excel Discussion (Misc queries) | |||
matching dupliclates and then looking up the corresponding amounts | Excel Discussion (Misc queries) |