Results 1 to 3 of 3

Time, negative time, multiplication by numbers

Threaded View

  1. #1
    Registered User
    Join Date
    01-02-2024
    Location
    London
    MS-Off Ver
    v2311
    Posts
    1

    Time, negative time, multiplication by numbers

    Hi. I have a table in which I want to calculate an adjusted amount based on time spent over a threshold. And it's giving me a headache with VALUE, SPILL and divide by zero errors. I think I read before you can't have negative time which could be casuing me issues but I also know you can substract one time from another as long as it doesn't end up with a negative.

    So, this is what I have.

    Cell B8 in 0% format, which is an adjustment rate.
    Cell B9 in HH:MM format, which is a time threshold.

    Column A "Billable time" in HH:MM format.
    Column B "Billable amount" in 0.00 format.
    Column C "Fixed price" in 0.00 format.
    Column D "Charge" in 0.00 format.

    The above values are simple values with no formulas.

    In Column E "Adjusted charge", I would like to calculate a value in 0.00 format based on the above values.

    If "Fixed price" has a value, then the result should be "Fixed price". Everything else can be ignored.
    If "Fixed price" has no value or zero, then...
    If "Billable time" is less than the time threshold in B9, then the result should be the "Charge".
    If "Billable time" is above the threshold in B9, then the threshold should be subtracted from it, then the remainder adjusted by the adjustment rate in B8.
    Finally the adjusted remainder, i.e. the time above the threshold, should be added back to the threshold.

    It's basically calculating, or should be, a reduced rate if time spent is over a certain amount but only for that time over. The time before the threshold is charged at the nromal rate.

    I've tried splitting out the formulas into separate columns but I'm hitting brick walls each time. Help would be hugely appreciated.

    Thanks.
    Last edited by ajkgordon; 01-02-2024 at 11:50 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 16
    Last Post: 03-26-2024, 02:09 PM
  2. [SOLVED] time series return positive and negative numbers and numbers following
    By thedrinkerparadox in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-13-2020, 02:23 PM
  3. Replies: 2
    Last Post: 09-11-2016, 02:28 AM
  4. Replies: 8
    Last Post: 01-10-2014, 03:43 AM
  5. [SOLVED] VBA to Sort Data and exclude the negative numbers with respect to time during averaging
    By vnzerem in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2013, 12:00 PM
  6. Sum of time for consecutive positive/ negative numbers
    By DexterG in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-25-2012, 04:03 AM
  7. Replies: 3
    Last Post: 01-20-2012, 05:54 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