Forum Discussion

bbsin's avatar
bbsin
Iron Contributor
Dec 11, 2023
Solved

Calculate days and hr min based on start and end date in SP

hi I like to auto calculate the duration 1) to only display hr and min 2) to only display total days  3) also to have space for hr and min    May I know how to? =CONCATENATE(INT(FacilityBook...
  • Rob_Elliott's avatar
    Dec 11, 2023

    bbsin your first request to only display hours and minutes can be done with


    =IF(ISBLANK(End),"",INT((End-Start)*1440)-MOD(INT((End-Start)*1440),60))/60&" Hours "&MOD(INT((End-Start)*1440),60)&" Minutes"

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User.
    Principal Consultant, SharePoint and Power Platform WSP (and classic 1967 Morris Traveller driver)

Resources