Results 1 to 4 of 4

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

Threaded View

  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 =
    "=IF((COUNTIFS($A$11:$A$6550,$A$11:$A$6550,$C$11:$C$6550, ">" &$B$11:$B$6550,$B$11:$B$6550,"<"&$C$11:$C$6550 )-1)>0,"OL","")"
    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.

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