Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mike EHB-Docks
 
Posts: n/a
Default adding named ranges

I have two ranges of cells named range1 and range2 but I am unable to add
them together as =sum(range1+range2) gives me an error

Any help would be appreciated.

Mike


  #2   Report Post  
Leo Heuser
 
Posts: n/a
Default

The correct syntax is
=SUM(range1,range2)

--
Best Regards
Leo Heuser

Followup to newsgroup only please.

"Mike EHB-Docks" skrev i en meddelelse
...
I have two ranges of cells named range1 and range2 but I am unable to add
them together as =sum(range1+range2) gives me an error

Any help would be appreciated.

Mike




  #3   Report Post  
Mike W
 
Posts: n/a
Default

thanks Leo, works perfectly. What about other operators like subtraction
and division in these circumstances?

Mike

"Leo Heuser" wrote in message
...
The correct syntax is
=SUM(range1,range2)

--
Best Regards
Leo Heuser

Followup to newsgroup only please.

"Mike EHB-Docks" skrev i en meddelelse
...
I have two ranges of cells named range1 and range2 but I am unable to

add
them together as =sum(range1+range2) gives me an error

Any help would be appreciated.

Mike






  #4   Report Post  
Leo Heuser
 
Posts: n/a
Default

You're welcome, Mike :-)

About the other operators:
It depends on, what you're trying to accomplish.
Which cells are to be subtracted, which cells
divided?
Please forward an example.

--
Best Regards
Leo Heuser

Followup to newsgroup only please.

"Mike W" skrev i en meddelelse
...
thanks Leo, works perfectly. What about other operators like subtraction
and division in these circumstances?

Mike

"Leo Heuser" wrote in message
...
The correct syntax is
=SUM(range1,range2)

--
Best Regards
Leo Heuser

Followup to newsgroup only please.

"Mike EHB-Docks" skrev i en meddelelse
...
I have two ranges of cells named range1 and range2 but I am unable to

add
them together as =sum(range1+range2) gives me an error

Any help would be appreciated.

Mike








  #5   Report Post  
Bernard Liengme
 
Posts: n/a
Default

=range1+range2 add
=range1-range2 subtract
=range1*range2 multiply
=range1/range2 divide
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Mike EHB-Docks" wrote in message
...
I have two ranges of cells named range1 and range2 but I am unable to add
them together as =sum(range1+range2) gives me an error

Any help would be appreciated.

Mike






  #6   Report Post  
Mike W
 
Posts: n/a
Default

Hi Bernard, that doesn't seem to work for me.

I have tried the following =sum(range1*range2) and =sum(range1)*(range2)
and just about every variation I can think of but always end up with an
error.

thanks to all,

Mike

"Bernard Liengme" wrote in message
...
=range1+range2 add
=range1-range2 subtract
=range1*range2 multiply
=range1/range2 divide
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Mike EHB-Docks" wrote in message
...
I have two ranges of cells named range1 and range2 but I am unable to add
them together as =sum(range1+range2) gives me an error

Any help would be appreciated.

Mike






  #7   Report Post  
Mike W
 
Posts: n/a
Default

I've got it. They say when the pupil is ready the teacher appears and so it
was here. Someone came into my office and asked what I was trying to do. I
told him and he showed me how to do it. =SUM(range1)-SUM(range2)
Brilliant, and works with all operators.

Thanks all for you help.

Mike
"Mike W" wrote in message
...
Hi Bernard, that doesn't seem to work for me.

I have tried the following =sum(range1*range2) and =sum(range1)*(range2)
and just about every variation I can think of but always end up with an
error.

thanks to all,

Mike

"Bernard Liengme" wrote in message
...
=range1+range2 add
=range1-range2 subtract
=range1*range2 multiply
=range1/range2 divide
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Mike EHB-Docks" wrote in message
...
I have two ranges of cells named range1 and range2 but I am unable to

add
them together as =sum(range1+range2) gives me an error

Any help would be appreciated.

Mike








  #8   Report Post  
Bernard Liengme
 
Posts: n/a
Default

The problem was the use of the term "named" in the original question.
To Excellers this has a special meaning: that the range has been given a
name in Excel.
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Mike W" wrote in message
...
I've got it. They say when the pupil is ready the teacher appears and so
it
was here. Someone came into my office and asked what I was trying to do.
I
told him and he showed me how to do it. =SUM(range1)-SUM(range2)
Brilliant, and works with all operators.

Thanks all for you help.

Mike
"Mike W" wrote in message
...
Hi Bernard, that doesn't seem to work for me.

I have tried the following =sum(range1*range2) and =sum(range1)*(range2)
and just about every variation I can think of but always end up with an
error.

thanks to all,

Mike

"Bernard Liengme" wrote in message
...
=range1+range2 add
=range1-range2 subtract
=range1*range2 multiply
=range1/range2 divide
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Mike EHB-Docks" wrote in message
...
I have two ranges of cells named range1 and range2 but I am unable to

add
them together as =sum(range1+range2) gives me an error

Any help would be appreciated.

Mike










Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro (Print) - Calling Named Ranges KGlennC Excel Discussion (Misc queries) 1 March 19th 05 09:20 PM
Named Ranges Donna Excel Discussion (Misc queries) 3 February 1st 05 11:35 PM
Poor Workbook Performance due to Named Ranges jrusso Excel Discussion (Misc queries) 2 January 10th 05 11:39 PM
How to Link named ranges from multiple Workbooks into a single Wo. PMAP_HELP Excel Discussion (Misc queries) 1 December 14th 04 05:51 PM
Named dynamic ranges, copied worksheets and graph source data WP Charts and Charting in Excel 1 November 28th 04 05:19 PM


All times are GMT +1. The time now is 09:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"