+ Reply to Thread
Results 1 to 17 of 17

Function VLookup but need Index-Match

  1. #1
    Registered User
    Join Date
    05-02-2005
    Posts
    56

    Question Function VLookup but need Index-Match

    Hello Guys

    Newbie query

    I need to know how to get D2 to look at C2 pick the number then refer to L, M and apply the correct formula

    Like in image A2 the Panasonic DMP-BDT230EB attracts a VAT of 2 in C2 so D2 need to look L2 and M2 and work out the 20% value.


    https://dl.dropboxusercontent.com/u/...20Function.png

    Hope it makes sense

    Thorrrr
    Last edited by thorrrr; 10-30-2013 at 04:00 PM.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Function Query Newbie

    Hi Thorrrr,

    Dead easy to provide an answer for, but unfortunately your thread title doesn't comply with forum rule #1.
    If you can change it to something more descriptive of the issue then I'll be able to provide you with the solution to your query.

    BSB.

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Function Query Newbie

    I think that this is what you are after:
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Registered User
    Join Date
    05-02-2005
    Posts
    56
    Error reply please ignore
    Last edited by thorrrr; 10-30-2013 at 04:02 PM.

  5. #5
    Registered User
    Join Date
    05-02-2005
    Posts
    56

    Re: Function Query Newbie

    Hi newdoverman

    That looks great but i wanted the D column to show the value in money not copy over M column values.

    Sorry might have been my poor explanation so in D2 it should say £16.99 then the E column add B2 and D2 to get full price.

    I need to show VAT amount after it works out which one to apply.

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Function VLookup but need Index-Match

    Is this more what you had in mind?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-02-2005
    Posts
    56

    Re: Function VLookup but need Index-Match

    Hi got an issues with L4 1 M4 0% in my main data its returning #N/A it should return £0.00 !!
    It i breaking all the other calculations on the sheet
    Last edited by thorrrr; 10-30-2013 at 05:57 PM.

  8. #8
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Function VLookup but need Index-Match

    Difficult to diagnose without seeing the problematic data in question...

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Function VLookup but need Index-Match

    You don't say where the error is but this should help.
    Attached Files Attached Files

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Function VLookup but need Index-Match

    The error means that a value is not available. Is the formula correctly getting the values from $L$1:$M$4? The only way that I can reproduce the error is to delete the 1 from that range.

  11. #11
    Registered User
    Join Date
    05-02-2005
    Posts
    56

    Re: Function VLookup but need Index-Match

    INDEX-MatchError.xlsxStill breaking see here copy of sheet

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Function VLookup but need Index-Match

    The error values are cause by numbers in column D that are stored as TEXT. Click on the value in Column D and click on the yellow diamond and Convert to Number.
    Last edited by newdoverman; 10-30-2013 at 06:44 PM.

  13. #13
    Registered User
    Join Date
    05-02-2005
    Posts
    56

    Re: Function VLookup but need Index-Match

    Hi Newdoverman

    Done as you said posted the sheet back to the link i gave made no difference !!!!

  14. #14
    Registered User
    Join Date
    05-02-2005
    Posts
    56

    Re: Function VLookup but need Index-Match

    Ok i have done it cheers for all you patience and help

  15. #15
    Registered User
    Join Date
    05-02-2005
    Posts
    56

    Re: Function VLookup but need Index-Match

    https://dl.dropboxusercontent.com/u/...atchError.xlsxThey are all displaying correct values but all cells in E column have an error
    Last edited by thorrrr; 10-30-2013 at 06:52 PM.

  16. #16
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Function VLookup but need Index-Match

    Just ignore the error. The results are correct. To get an explanation of the error, click on one of the cells in column E then click on the diamond and click on Help on this error.

  17. #17
    Registered User
    Join Date
    05-02-2005
    Posts
    56

    Re: Function VLookup but need Index-Match

    All sorted with a weird workaround but thank you to everybody great site with fast help

  18. #18
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Function VLookup but need Index-Match

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Replies: 2
    Last Post: 03-10-2013, 09:56 PM
  2. newbie query
    By chakomako in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-13-2007, 12:22 PM
  3. Query based on logged on user (Newbie)
    By Tim Miller in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-20-2005, 02:05 PM
  4. I'm a newbie please help with my function
    By colincannon in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-09-2005, 05:05 PM
  5. [SOLVED] Newbie needs a function (how sad)
    By tjr in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-24-2005, 06:07 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