A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Can I made a cell reference variable? i.e. =sum(D4:D(4+A2))



 
 
Thread Tools Display Modes
  #1  
Old July 11th, 2008, 02:43 AM posted to microsoft.public.excel.worksheet.functions
Timothy
external usenet poster
 
Posts: 28
Default Can I made a cell reference variable? i.e. =sum(D4:D(4+A2))


  #2  
Old July 11th, 2008, 06:43 AM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
Default Can I made a cell reference variable? i.e. =sum(D4:D(4+A2))

One way, use INDIRECT:
=SUM(INDIRECT("D4"&4+A2))

p/s: Never leave the message area blank. Use it to elaborate on your query.
The subject line is just that, it's not the posting.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads: 15,500, Files: 352, Subscribers: 53
xdemechanik
---
"timothy" wrote in message
...

Can I made a cell reference variable? i.e. =sum(D4(4+A2))


  #3  
Old July 11th, 2008, 07:14 AM posted to microsoft.public.excel.worksheet.functions
Harlan Grove[_2_]
external usenet poster
 
Posts: 1,439
Default Can I made a cell reference variable? i.e. =sum(D4:D(4+A2))

"Max" wrote...
One way, use INDIRECT:
=SUM(INDIRECT("D4"&4+A2))

....

Why use a volatile function?

=SUM(D4:INDEX(D,4+A2))
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:15 AM.


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