+ Reply to Thread
Results 1 to 15 of 15

Matrix Lookup

  1. #1
    Registered User
    Join Date
    07-18-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    88

    Matrix Lookup

    Hi,

    I've been trying to get my head around how to do this for a while now, I know I need to use a combination of match and vlookup etc. but I'm not sure how.

    Please Login or Register  to view this content.
    I need to convert prices in a but vary the colum reference based on the value

    e.g. A product costs 1.15 AUD, I would then like to be able to automatically convert it to 0.79 EUR i.e. lookup of the value with the column number dependant on the value in AUD. So if I were to have 2.25 NZD it would return 1.19 EUR.

    Let me know if you need further explanation,
    Thanks

  2. #2
    Forum Contributor
    Join Date
    08-15-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    245

    Re: Matrix Lookup

    How about a VLOOKUP nested with an HLOOKUP?
    <--- If you like the answer, press *.

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Matrix Lookup

    How will your input like 1.15 AUD be formatted ? In 2 cells, custom format?
    Perhaps post a sample sheet - Thx

  4. #4
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Matrix Lookup

    Please try this file.
    Attached Files Attached Files
    Please click 'Add reputation', if my answer helped you.

  5. #5
    Registered User
    Join Date
    07-18-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Matrix Lookup

    Quote Originally Posted by ramananhrm View Post
    Please try this file.
    I forgot to say the data with the currency conversions is located on in a different sheet. Also, the data I always want to pull is the EUR version and so I just need to reference the same column as the data I input.
    Last edited by M1234; 08-22-2013 at 09:18 AM.

  6. #6
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Matrix Lookup

    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Rgd
    RT
    If my answer(s) helped you, please add me reputation by click on *

  7. #7
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Matrix Lookup

    I was working on something almost identical to ramanhanhrm except I made the value of a currency a drop-down subject to the Country drop-down option.

    Probably not added much more to what is here already but here it is:

    CURRENCY CONVERTER.xlsx

    What's interesting M1234 is that I refer to these 3 currencies almost daily!!

  8. #8
    Registered User
    Join Date
    07-18-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Matrix Lookup

    This works perfectly in the file ramananhrm uploaded but when I put it into my file it just comes up with #N/A?

  9. #9
    Registered User
    Join Date
    07-18-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Matrix Lookup

    SASD.png

    Here's the error after I click evaluation

  10. #10
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Matrix Lookup

    M1234 are you aware you will need to Name your columns and/or rows on your spreadsheet, (select the range and give it a name in the 'Name Box'), plus the INDIRECT formula in the Data Validation will need to be changed to match the cell you are referring to if using a second Drop down selection as in my spreadsheet.

  11. #11
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Matrix Lookup

    See the name range in the file ramananhrm uploaded. You have to define the range.

    You can try my formula without defining name range

  12. #12
    Registered User
    Join Date
    07-18-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Matrix Lookup

    Yes I have changed the cell references to make them applicable to my own sheet as you can see here:

    http://s14.postimg.org/dbgav68hd/SASD.png

  13. #13
    Registered User
    Join Date
    07-18-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Matrix Lookup

    Quote Originally Posted by rajeshturaha View Post
    See the name range in the file ramananhrm uploaded. You have to define the range.

    You can try my formula without defining name range
    I have created named ranges now but it still returns the same error. Sorry for this confusion, I can't figure out why it isn't working!

  14. #14
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Matrix Lookup

    Can you plz send the file where you are getting error.

  15. #15
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Matrix Lookup

    Please try this file.

    I have solved without the using the 'Names'
    Attached Files Attached Files
    Last edited by ramananhrm; 08-23-2013 at 01:10 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Lookup in matrix
    By julianF in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-06-2013, 06:28 AM
  2. Matrix 2-Way Lookup
    By Adam Beauregard in forum Excel General
    Replies: 9
    Last Post: 12-03-2011, 12:05 PM
  3. Two-Way Lookup from a Matrix
    By andrewc in forum Excel General
    Replies: 1
    Last Post: 09-24-2009, 11:32 AM
  4. Matrix lookup
    By matthewcantrell in forum Excel General
    Replies: 1
    Last Post: 07-27-2009, 05:51 PM
  5. lookup in MATRIX
    By Forumchanin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-13-2005, 09:35 AM

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