ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   =sumif function (https://www.excelbanter.com/excel-worksheet-functions/238938-%3Dsumif-function.html)

Lim

=sumif function
 
=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

Ashish Mathur[_2_]

=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




All times are GMT +1. The time now is 02:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com