+ Reply to Thread
Results 1 to 7 of 7

Having trouble adapting Index Match to a lookup.

  1. #1
    Registered User
    Join Date
    12-22-2015
    Location
    Here
    MS-Off Ver
    10
    Posts
    9

    Having trouble adapting Index Match to a lookup.

    Taxes.xlsx

    You guys helped me fix an issue earlier where I was trying to replace a vlookup with index match but I was using a ridiculous amount of IF statements lol. But I'm back at it, and at the final part of the timesheet where I calculate taxes. In the attached sheet you can see where I'm going with it. The equation is to take the paycheck amount, and find the appropriate row to use for calculating your taxes. Basically, your paycheck should be over the value in Column B but under the value in Column C. Then you subtract Column B from the paycheck, and multiply that by Column F, then add the result to Column D to get the amount of taxes that will be taken out of your paycheck.

    I tried adapting an index match from earlier, but I'm just going in circles and can't seem to solve it. Any help would be greatly appreciated.

  2. #2
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: Having trouble adapting Index Match to a lookup.

    So: take the % of taxes based on Paycheck value, then multiply the % found by the paycheck value, right?

    Put this formula on K6 cell:

    Please Login or Register  to view this content.
    Is that all?

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Having trouble adapting Index Match to a lookup.

    Replicating your equation just broke it down into segments

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    attached worksheet with "helper" method that makes it cleaner

    i also showed seperatedly how ColB,D,F are worked out
    Attached Files Attached Files
    Last edited by humdingaling; 12-23-2015 at 01:53 AM. Reason: included spreadsheet with helper
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    12-22-2015
    Location
    Here
    MS-Off Ver
    10
    Posts
    9

    Re: Having trouble adapting Index Match to a lookup.

    Well, that's half the equation. You have to Add the appropriate amount from Column D too. All this does is find the percentage and multiply it by that.
    So you have Paycheck*ColF but what I need is ((Paycheck-ColB)*ColF)+ColD

  5. #5
    Registered User
    Join Date
    12-22-2015
    Location
    Here
    MS-Off Ver
    10
    Posts
    9

    Re: Having trouble adapting Index Match to a lookup.

    Quote Originally Posted by humdingaling View Post
    Replicating your equation just broke it down into segments

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    That's giving the results I'm expecting, thanks!

  6. #6
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Having trouble adapting Index Match to a lookup.

    Thanks for the rep

    i included file for you with some additional information you might find helpful
    Last edited by humdingaling; 12-23-2015 at 02:07 AM.

  7. #7
    Registered User
    Join Date
    12-22-2015
    Location
    Here
    MS-Off Ver
    10
    Posts
    9

    Re: Having trouble adapting Index Match to a lookup.

    Quote Originally Posted by humdingaling View Post
    Thanks for the rep

    i included file for you with some additional information you might find helpful
    Thats awesome, thank you. I've been having issues with following index match, but looking at this example completely demystifies it, I completely get it now. Thanks!

+ 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. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  2. [SOLVED] Trouble Adapting MailMerge Code
    By Mousiefuzz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-17-2015, 06:52 AM
  3. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  4. Trouble with Index-Match getting #REF!
    By KellyAustralia in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-20-2014, 03:14 AM
  5. Excel 2010 Pivot Tables and LOOKUP, VLOOKUP, INDEX/MATCH trouble
    By mjbalys in forum Excel Charting & Pivots
    Replies: 15
    Last Post: 04-19-2013, 04:58 PM
  6. [SOLVED] INDEX MATCH Trouble
    By jjislas in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-27-2013, 03:46 PM

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