+ Reply to Thread
Results 1 to 5 of 5

Thread: Is there a function to link a cell to a fomula?

  1. #1
    Registered User
    Join Date
    11-13-2008
    Location
    cincinnati
    Posts
    2

    Is there a function to link a cell to a fomula?

    New to the forums after spending the last 4 hours on the net trying to figure out a way to work something into my sheet. Below is a screen shot sample of something similar to what I am working on and what I need to do (hopefully):

    Screen Shot

    Basically I there are improvements and declines seen in the data given the persons age from the previous years data. What I want to be able to do is have the cell B1 with an Age put in between 18 and 35. Then the Cells between B8 through D8 call upon the improvement/decline from the chart below. To make it easy I have the ages correlating to the actual row that its in (age 18's improvements are in Row 18 and so on).

    So, is there something very simple that I am overlooking here? I tried nesting it together, but obviously its too many sets since you can only nest 7 at a time.

    Anyways, thanks for any help if someone can provide it. If not, thanks for looking anyways and trying.
    Last edited by dougdirt; 11-13-2008 at 02:38 AM.

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423
    Using your screenshot as an example you can use a standard INDEX:

    B8: =IF($B$1<18,"N/A",INDEX(B$18:B$35,$B$1-17,1))

    The above can be copied to C8:D8

  3. #3
    Registered User
    Join Date
    11-13-2008
    Location
    cincinnati
    Posts
    2
    Quote Originally Posted by DonkeyOte View Post
    Using your screenshot as an example you can use a standard INDEX:

    B8: =IF($B$1<18,"N/A",INDEX(B$18:B$35,$B$1-17,1))

    The above can be copied to C8:D8
    That worked great! Thanks doesn't seem like enough for all of the trouble you saved me, but thank you so much.

  4. #4
    Forum Guru rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: Is there a function to link a cell to a fomula?

    The formula of DonkeyOte works fine. I've done it with LOOKUP
    =LOOKUP($B$1,$A$13:$A$30,B13:B30)
    Attached Files Attached Files
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  5. #5
    Extremely Helpful member
    Join Date
    12-23-2006
    Location
    Belgium
    MS-Off Ver
    XL2003
    Posts
    6,127
    Hi Dougdirt and welcome to the board
    In the future it might be easier to post a small xls file of your data. In that way responding members won't have to type data in themselves to check if the answer they submit works

    Thx
    Quoting entire posts clutters the forum and makes threads hard to read !

    If you are pleased with a member's answer then use the Star icon to rate it

    Click here to see forum rules

+ 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.2.0