+ Reply to Thread
Results 1 to 4 of 4

Formula to return a value from a list

  1. #1
    Registered User
    Join Date
    06-25-2013
    Location
    Jersey
    MS-Off Ver
    Excel 2010
    Posts
    2

    Formula to return a value from a list

    Hi, I am sure this is very simple, I have spent a lot of time trying to work it out with no luck! I have a table i.e. Levels 1 - 7 in cells C4:C10 with relevant hours in cells d4:d10 i.e. Level 1 = 6, Level 2 = 12, Level 3 = 18, Level 4 = 21, Level 5 = 27, Level 6 = 60, Level 7 = 90 - I then have a seperate table with a drop down list 1-7 and in the next column I want it to return the number of hours i.e. if I choose level 1 in cell c15 I want cell d15 to return 6. The table that I have the Levels and hours in could change i.e. level 1 could change to 12 hours etc.

    I hope I have explained myself clearly enough! Thank you in advance for your help!

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula to return a value from a list

    =index(d4:d10,match(your cell with drop down list,c4:c10,0))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    06-25-2013
    Location
    Jersey
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Formula to return a value from a list

    Thank you so much, very quick and absoutely what I needed :-)

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula to return a value from a list

    ........................

+ 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