+ Reply to Thread
Results 1 to 10 of 10

Formula to return the relevant multiplier value for fines

  1. #1
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Formula to return the relevant multiplier value for fines

    Morning all,

    I have a schedule of fines and in some instances a multiplier effect is activated based on two criteria (no of consecutive failures & no of failures in a rolling 12 month period). I'd like a formula that returns the relevant multiplier effect (which is always the higher value) if either of these criteria is applicable.

    Example attached.

    Thanks in advance,

    Snook

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula to return the relevant multiplier value for fines

    H5=IF(H4=0,0,SUMPRODUCT(MAX(ISNUMBER(1/(COUNTIF(OFFSET(H4,,{0,-1,-2,-3,-11},,{1,2,3,4,12}),">0")>={1,2,3,4,6}))*{1,1.5,1.75,2,2}*({1,2,3,4,12}<=COLUMNS($H5:H5)))))
    Please Login or Register  to view this content.
    Try this and copy towards right
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: Formula to return the relevant multiplier value for fines

    Hi nflsales,

    Thanks for this.

    There seems to be a discrepancy in month 6 as it is returning a multiplier of 1 when I would have expected it to be 1.75 as it is the 4th failure in a 12 month period.

    Regards,

    Snook

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula to return the relevant multiplier value for fines

    I misunderstood your requirement try below formula, Try below formula and copy towards right
    H5
    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: Formula to return the relevant multiplier value for fines

    I have no idea how it works but it works a treat. Thank you!

    Snook

  6. #6
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: Formula to return the relevant multiplier value for fines

    Hi nflsales,

    Is it possible to tweak the formula that you kindly provided for me yesterday to calculate the total fines due rather than the multiplier effect?

    Updated spreadsheet attached.

    Thanks,

    Snook

  7. #7
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula to return the relevant multiplier value for fines

    Will you show me the expected result?

  8. #8
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: Formula to return the relevant multiplier value for fines

    Hi nflsales,

    I've updated the attached with further detail, hopefully this makes sense?

    Thanks,

    Snook

  9. #9
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula to return the relevant multiplier value for fines

    The below formula is an array formula please confirm it with Ctrl+Shift+Enter
    H27
    Please Login or Register  to view this content.
    Try this and copy towards right, hope some one will come up with simple formula

  10. #10
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: Formula to return the relevant multiplier value for fines

    Unbelievable solution!

    Massive thanks for this!

    Snook

+ 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] Help With x3 Formulas to Return Relevant Values Into x2 Tables...
    By Ourkid123uk in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-24-2017, 03:45 PM
  2. Return column with a multiplier
    By bourny in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-29-2016, 12:13 PM
  3. [SOLVED] Vba code to calculate the fines ....
    By Milade8080 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-20-2014, 05:32 PM
  4. A Multiplier Formula
    By Musiick in forum Excel General
    Replies: 1
    Last Post: 03-23-2014, 03:39 AM
  5. [SOLVED] Creating a formula to lookup a cell and return date relevant to period
    By Marcel Coetzee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-13-2013, 11:48 PM
  6. [SOLVED] MATCH a name and return a relevant value
    By johnmitch38 in forum Excel General
    Replies: 2
    Last Post: 04-19-2012, 05:42 AM
  7. Formula for calculating inmate layout time and fines.
    By Lord451 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2012, 10:52 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