+ Reply to Thread
Results 1 to 4 of 4

Value from another cell but...

  1. #1
    Registered User
    Join Date
    07-01-2005
    Posts
    2

    Value from another cell but...

    I want a cell to have a value that comes from another cell, but the cell from which it comes depends on what is in a 3rd cell. I'm not even sure this is possible

    For example

    Cells A1 = Hello, A2 = Bye
    The value in cell C1 will come from a cell in the A col, but which cell exactly depends on the value in he cell B1
    So if B1 = 1, C1 takes the value from A1 (Hello). Is B1 = 2, C1 = Bye. If B1 = 15, C1 takes its value in cell A15, and so on.

    So is that possible? If so, how do i do that?

  2. #2
    Bob Phillips
    Guest

    Re: Value from another cell but...

    =INDIRECT("A""&B1)

    --
    HTH

    Bob Phillips

    "Cthulhu" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I want a cell to have a value that comes from another cell, but the cell
    > from which it comes depends on what is in a 3rd cell. I'm not even sure
    > this is possible
    >
    > For example
    >
    > Cells A1 = Hello, A2 = Bye
    > The value in cell C1 will come from a cell in the A col, but which cell
    > exactly depends on the value in he cell B1
    > So if B1 = 1, C1 takes the value from A1 (Hello). Is B1 = 2, C1 = Bye.
    > If B1 = 15, C1 takes its value in cell A15, and so on.
    >
    > So is that possible? If so, how do i do that?
    >
    >
    > --
    > Cthulhu
    > ------------------------------------------------------------------------
    > Cthulhu's Profile:

    http://www.excelforum.com/member.php...o&userid=24848
    > View this thread: http://www.excelforum.com/showthread...hreadid=383969
    >




  3. #3
    Peo Sjoblom
    Guest

    RE: Value from another cell but...

    In C1 put

    =INDEX(A:A,B1)


    Regards,

    Peo Sjoblom

    "Cthulhu" wrote:

    >
    > I want a cell to have a value that comes from another cell, but the cell
    > from which it comes depends on what is in a 3rd cell. I'm not even sure
    > this is possible
    >
    > For example
    >
    > Cells A1 = Hello, A2 = Bye
    > The value in cell C1 will come from a cell in the A col, but which cell
    > exactly depends on the value in he cell B1
    > So if B1 = 1, C1 takes the value from A1 (Hello). Is B1 = 2, C1 = Bye.
    > If B1 = 15, C1 takes its value in cell A15, and so on.
    >
    > So is that possible? If so, how do i do that?
    >
    >
    > --
    > Cthulhu
    > ------------------------------------------------------------------------
    > Cthulhu's Profile: http://www.excelforum.com/member.php...o&userid=24848
    > View this thread: http://www.excelforum.com/showthread...hreadid=383969
    >
    >


  4. #4
    Registered User
    Join Date
    07-01-2005
    Posts
    2
    Both ways work!
    Thanks a lot for the help!

+ 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