Closed Thread
Results 1 to 7 of 7

Hide a formula from a cell

  1. #1
    Registered User
    Join Date
    11-30-2007
    Location
    Lancashire, UK
    MS-Off Ver
    1908
    Posts
    62

    Exclamation Hide a formula from a cell

    Hi, I have a formula which picks up a date from one worksheet and adds it to the second worksheet.

    On the second worksheet I have copied and pasted the formula across all the cells so when I update the 1st worksheet it will automatically update the second worksheet.

    this is how its looks:

    28/09/09 0/01/00 0/01/00 0/01/00 1/10/06

    The first and the last dates are what I want to see in the second worksheet as these have been picked up from some cells in the 1st worksheet, but the three dates in the middle are nothing as the cells relating to these 0/01/00 dates do not have any actual dates in the cells from the 1st worksheet yet.

    How can I hide the three dates in the middle until the 1st worksheet is updated?

    The formula in the 2nd worksheet is: ='Goss Full List'!F7

    This is then copied to other cells.
    Last edited by Sharr76; 11-20-2009 at 02:08 PM.

  2. #2
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    375

    Re: Hide a formula from a cell

    Try using the following IF statement

    Please Login or Register  to view this content.
    If no value exists in 'Goss Full List'!F7 then the cell containing this formulae will remain blank.

  3. #3
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Hide a formula from a cell

    Another option:

    Use Conditional Formatting to "hide" the zero values by making the font color the same as the cell fill color.

    CF formula: = A1=0
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  4. #4
    Registered User
    Join Date
    11-30-2007
    Location
    Lancashire, UK
    MS-Off Ver
    1908
    Posts
    62

    Re: Hide a formula from a cell

    Thank you very much!!

    One more question....

    On my 1st worksheet some dates are a different colour, how would I set the formula to pick the colours up in the 2nd worksheet dates?

  5. #5
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Hide a formula from a cell

    On my 1st worksheet some dates are a different colour, how would I set the formula to pick the colours up in the 2nd worksheet dates?
    How are those cells colored now? Manually or with a Conditional Format?

    If you are using a Conditional Format on the first sheet, then use the same Conditional Format on the second sheet.

    If you are doing this manually, then it requires a VBA solution - which could be a bit complex depending on your worksheets.

  6. #6
    Registered User
    Join Date
    11-30-2007
    Location
    Lancashire, UK
    MS-Off Ver
    1908
    Posts
    62

    Re: Hide a formula from a cell

    Hi guys, I have added a sample of my worksheets, I want the coloured dates to duplicate over to the 2nd worksheet....
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    11-30-2007
    Location
    Lancashire, UK
    MS-Off Ver
    1908
    Posts
    62

    Re: Hide a formula from a cell

    Hi, does anyone know how I can have the second worksheet pick up the coloured dates in the first worksheet?

Closed 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