View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Michael Dam Michael Dam is offline
external usenet poster
 
Posts: 1
Default DSUM with variable Criteria

I'm trying to let my DSUM-formula run along an accountsheet. Need to have a
possibility to let criteria be variable:

Amount Account
100 100
50 200
25 300

=DSUM(Q12:R15;"Amount";Q21:Q22)

Criteria Result
Account 25
300

Above is working, but;

=DSUM(Q12:R15;"Amount";"Account"&300)

Is this in any way possible??


Thks
Michael