Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to sum a named cell range?

Status
Not open for further replies.

JustATheory

IS-IT--Management
Feb 27, 2003
115
US
Greetings,

In Excel I name two cells and can select the range for instance:

range("one", "two").select is there a way that I can sum this range?

Thanks,
Andy
 
Like this ?
MsgBox Application.Sum(Range("one","two"))

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 




Hi,
[tt]
n = application.Sum([one], [two])
[/tt]


Skip,

[glasses] To be safe on the [red]FOURTH[/red],
Don't take a [red]FIFTH[/red] on the [red]THIRD[/red]
Or you might not come [red]FORTH[/red] on the [red]FIFTH[/red]
[red][highlight blue]FORTH[/highlight][/red][white][highlight red]WITH[/highlight][/white] [tongue]
 
Thank you both, they both work well.

Thanks,
Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top