View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Caroline Caroline is offline
external usenet poster
 
Posts: 183
Default Vlookups (sum of)

Hi Mike

Thanks for your help, I think it's going to work, but here is the formula
and i can't get it to work. I thought it might be because the data in column
A was stored as text. I've changed it to numbers, but it still won't do it.
I tried it on a simple list on the same sheet, and it worked fine!

=SUMPRODUCT((Actuals!A2:A630=1830100)*(Actuals!A2 :A630=<1890300)*(C2:C630))

Thanks, sorry to be a pain!

"Caroline" wrote:

Hi

I hope someone can help. I think I've solved this before, but cannot
remember for the life of me how to do it!

I have some data that I want to produce some summary figures from:

E.G
Col A Col B

1000 10
1001 20
1002 30
1003 40
1004 50
1005 60

What I want to do is do a vlookup for say 1001 to 1003 inclusive, giving the
result as the sum of the figures in Col B. In this example, the answer would
be 90. Also, would it be possible to miss numbers out, e.g getting the
results from 1000 and then 1003 to 1005? Hope that makes sense and thanks in
advance for your help.

Caroline