+ Reply to Thread
Results 1 to 3 of 3

Help with #value!

  1. #1
    Forum Contributor
    Join Date
    01-21-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    409

    Help with #value!

    Hi I've linked one document to another and to avoid getting 0 for blank cells I've used.

    =IF('M:\[Master rota.xlsm]Rota week 1'!E33="","",'M:\[Master rota.xlsm]Rota week 1'!E33) which works ok.

    However I then use a vba to paste those values to another sheet, still no problem there.

    I then have three columns Start time , end time, time difference

    I use this formula to show error if the end time is before the start time.

    =IF(AH33>AI33,"Error",AI33-AH33)

    This is fine if there are values in the cell however if the AH and AI are blank I get #value! I'm gessing it's to do with the fact the "" it's copied over is not a number value. Is there a formula I can use to get round this.

    Cheers

  2. #2
    Forum Contributor
    Join Date
    01-21-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    409

    Re: Help with #value!

    Think I solved it with:

    =IF(AH33>AI33,"Error",IF(AG33="",0,AI33-AH33))

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: Help with #value!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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