+ Reply to Thread
Results 1 to 9 of 9

Time Intelligence Calculation

  1. #1
    Registered User
    Join Date
    06-10-2024
    Location
    Chennai
    MS-Off Ver
    Office 365
    Posts
    8

    Time Intelligence Calculation

    In my data, I have From Date and To Date and the number of days between them, as well as another field called Reporting Date. My requirement is, for example, a person working in a contract from 10-04-2024 to 20-10-2024, but the company provided a bill by the following month, which is 01-05-2024. So far, I have not paid for the month of April, and I will pay for April and May put together in May month because I received the bill only on May 1, 2024, and from next month onwards till the end of the contract, I will pay monthly. Like this, there are certain scenarios that I have highlighted in the Excel. Please help me out with the formula accordingly. Thank you so much
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Time Intelligence Calculation

    Try,
    F5=DATE(LEFT($C$2,4),4,30)
    G5=EOMONTH(F5,1), copy across.
    F6=(MAX(0,MIN($C6,F$5)-MAX($B6,$E6,EOMONTH(F$5,-1)+1)+1)+MAX(0,IF(EOMONTH($E6,0)=F$5,$E6-$B6,0)))/$D6*$A6, copy across and down.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-10-2024
    Location
    Chennai
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Time Intelligence Calculation

    I am expressing my sincere gratitude for your wonderful assistance, which arrived on time. Your recipe has made me smile.

  4. #4
    Registered User
    Join Date
    06-10-2024
    Location
    Chennai
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Time Intelligence Calculation

    Hi Josephteh,

    I am expressing my sincere gratitude for your wonderful assistance, which arrived on time. Your recipe has made me smile.

  5. #5
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Time Intelligence Calculation

    You are welcome! Thanks for your feedback and Rep!

  6. #6
    Registered User
    Join Date
    06-10-2024
    Location
    Chennai
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Time Intelligence Calculation

    Hi Josephteh,

    The last time, you helped me with the fantastic formula, however, there's a tiny bug in it that prevents it from working in some situations, Would you kindly assist me with this?
    If the start date and End date are with the previous FY and the report date is with the Current FY, in that scenario, I am facing error
    If the start date is the previous FY and the end date and report date are the current FY, I am facing an error in that scenario.

    I have highlighted the error in red colour.

    Please help me out. Thank you so much
    Attached Files Attached Files
    Last edited by MSKarthikeyan; 09-17-2024 at 06:04 AM.

  7. #7
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Time Intelligence Calculation

    I don't understand what you are saying. Can you manually put in your expected results please?

  8. #8
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Time Intelligence Calculation

    Also, please confirm if reporting date is 01/05/24, is the reporting period from 01/05/24 to 30/04/25?

  9. #9
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Time Intelligence Calculation

    Try, =IF($C6<$E6,0,(MAX(0,MIN($C6,F$5)-MAX($B6,$E6,EOMONTH(F$5,-1)+1)+1)+MAX(0,IF(EOMONTH($E6,0)=F$5,$E6-$B6,0))))/$D6*$A6

+ 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] DAX Time intelligence functions
    By Dicken in forum Office 365
    Replies: 2
    Last Post: 08-17-2022, 08:19 AM
  2. Replies: 0
    Last Post: 08-03-2022, 06:32 AM
  3. I need a forum for SAP Business Intelligence Objects
    By Rick-O-Shay in forum The Water Cooler
    Replies: 0
    Last Post: 06-02-2020, 06:17 PM
  4. AI (artificial intelligence) to analyse data
    By excelnabb in forum Excel General
    Replies: 4
    Last Post: 04-26-2019, 08:37 AM
  5. A challenging business intelligence issue with subtotals
    By larrygoldstein in forum Excel General
    Replies: 4
    Last Post: 09-15-2014, 10:34 AM
  6. business intelligence using excel
    By sowherdo in forum Excel General
    Replies: 1
    Last Post: 06-27-2013, 09:33 AM
  7. Adding intelligence to data validations
    By ValentineNicole in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-21-2010, 06:22 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