Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kiwi
 
Posts: n/a
Default How do I use text in a cell as a range name in a formula


If cell A1 had the text TEST in it
and TEST is the name I have given to a group of cells using the name box
what formula can I use to give me the sum of TEST, thats is the sum of the
cells in the group called TEST.
I understand that I can simply have =SUM(TEST), but I want the formula to
refer to Cell A1 to get the name ie =SUM(A1) doesn't work obviously

Any help appreciated
Thank you
  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default

In this case, you want to use the INDIRECT function. E.g.,

=SUM(INDIRECT(A1))


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Kiwi" wrote in message
...

If cell A1 had the text TEST in it
and TEST is the name I have given to a group of cells using the
name box
what formula can I use to give me the sum of TEST, thats is the
sum of the
cells in the group called TEST.
I understand that I can simply have =SUM(TEST), but I want the
formula to
refer to Cell A1 to get the name ie =SUM(A1) doesn't work
obviously

Any help appreciated
Thank you



  #3   Report Post  
Kiwi
 
Posts: n/a
Default

Thanks Chip, easy when you know how

"Chip Pearson" wrote:

In this case, you want to use the INDIRECT function. E.g.,

=SUM(INDIRECT(A1))


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Kiwi" wrote in message
...

If cell A1 had the text TEST in it
and TEST is the name I have given to a group of cells using the
name box
what formula can I use to give me the sum of TEST, thats is the
sum of the
cells in the group called TEST.
I understand that I can simply have =SUM(TEST), but I want the
formula to
refer to Cell A1 to get the name ie =SUM(A1) doesn't work
obviously

Any help appreciated
Thank you




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
Adding contents of one cell to a range of cells. CLJinVA Excel Worksheet Functions 1 February 10th 05 10:19 PM
Copy text from same cell on every sheet to title sheet? Jon Excel Discussion (Misc queries) 2 February 9th 05 03:11 PM
cannot view all of text in large cell, even though I have it to w. sydme Excel Discussion (Misc queries) 1 December 27th 04 03:26 PM
Formatting a cell as "text" in the number catagory. Ed Excel Worksheet Functions 3 December 7th 04 07:12 PM
Returning a Value to a Cell Based on a Range of Uncertain Size amc422 Excel Worksheet Functions 7 November 14th 04 03:03 PM


All times are GMT +1. The time now is 08:55 AM.

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

About Us

"It's about Microsoft Excel"