+ Reply to Thread
Results 1 to 3 of 3

Variable Cell Reference

  1. #1
    0-0 Wai Wai ^-^
    Guest

    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. #2
    bman342
    Guest

    RE: 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. #3
    0-0 Wai Wai ^-^
    Guest

    Re: 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" <[email protected]> ¦b¶l¥ó
    news:[email protected] ¤¤¼¶¼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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1