View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.worksheet.functions
JLatham JLatham is offline
external usenet poster
 
Posts: 3,365
Default adding up vlookup values in one column and in between them

Does help, and often simplifies things, when you get more little details like
that, doesn't it. Thanks for jumping in with that one.

"T. Valko" wrote:

the numbers are decreasing in value as you
go down the column


Sum values in column A that are between 2 boundaries (inclusive):

99
87
66
59
50
49
28

C1 = 87
D1 = 49

=SUMIF(A1:A7,"<="&C1)-SUMIF(A1:A7,"<"&D1)


--
Biff
Microsoft Excel MVP


<observer wrote in message
...
Let me restate an earlier post so maybe its easier to understand...

I want to use vlookup for 2 values in a column and then I want to be
able to add them and all the numbers in between them (in that column)
to another cell. Can this be done and how? Please no VBA as I'm
not familiar with it. Thanks.