+ Reply to Thread
Results 1 to 8 of 8

Vlookup two variables

  1. #1
    Registered User
    Join Date
    01-13-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    60

    Vlookup two variables

    HI,

    I am trying to plot a value within a cashflow based on two descriptions - a month (number) and description (text). I have tried a formula in cell F8 in the "Asset Base & Capex" sheet.

    Any ideas would be greatly apprecaited.

    PERE
    Attached Files Attached Files

  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: Vlookup two variables

    Can you pls tell us which is the expected result in F8 and why?
    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
    01-13-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: Vlookup two variables

    My goal is to have the Capex amount move anywhere along row 8 based on a reference to "Plant & Equipment" and the relevant Month. I.e. if F8 looksup Plant & Equipment in the "Assumptions" sheet, it will look at the month the payment is to occur i.e. month 10 and the amount i.e. $500,000. If you change the month or the amount, my goal is to have row 8 (in "Asset Base & Capex" sheet) plot the value automatically.

  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: Vlookup two variables

    In F8 and copy across??

    =IFERROR(INDEX(Assumptions!$C$4:$C$10,MATCH($A$5,Assumptions!$A$4:$A$10,0),MATCH(F$2,Assumptions!$B$4:$B$10,0)),"")

  5. #5
    Registered User
    Join Date
    01-13-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: Vlookup two variables

    That works however I need it to look up the description "Plant & Equipment" too.

  6. #6
    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: Vlookup two variables

    =IFERROR(INDEX(Assumptions!$C$4:$C$10,MATCH($A$5,Assumptions!$A$4:$A$10,0),MATCH(F$2,Assumptions!$B$4:$B$10,0)),"")

    The red part of the formula does this.

  7. #7
    Registered User
    Join Date
    01-13-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: Vlookup two variables

    Perfect Thanks!

  8. #8
    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: Vlookup two variables

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

+ 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