+ Reply to Thread
Results 1 to 4 of 4

blanking cell if above cell has same data - xlsxwriter

  1. #1
    Registered User
    Join Date
    03-30-2017
    Location
    Scotland
    MS-Off Ver
    professional Plus 10
    Posts
    6

    blanking cell if above cell has same data - xlsxwriter

    Just wondering if anyone has used conditional formatting to blank a cell where the immediately above cell has the same value. I am using xlsxwriter to produce the spreadsheet
    e.g.
    1
    1
    2
    2
    3
    4

    should appear
    1

    2

    3
    4

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: blanking cell if above cell has same data - xlsxwriter

    You can have CF assign a font color equal to the fill color if the cell's value is equal to the previous cell's value.
    Use the CF-option where you can enter a formula.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  3. #3
    Registered User
    Join Date
    03-30-2017
    Location
    Scotland
    MS-Off Ver
    professional Plus 10
    Posts
    6

    Re: blanking cell if above cell has same data - xlsxwriter

    Would that solution work for a printed sheet ? Some customers are doing that

  4. #4
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: blanking cell if above cell has same data - xlsxwriter

    I guess so. Unless it's printed on coloured paper.
    Just try it and you'll know.

+ 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. Bank Holidays - conditional formatting and 'blanking'
    By Tacalabala in forum Excel General
    Replies: 3
    Last Post: 09-25-2014, 09:48 AM
  2. Replies: 6
    Last Post: 11-11-2011, 06:32 AM
  3. Blanking unused rows
    By rmilnes in forum Excel General
    Replies: 5
    Last Post: 10-16-2011, 06:48 AM
  4. Avoid Blanking out of cell using Data validation
    By savithrianandh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2007, 01:15 AM
  5. [SOLVED] Blanking out a field
    By Michael in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-02-2005, 06:20 PM
  6. [SOLVED] Blanking out a field
    By Michael in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-02-2005, 06:17 PM
  7. Blanking / Discounting zero values in ranges
    By RobPot in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-24-2005, 08:16 PM

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