Thread: =sumif function
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_] Ashish Mathur[_2_] is offline
external usenet poster
 
Posts: 1,766
Default =sumif function

Hi,

You can already do that. You can use a formula like

=SUMIF(C6:C11,C14,INDIRECT(G6))

where G6 holds the range to be summed I.e. D6:D11

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Lim" wrote in message
...
=sumif(range,criteria,sum_range)
Suggestion: to allow the sumif function to work even if (....sum_range) be
replaced by cell formula, just like vlookup function. example
=vlookup(criteria,range,off-set column,false) where offset can be replaced
by a cell with value 1, 2, 3 etc
What I mean for sumif function, if sum_range (is column B:B) can be
replaced
by a cell contains "B:B" string.
Rgds,



----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions