+ Reply to Thread
Results 1 to 4 of 4

Macro to Work Around 32767 Limit

  1. #1
    Registered User
    Join Date
    02-28-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    12

    Macro to Work Around 32767 Limit

    Hello all,

    I am trying to see if there is a macro I can write to work around the 32767 16-bit limitation. In the attached file I have two time columns given as my primary data inputs (Column A and Column B). Column A is an elapsed time column in fractions of an hour, the second column is a corresponding DateTime (called ClockTime). I want to add the elapsed time to the DateTime, which I can do by converting each elapsed time to seconds by multiplying by 3600, converting those values to a time by using the TIME(0,0,##) function and then adding each elapsed time to the very first DateTime, but the formula breaks down after 32767. Is there a macro or just a regular formula I can write to work around this? Any help is appreciated, thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Macro to Work Around 32767 Limit

    Not seeing the problem ...

    A
    B
    C
    D
    32771
    9.1025
    9/28/2016 17:06
    9/29/2016 2:12
    C32771: =A32771/24 + B32771
    32772
    9.102777778
    9/28/2016 17:06
    9/29/2016 2:12
    32773
    9.103055556
    9/28/2016 17:06
    9/29/2016 2:12
    32774
    9.103333333
    9/28/2016 17:06
    9/29/2016 2:12
    32775
    9.103611111
    9/28/2016 17:06
    9/29/2016 2:12
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-28-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Macro to Work Around 32767 Limit

    Well, because apparently there isn't one anymore. No idea why that wouldn't work for me before but I appreciate the assist.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Macro to Work Around 32767 Limit

    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] Workaround to the 32767 character limit for strings in VBA?
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-05-2013, 06:18 AM
  2. Work around for nested IF limit
    By damiensdad in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-16-2013, 04:07 PM
  3. Text2Column for a string with more than 32767 characters
    By c.vaibhav in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-04-2011, 03:52 AM
  4. Work-around for COUNTIFs 255-character limit?
    By talley in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-24-2011, 10:50 AM
  5. Cell limit work around?
    By Johnf42 in forum Excel General
    Replies: 2
    Last Post: 09-16-2009, 02:54 PM
  6. Returning value > 32767
    By irishnutter in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-16-2008, 05:18 PM
  7. Cell of sheet Not accepting 32767 character
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-09-2006, 11:55 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