Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Can I made a cell reference variable? i.e. =sum(D4:D(4+A2))


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Can I made a cell reference variable? i.e. =sum(D4:D(4+A2))

One way, use INDIRECT:
=SUM(INDIRECT("D4:D"&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:D(4+A2))


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Can I made a cell reference variable? i.e. =sum(D4:D(4+A2))

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

....

Why use a volatile function?

=SUM(D4:INDEX(D:D,4+A2))
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
Variable Cell Reference Andrew Excel Discussion (Misc queries) 3 December 29th 06 03:35 PM
Can the column index in a cell address be made variable? cyberdude Excel Discussion (Misc queries) 1 November 20th 05 02:47 AM
How do I use a variable in a cell reference? jsp377 Excel Discussion (Misc queries) 3 January 27th 05 01:43 PM
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. [email protected] Excel Worksheet Functions 2 December 11th 04 12:05 AM
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable [email protected] Excel Worksheet Functions 2 December 11th 04 12:00 AM


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