+ Reply to Thread
Results 1 to 7 of 7

Complicated formula - Need Help

  1. #1
    Registered User
    Join Date
    02-26-2021
    Location
    United Kingdom
    MS-Off Ver
    2017
    Posts
    13

    Complicated formula - Need Help

    Hello all,

    I'm not sure if this is complicated or not (I'm a noob), but would appreciate any help I can get with achieving this. Will try my best to explain it.

    The grey bars shows a 7 day rolling period. There is a limit of 24 for any 7 days and out of the 24 there is a limit of 20 for logistics.

    How do I get the remaining hours column for logistics to calculate correctly taking into consideration the 20hr limit which will also be affected by the 24 hr limit?

    Currently it is just being calculated based on the 20hr limit for logistics. As you can see even though I only have 1 hr remaining from the 24hr limit, the logistics column is still showing 2.

    Not sure if I explained that correctly or made much sense

    Capture.JPG

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Complicated formula - Need Help

    Hello,
    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. Just before posting, scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Complicated formula - Need Help

    I agree a sample is better but =min(your current formula, column u) something like min(20-sum(f4:l4),u4)

  4. #4
    Registered User
    Join Date
    02-26-2021
    Location
    United Kingdom
    MS-Off Ver
    2017
    Posts
    13

    Re: Complicated formula - Need Help

    Should I just upload the current excel file? I did not lay out any information elsewhere. I just created this table and add in the information then try to formulate accordingly.

  5. #5
    Registered User
    Join Date
    02-26-2021
    Location
    United Kingdom
    MS-Off Ver
    2017
    Posts
    13

    Re: Complicated formula - Need Help

    This formula did help a bit but it keeps throwing up the same value for all the other cells, even though I changed the cell number accordingly in the formula.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,166

    Re: Complicated formula - Need Help

    Do you have calculations set to manual?

    Attach the workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    02-26-2021
    Location
    United Kingdom
    MS-Off Ver
    2017
    Posts
    13

    Re: Complicated formula - Need Help

    Thanks for responding everyone. I have manage to figure it out using the IF function. Works like a dream now

+ 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. Need help with complicated IF formula
    By sparker08 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-19-2015, 03:44 PM
  2. check a cell for a certain time and day of week
    By garyfahy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-16-2014, 07:39 AM
  3. Need help with a complicated If Formula
    By Chris602 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-23-2014, 04:14 PM
  4. Complicated use of IF formula
    By donkeybusiness in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-13-2012, 06:17 AM
  5. Complicated IF formula
    By jwaldmann in forum Excel General
    Replies: 3
    Last Post: 02-10-2012, 01:09 PM
  6. Complicated Formula
    By Exxodus in forum Excel General
    Replies: 2
    Last Post: 06-01-2011, 09:04 AM
  7. IF formula help..little bit complicated
    By jgy6000 in forum Excel General
    Replies: 1
    Last Post: 03-02-2011, 09:13 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