ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   suppress printing a repeating value in a column (https://www.excelbanter.com/excel-discussion-misc-queries/47119-suppress-printing-repeating-value-column.html)

Suppress printing repeating values

suppress printing a repeating value in a column
 
In an Excel worksheet, how do you suppress printing a repeating value. For
example, one hundred rows have the same date and I want the date value to
print on a break only.

Dave Peterson

Excel really isn't made to easily work with page breaks. Page breaks depend on
the printer (which depends on what the user chooses). It can get pretty messy
pretty fast.

If you're willing to just show the first value and hide the duplicates (no
matter where they occur, you could use conditional formatting--like Debra
Dalgleish shows at:

http://contextures.com/xlCondFormat03.html#Duplicate

I've seen users who use a separate column (and hide the original column) so that
they could show ditto marks.

Say column A contains your dates. Insert a new column B and use a formula like
this in B2 (headers in B1):

=if(a2=a1,"""",a2)

and drag down (and hide column A)

=======
Personally, I like to show the information on each line. I find it easier, er,
less work.



Suppress printing repeating values wrote:

In an Excel worksheet, how do you suppress printing a repeating value. For
example, one hundred rows have the same date and I want the date value to
print on a break only.


--

Dave Peterson


All times are GMT +1. The time now is 02:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com