+ Reply to Thread
Results 1 to 7 of 7

How to apply differing multiples to one value

Hybrid View

Novicexlxs How to apply differing... 11-20-2016, 07:58 PM
mehmetcik Re: How to apply differing... 11-20-2016, 08:12 PM
alansidman Re: How to apply differing... 11-20-2016, 08:14 PM
Novicexlxs Re: How to apply differing... 11-20-2016, 08:27 PM
mehmetcik Re: How to apply differing... 11-20-2016, 08:17 PM
Phuocam Re: How to apply differing... 11-20-2016, 08:23 PM
alansidman Re: How to apply differing... 11-20-2016, 08:31 PM
  1. #1
    Registered User
    Join Date
    11-20-2016
    Location
    Louisville, Kentucky
    MS-Off Ver
    2008 for MAC
    Posts
    2

    How to apply differing multiples to one value

    If a column has a single numerical value, say 10.85, and one multiple, 10, needs to apply to part and another multiple, 15, to the remainder (and if the threshold is not reached for the second multiple each time), how would this formula be written?

    This is number of hours worked in one day. The first 8 hours would be standard pay rate and the amount over 8 hours would be overtime pay rate. For example:

    An employee earns a standard pay rate of $10 per hour and an overtime pay rate of $15 per hour. The total number of hours in a particular day is entered into cell D2. For this first example the employee did work more than the standard number of hours.

    Column D2 has the value 10.85

    Column E2 needs to reflect the value of $122.75

    $122.75 is the sum of ((8.00 * 10) + ((10.85-8.00) * 15))

    A second example is if the employee does not exceed 8 hours of work the next day:

    Column D3 has the value of 6.50

    Column E3 needs to reflect the value of $65.00

    $65.00 is the sum of ((6.50 * 10) + (this needs to equal zero since hours do not exceed 8))


    How can this formula be applied so that if hours worked is less than or equal to 8.00 a multiple of 10.00 applies and if the hours worked is greater than or equal to 8.01 then a multiple of 10.00 applies to the first 8.00 hours and is added to the amount of the value that exceeds 8.00 and a multiple of 15.00.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: How to apply differing multiples to one value

    Hey Guys

    Do you really expect us to type up all your data?

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,704

    Re: How to apply differing multiples to one value

    In E2 =IF(D2>8,(D2*10)+(D2-8)*15,D2*10)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    11-20-2016
    Location
    Louisville, Kentucky
    MS-Off Ver
    2008 for MAC
    Posts
    2

    Re: How to apply differing multiples to one value

    Thank you alansidman!

    I see the error in the formula I had written. However, I edited your formula to =IF(D2>8,(D2*10)+(D2-8)*5,D2*10) to make it work. Thank you again! I am new to the forum and would like to express my appreciation; where do I find the star mentioned in your signature?

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: How to apply differing multiples to one value

    Your formula for E2.

    Formula: copy to clipboard
    =IF(D2>8,8,D2)*10+ MAX(0,D2-8)*15


    or even


    Formula: copy to clipboard
    =Min(D2,8)*10+ MAX(0,D2-8)*15

  6. #6
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,175

    Re: How to apply differing multiples to one value

    Try this ...

    =MIN(8,D2)*10+MAX(D2-8,0)*15

    Or:

    =D2*10+MAX(D2-8,0)*5
    Last edited by Phuocam; 11-20-2016 at 08:25 PM.

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,704

    Re: How to apply differing multiples to one value

    Capture.JPG

    Lower left on my response post

+ 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] Different Computers = Differing Returns
    By mgs in forum Excel General
    Replies: 3
    Last Post: 10-01-2016, 09:39 PM
  2. Worksheet_Change on differing cells
    By Tacowaco in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-12-2016, 03:33 AM
  3. VBA to Group Differing Rows
    By Kyle5325235 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2014, 02:15 AM
  4. Searching right to left for a differing value
    By icedrake in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-17-2007, 10:40 PM
  5. Charting differing series
    By tmi!tmi! in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-21-2005, 02:49 PM
  6. [SOLVED] differing results
    By garpavco in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-15-2005, 06:45 PM
  7. [SOLVED] Total of differing dates
    By parkerlex in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-20-2005, 05:06 PM

Tags for this Thread

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