+ Reply to Thread
Results 1 to 4 of 4

=IF((COUNTIFS….FORMULA for TIME OVERLAP…ERROR 13 MISMATCH

  1. #1
    Registered User
    Join Date
    03-10-2015
    Location
    Arkansas
    MS-Off Ver
    MS Office 10
    Posts
    2

    =IF((COUNTIFS….FORMULA for TIME OVERLAP…ERROR 13 MISMATCH

    Hi forum I'm needing some help I have a formula that calculate overlap time

    Column A = Student Name
    Column B = Time In
    Column C = Time Out

    Students sometimes sign in/out multiple times hence the reason for the time overlap formula

    When I manually put in the formula and drag it down there’s no problem, but when I use my userform vba

    ws.Cells(vNewRow, 6).Value =
    Please Login or Register  to view this content.
    I get run-time error '13': type mismatch

    The data belonging to the other columns is still transferred but the formula is not transferred to column F

    Thank You All
    Last edited by vtnark; 11-27-2015 at 09:22 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: =IF((COUNTIFS….FORMULA for TIME OVERLAP…ERROR 13 MISMATCH

    Hello vtnark,

    The problem is with your syntax. When using quotes within a string, the quote must be enclosed in quotes. Here is the corrected code...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    03-10-2015
    Location
    Arkansas
    MS-Off Ver
    MS Office 10
    Posts
    2

    Re: =IF((COUNTIFS….FORMULA for TIME OVERLAP…ERROR 13 MISMATCH

    Truly, Amazing & Quick... Thank You BIG!

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: =IF((COUNTIFS….FORMULA for TIME OVERLAP…ERROR 13 MISMATCH

    Hello vtnark,

    You're welcome.

+ 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] determine total overlap time when there are gaps in overlap (4 date ranges)
    By miriambender in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-12-2014, 11:58 PM
  2. Formula works but Run Time Error 13 Type Mismatch in VBA
    By uberathlete in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-29-2013, 10:05 PM
  3. Formula to indicate overlap of time formatted cells?
    By Moonbather in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-01-2013, 03:42 PM
  4. Run-time error 1004 Table Cannot Overlap A Range...
    By dearnemo385 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-14-2012, 08:19 AM
  5. Run-time error 1004 Table Cannot Overlap A Range...
    By passmaster16 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-11-2012, 10:21 AM
  6. Conditional Formatting - Run Time Error '13' Type Mismatch Error
    By ksp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-17-2011, 07:37 PM
  7. formula to determine time range overlap?
    By William DeLeo in forum Excel General
    Replies: 0
    Last Post: 06-06-2006, 03:26 PM

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