+ Reply to Thread
Results 1 to 8 of 8

Problem with Index/Match formula

  1. #1
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459

    Problem with Index/Match formula

    Please see the attached file, i am baffled why this not working and its doing my head in, please can i ask for some help.

    In G8 i have a formula thats looking at data from columns Z:AK the figure im supposed to be getting is around the £600 mark but instead im getting the figure £17,324,993.07

    Help!!!

    Thanks in advance

    DJ
    Attached Files Attached Files
    Last edited by djfatboyfats; 05-19-2009 at 04:56 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Problem with Index/Match formula

    You would get £750 prior to multiplying by C6, is that the expected result ?

  3. #3
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459

    Re: Problem with Index/Match formula

    The figure should give £808.50

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Problem with Index/Match formula

    I understand the math, ie:

    (875-700/4999.99)*3100

    but I think you would be best served breaking the above formula into component parts (stored in helpers) ... else you will have a long formula.

    For ex...

    Please Login or Register  to view this content.
    Even in the above there are still lots of repetitive calcs which could be dispensed if you were to use more helper cells (say to hold thresholds etc...)

    EDIT: ignore above and see post #8 (Roger Govier)
    Last edited by DonkeyOte; 05-18-2009 at 08:40 AM.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Problem with Index/Match formula

    Below is a non-helper approach...

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459

    Re: Problem with Index/Match formula

    Thats good but not really working, it will still give someone a bonus if the figures in H5 is less then 100, they can only get a bonus with over 100 payments.

    HTML Code: 
    The tread above shows what i want to do, this is working correctly and just what i need, but all i wanted to do on this worksheet is amend this code to place it in a differant place

    Thanks

    DJ

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Problem with Index/Match formula

    Why not just encase that provided with an IF ?

    =IF(N(H5)<100,0,formula provided)

  8. #8
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: Problem with Index/Match formula

    Hi

    Your problem is that you are 1 column out in your second Match.

    MATCH(H5,{100,200,275},1)*3)
    should be
    (MATCH(H5,{100,200,275},1)*3)+1)

    Change the formula to
    =IF(ISNA(INDEX($Y$9:$AJ$17,MATCH(C6,$Y$9:$Y$17,1),(MATCH(H5,{100,200,275},1)*3)+1)*C6),"No Bonus",INDEX($Y$9:$AJ$17,MATCH(C6,$Y$9:$Y$17,1),(MATCH(H5,{100,200,275},1)*3)+1)*C6)

    and you will get the result of £808.50
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

+ 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