+ Reply to Thread
Results 1 to 3 of 3

Value errors

Hybrid View

  1. #1
    Registered User
    Join Date
    12-14-2009
    Location
    Nottingham
    MS-Off Ver
    Microsoft D365
    Posts
    93

    Value errors

    Hi can some one please help with this one. I'm trying to get the difference in days of two dates now i know you can just subtact one from the other however some of the dates are now txt, ie product was expected on 01/01/2010 but is now discontinued. this brings up a value error... how can i get rid of this value error so columb L of the attached spred sheet only shows those where dates are subtracted from dates?
    Attached Files Attached Files
    Last edited by Notters; 02-26-2010 at 07:14 AM.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Value errors

    you could use

    =IF(ISERROR(J3-K3),"Stuff",J3-K3)
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Value errors

    Given date values are numeric you can conduct a basic COUNT test to est. dates exist in both fields, eg:

    =IF(COUNT(J2:K2)<2,"?",J2-K2)

    change "?" to be whatever you want to appear in this incompatible rows.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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