Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
0-0 Wai Wai ^-^
 
Posts: n/a
Default Variable Cell Reference


Hi.
I have forumlas which reference to a lot of cells, eg:
=...A1, ...A1, ... A1+A$2-$A3...
....B1, ...B1, ...B1+B$2-$B3...
.... ...
.... ...

Is it possible to do something like:
=...A1, ...Same as left, ... Same as left + (SameButRowDown1) +
(SameButRowDown2)
....SamebutColRight1, ... Same as left + (SameButRowDown1) + (SameButRowDown2)
.... ...
.... ...

"Same as left" means the referencing is the same as the left cell reference. so
for "=...$C$5, ...Same as left", it's equal to "=...$C$5, ...$C$5"
"RowDown1" means switching the row down by 1, eg from A1 to A2.
"ColRight1" means switching the column to the right by 1, eg from A1 to B1.

Any workaround is acceptable. You may not need to do exactly the same.
Thanks a lot!



--
Additional info about my computer:
- Office XP
- Windows XP Pro


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bman342
 
Posts: n/a
Default Variable Cell Reference

Try the Offset function.
-b

"0-0 Wai Wai ^-^" wrote:


Hi.
I have forumlas which reference to a lot of cells, eg:
=...A1, ...A1, ... A1+A$2-$A3...
....B1, ...B1, ...B1+B$2-$B3...
.... ...
.... ...

Is it possible to do something like:
=...A1, ...Same as left, ... Same as left + (SameButRowDown1) +
(SameButRowDown2)
....SamebutColRight1, ... Same as left + (SameButRowDown1) + (SameButRowDown2)
.... ...
.... ...

"Same as left" means the referencing is the same as the left cell reference. so
for "=...$C$5, ...Same as left", it's equal to "=...$C$5, ...$C$5"
"RowDown1" means switching the row down by 1, eg from A1 to A2.
"ColRight1" means switching the column to the right by 1, eg from A1 to B1.

Any workaround is acceptable. You may not need to do exactly the same.
Thanks a lot!



--
Additional info about my computer:
- Office XP
- Windows XP Pro



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
0-0 Wai Wai ^-^
 
Posts: n/a
Default Variable Cell Reference

Try the Offset function.
-b


I have read the manual.
But I'm not sure how this can answer the question.
Would you mind explaining a bit more?

--
Additional info about my computer:
- Office XP
- Windows XP Pro


"bman342" ¦b¶l¥ó
¤¤¼¶¼g...
Try the Offset function.
-b

"0-0 Wai Wai ^-^" wrote:


Hi.
I have forumlas which reference to a lot of cells, eg:
=...A1, ...A1, ... A1+A$2-$A3...
....B1, ...B1, ...B1+B$2-$B3...
.... ...
.... ...

Is it possible to do something like:
=...A1, ...Same as left, ... Same as left + (SameButRowDown1) +
(SameButRowDown2)
....SamebutColRight1, ... Same as left + (SameButRowDown1) +

(SameButRowDown2)
.... ...
.... ...

"Same as left" means the referencing is the same as the left cell reference.

so
for "=...$C$5, ...Same as left", it's equal to "=...$C$5, ...$C$5"
"RowDown1" means switching the row down by 1, eg from A1 to A2.
"ColRight1" means switching the column to the right by 1, eg from A1 to B1.

Any workaround is acceptable. You may not need to do exactly the same.
Thanks a lot!



--
Additional info about my computer:
- Office XP
- Windows XP Pro





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
Cell Reference with Range Name SCSC Excel Worksheet Functions 2 March 23rd 06 11:32 PM
why a reference to an empty cell is not considered empty Nicoscot Excel Discussion (Misc queries) 10 March 10th 06 05:36 AM
Bring the cell format along with the cell value from a reference c Lorrie Horgen Excel Worksheet Functions 1 January 20th 06 09:52 PM
Getting contents of a cell when cell reference is in the sheet A Nelson Excel Discussion (Misc queries) 3 October 5th 05 06:46 PM
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 03:31 PM.

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"