Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default using cell reference in a formula

What I am trying to do is something like this. Using B17 which will
return a letter, say G so that this formula (or actually a corrected
version of it!)
=SUM("B17"&2:"B17"&2000)

would give =SUM(G2:G2000)

Could anyone suggest how this can be done,
Thanks,
Barbara

  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default using cell reference in a formula

try
=sum(indirect(b17&"2:"&b17&"2000"))

" wrote:

What I am trying to do is something like this. Using B17 which will
return a letter, say G so that this formula (or actually a corrected
version of it!)
=SUM("B17"&2:"B17"&2000)

would give =SUM(G2:G2000)

Could anyone suggest how this can be done,
Thanks,
Barbara


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default using cell reference in a formula

Hi Barbara,

Try
=SUM(INDIRECT(B17&"2:"&B17&"2000"))

HTH
Martin


wrote in message
ups.com...
What I am trying to do is something like this. Using B17 which will
return a letter, say G so that this formula (or actually a corrected
version of it!)
=SUM("B17"&2:"B17"&2000)

would give =SUM(G2:G2000)

Could anyone suggest how this can be done,
Thanks,
Barbara



  #5   Report Post  
Posted to microsoft.public.excel.misc
No Name
 
Posts: n/a
Default using cell reference in a formula

Thanks guys that worked exactly how I needed it.
Barbara

wrote in message
ups.com...
What I am trying to do is something like this. Using B17 which will
return a letter, say G so that this formula (or actually a corrected
version of it!)
=SUM("B17"&2:"B17"&2000)

would give =SUM(G2:G2000)

Could anyone suggest how this can be done,
Thanks,
Barbara



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
format a cell with a formula so an empty reference cell shows blan M2 Excel Discussion (Misc queries) 3 November 7th 06 10:42 PM
Using a cell reference within a cell reference in a formula david Excel Worksheet Functions 2 July 1st 06 01:05 PM
How do I leave formula cell blank if 2nd reference cell is empty? Liana S Excel Discussion (Misc queries) 2 October 21st 05 04:38 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM


All times are GMT +1. The time now is 05:36 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"