ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Can I use a named range in the criteria for a sumif? (https://www.excelbanter.com/excel-worksheet-functions/156698-can-i-use-named-range-criteria-sumif.html)

rftmst

Can I use a named range in the criteria for a sumif?
 
I would like to use a test of <RANGENAME in the criteria section of a sumif
function?

Bob Phillips

Can I use a named range in the criteria for a sumif?
 
There is a very easy way to find out ... try it.


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"rftmst" wrote in message
...
I would like to use a test of <RANGENAME in the criteria section of a sumif
function?




No Name

Can I use a named range in the criteria for a sumif?
 
Just concatenate the comparison operator to the range.

=SUMIF(rng1,"<" & rangename,rng2)


"rftmst" wrote in message
...
I would like to use a test of <RANGENAME in the criteria section of a sumif
function?





All times are GMT +1. The time now is 01:27 PM.

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