+ Reply to Thread
Results 1 to 2 of 2

Issues with pasting negative time into spreadsheet

  1. #1
    Registered User
    Join Date
    11-19-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    9

    Issues with pasting negative time into spreadsheet

    I am pasting information from a scheduling program to a spreadsheet. In my example, please look at column Q. It seems that SOME negative values are erroring out with a #VALUE. Not all negative values, however. This is the weird part. I've tried both the 1904 fix and without. No avail. I can manually fix the error by changing the "=" to " ' ". But the point is we're trying to automate this report. Please advise if you need any other information and I will do my best to get it to you!
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Issues with pasting negative time into spreadsheet

    Technically, they're all errored out.
    Excel just hasn't properly evaluated the cells with negatives if it's not creating an error.

    The error is coming from the number format. Excel expects hh:mm:ss.ssss, as hours:minutes:seconds.milliseconds.

    Your output doesn't fit anywhere in there; 00004:00 doesnt mean anything.

    Let's pretend Q90 has "-00004:00", because like, it does.

    =IF(ISNUMBER(SEARCH("-",Q90)),SUBSTITUTE(RIGHT(Q90,5),"-","")*-1,Q90)

    Format this as time. BAM. Negative time.
    Last edited by daffodil11; 07-24-2014 at 06:23 PM.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

+ 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: 3
    Last Post: 07-16-2014, 01:50 AM
  2. [SOLVED] Pasting Issues Between Workbooks
    By OwlChutney in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-20-2014, 05:47 PM
  3. Pasting issues
    By NH Dan in forum Excel General
    Replies: 4
    Last Post: 08-26-2011, 08:15 AM
  4. Various pasting issues
    By AnthonyWB in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-31-2011, 12:51 PM
  5. Negative value causing issues
    By Speedbird1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-01-2008, 10:24 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