+ Reply to Thread
Results 1 to 6 of 6

I need Information in a single column to appear as different Header on each page.

  1. #1
    Registered User
    Join Date
    03-26-2013
    Location
    Massachusetts, United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    I need Information in a single column to appear as different Header on each page.

    Hi, I'm working on a simple spreadsheet with individuals divided among teams. Each team is separated by a page break, so the column displaying Team Name repeats the same team name all down a page, and then another team name all down the next page, and so on. I've been searching for a way to display one instance of each Team Name as the Page Header (or just at the top of each page) upon printing. I've included an attachment for reference. PLEASE ADVISE!! Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127

    Re: I need Information in a single column to appear as different Header on each page.

    Probably the easiest option is to develop a conditional format rule to change the font color of all occurrences of a team name after the first. To do so, follow the steps below:
    1. Highlight the range containing the team names. In your case, highlight range A2:A791
    2. In the Home tab of the Excel Ribbon, select Conditional Format, then click 'New Rule
    3. In the dialog box, select 'Use a formula to determine which cells to format' (This is the last selection option)
    4. Enter the formula EXACTLY as it is here: =COUNTIF($A$2:A2,A2)>1
    5. Click on the Format button, select the Font tab, and in the Color dropdown box, select White

    Take a look at the results and see if it suits your needs

  3. #3
    Registered User
    Join Date
    03-26-2013
    Location
    Massachusetts, United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: I need Information in a single column to appear as different Header on each page.

    That is clever! and helpful! But is there a formula I could use to make those cells appear at the top of their respective pages? Ideally, I'd like to do that and then hide the Team column altogether.

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: I need Information in a single column to appear as different Header on each page.

    Are you looking for a formula, or a code?

  5. #5
    Registered User
    Join Date
    03-26-2013
    Location
    Massachusetts, United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: I need Information in a single column to appear as different Header on each page.

    Quote Originally Posted by AB33 View Post
    Are you looking for a formula, or a code?
    i don't think i would know what to do with code. whatever accomplishes the task really. thanks!

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: I need Information in a single column to appear as different Header on each page.

    Please do not reply with quote. Just a reply will do.
    I was looking this thread on the other section and you had received a macro solution. You now re-posted it to this section.
    I have a code solution, but I would like to know first why can not use the code you have.
    I do not think it is possible with a formula.
    As you know, worksheet names could not be longer than 32 chr and should not contain chr like/,\ . On some lines of your sheet, you have this issue. I think(Rows 111-121) names are longer than 32 chr, so you either cut them to less than 32chr, or the code will not create tabs for these rows.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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