+ Reply to Thread
Results 1 to 2 of 2

Time Duration as VALUE in Logical Formulas

  1. #1
    Registered User
    Join Date
    06-12-2017
    Location
    California
    MS-Off Ver
    Excel v.15.30
    Posts
    1

    Time Duration as VALUE in Logical Formulas

    Hello Everyone,

    This is my first post. Excited to be here will all of you. So, here is my issue; I have a document with running times of videos. If the video meets my requirements I have a logical formula set to it, that will SUM the total time of requirement-met videos. Now, I am trying to set the below formula so that even if a video meets my requirements, ONLY 20 minutes (0:20:00) of that video will be added to the total sum.

    I am running into the issue that when I try and change the value of "20" to "0:20:00", the formula no longer recognizes "0:20:00" as a value and my formula has an error.

    Below is my current formula.


    =IF(Sumif($G$2:$G$1000,"Y",$F$2:$F$1000)>=20,20,SUM(Sumif($G$2:$G$1000,"Y",$F$2:$F$1000)))


    Can you please help?

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Time Duration as VALUE in Logical Formulas

    Try "0:20:00"+0

    Also FYI, the way you did it is not wrong persay
    But instead if
    IF(calculation>=20,20,calculation)
    Try
    MIN(20, calculation)

+ 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. Replies: 5
    Last Post: 09-29-2016, 09:58 PM
  2. Replies: 2
    Last Post: 07-14-2015, 02:12 PM
  3. Displaying data as time duration rather than time of day
    By BrookeA in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-13-2014, 06:48 PM
  4. [SOLVED] How to create a real time report with on/off time and duration?
    By Why123 in forum Excel General
    Replies: 7
    Last Post: 11-21-2013, 02:01 AM
  5. [SOLVED] Split Time Duration to first complete the running hour and then go to End time
    By joogibabu in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-06-2013, 10:56 PM
  6. Calculate finish time given start time, working hours and job duration
    By swanseaexcel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2012, 03:00 PM
  7. Time duration
    By deece in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-14-2008, 11:40 AM

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