+ Reply to Thread
Results 1 to 8 of 8

VLookup w/o column index no.?

  1. #1
    Registered User
    Join Date
    09-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Question VLookup w/o column index no.?

    Is it possible to create a look up table when there is not a definite column index? This is for a tax table. Example:

    Col A Col B Col C Col D Col E
    (at least) (but less than) (subtract) (multiply result by) (add to result)
    4500 5500 50 .20 10

    I am not used to these types of tables, any help would be appreciated.
    Thank you!
    Last edited by jenl387; 09-22-2011 at 03:02 PM.

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: VLookup w/o column index no.?

    Hi jenl387, and welcome to the forum! I'm pretty sure I can accomplish what you need but would appreciate a sample workbook to test. Here's how to attach one:
    Click the Go Advanced button, then click the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    Thanks!
    Tom
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Registered User
    Join Date
    09-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: VLookup w/o column index no.?

    Quote Originally Posted by tlafferty View Post
    Hi jenl387, and welcome to the forum! I'm pretty sure I can accomplish what you need but would appreciate a sample workbook to test. Here's how to attach one:
    Click the Go Advanced button, then click the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    Thanks!
    Tom
    Thank you Tom. Here goes.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: VLookup w/o column index no.?

    THink this does what you need =SUM(INDEX($L$6:$L$26,MATCH(F9,J6:J26,1)+1)*0.08,INDEX($P$6:$P$26,MATCH(F9,J6:J26,1)+1))

    which yeilds the result 270,000
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  5. #5
    Registered User
    Join Date
    09-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: VLookup w/o column index no.?

    Quote Originally Posted by scottylad2 View Post
    THink this does what you need =SUM(INDEX($L$6:$L$26,MATCH(F9,J6:J26,1)+1)*0.08,INDEX($P$6:$P$26,MATCH(F9,J6:J26,1)+1))

    which yeilds the result 270,000
    Thank you Scott! However, when I do the calculation maunally the number should come out to 133,568. I plugged in a formula (f12) to get that result. What I'd like to do is be able to use any number in f9, have it refer to the table and bring back the correct result.

    I don't know if it's possible, someone in my office thinks it is and it's now my job to find out.

    Thanks for all your help!
    Attached Files Attached Files

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: VLookup w/o column index no.?

    How about?

    =(F9-LOOKUP(F9,H6:H26,L6:L26))*LOOKUP(F9,H6:H26,N6:N26)+LOOKUP(F9,H6:H26,P6:P26)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  7. #7
    Registered User
    Join Date
    09-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: VLookup w/o column index no.?

    Perfect! Thank you!

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: VLookup w/o column index no.?

    If you are satisfied with the solution provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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