+ Reply to Thread
Results 1 to 11 of 11

Cannot remove #value & format coloring from several rows in spreadsheet?

Hybrid View

  1. #1
    Registered User
    Join Date
    06-26-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1

    Cannot remove #value & format coloring from several rows in spreadsheet?

    Hello,

    New here and very frustrated. I am redesigning a working production spreadsheet for package deliveries. Currently the working version only highlights an entire row in yellow when a package is signed out of the receiving room ("When Signout Date is entered"). I am adding another function where any package remaining in the receiving room for more than 6 months, turns the entire row pink in addition to the highlighted yellow as above. For whatever reason I cannot figure (I have zero experience with formulas and formatting) all rows beyond any already populated show either a #value error, or a crazy high number in the "Days In Storage" column and highlight the whole row pink. In addition, the pink row (If I try and enter data) doesn't work like the rest of the spreadsheet does. I need this in production yesterday and I'm just completely stuck. Any assistance would be fantastic. See attached copy.

    Bill
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,904

    Re: Cannot remove #value & format coloring from several rows in spreadsheet?

    Cell C293 has the formula: =TODAY()-B293

    Cell B293 is blank, hence you get the number of days that reflects today's date.

    Cell C294 has an error value generated by a formula which has been converted to text

    Cell C295 has the formula: =TODAY()-B295 ... this generate s #VALUE error because cell B295 has a space in it. The pattern then follows down the sheet: space and error value.

    You should change cell C293 to be: =IF(TRIM(B293)="","", TODAY()-B293)

    And then amend your Conditional Formatting formula to incorporate a test that column C is not blank.

    For example: =AND(C8<>"",C8>179,ISBLANK(M8))


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,904

    Re: Cannot remove #value & format coloring from several rows in spreadsheet?

    Oh, and maybe you don't want/need the spaces in column B.

    Regards, TMS

  4. #4
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Cannot remove #value & format coloring from several rows in spreadsheet?

    Have a look at the attached. Does this help?
    If I've been of help, please hit the star

  5. #5
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Cannot remove #value & format coloring from several rows in spreadsheet?

    #VALUE =This error is most often the result of specifying a mathematical operation with one or more cells that contain text.
    there is a SPACE at your column B. Today()-SPACE = #value!.

    Either you only drag the formula to the no empty column B cell or
    at your cell E293 =
    =IF(ISERROR(DATEVALUE(TEXT(B293,"mm/dd/yyyy"))),"",TODAY()-B293)
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,904

    Re: Cannot remove #value & format coloring from several rows in spreadsheet?

    The TRIM(B293)="" caters for space and blank in column B. If the space is there for a reason, then this formula will cope with it.

    And, in excel 2010, you can use =IFERROR rather than =IF(ISERROR( but the error has been eliminated by testing for blanks anyway.

    Regards, TMS

  7. #7
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Cannot remove #value & format coloring from several rows in spreadsheet?

    if using IFERROR function, how to insert the TODAY() - date?

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,904

    Re: Cannot remove #value & format coloring from several rows in spreadsheet?

    Well, you wouldn't really need to, but:

    =IFERROR(TODAY()-B293,"")


    The first parameter is the formula being monitored. The second parameter is the value to be assigned in the event of an error in the formula.


    Regards, TMS

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,904

    Re: Cannot remove #value & format coloring from several rows in spreadsheet?

    Given that the OP said:

    I need this in production yesterday and I'm just completely stuck
    I'm kinda surprised we've had no input or feedback from him yet.


    Regards, TMS

  10. #10
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Cannot remove #value & format coloring from several rows in spreadsheet?

    Quote Originally Posted by TMShucks View Post
    Given that the OP said:



    I'm kinda surprised we've had no input or feedback from him yet.


    Regards, TMS
    Haha, just realize had such sentence. :D

  11. #11
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Cannot remove #value & format coloring from several rows in spreadsheet?

    Icic, but i no think Today()-Blank is the one of the answer. That why i'm using =IF(ISERROR(.
    BTW, today learn a new thing. Thanks TMShucks

+ 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