+ Reply to Thread
Results 1 to 3 of 3

Adding empty columns to column labels

Hybrid View

  1. #1
    Registered User
    Join Date
    08-06-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    4

    Adding empty columns to column labels

    Hi

    Thanks for your help in my last question. Now another one Im afraid. I have a list of timesheets and some users have missed day.

    The source data is

    Name Date Hrs
    Richard 1 Aug 2015 5
    Richard 2 Aug 2015 2
    Sam 1 Aug 2015 2
    Sam 2 Aug 2015 5
    Sam 3 Aug 2015 11

    Now in the tale above I have the column labels being the second column (date) and the row labels with the username. The actually data I the hours which is summed up.

    My problem is that Sam has worked 3 days correctly
    Richard has only logged against 1 and 2 August and has nothing against 3 August. When I filter on Richard I cannot easily see that this is missed. It just doesnt show anything for the 3 August. Whereas really I want this shown in the column labels but with it being empty.

    Can I do this so that the column labels start with the earliest date in column2 and end with the latest date?

    Thanks

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Adding empty columns to column labels

    It's not showing anything for Richard for that day, because there is nothing to show for Richard for that day - excel wont/cant show what isnt there

    I would se this up this way...
    A
    B
    C
    D
    1
    Richard Sam Bob
    2
    1-Aug
    5
    2
    5
    3
    2-Aug
    2
    5
    10
    4
    3-Aug
    0
    11
    15


    That way, you would just enter 0 where the person did not work
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-06-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    4

    Re: Adding empty columns to column labels

    Thanks - that does make sense actually. I have worked around it by doing a different type of pivot.

    Thanks

+ 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. [SOLVED] Adding labels to column cells
    By zeroist in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-20-2014, 08:56 AM
  2. Replies: 2
    Last Post: 03-28-2014, 02:01 PM
  3. [SOLVED] Row Labels across columns (not Column Labels)
    By topgun79 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-11-2013, 08:43 PM
  4. Adding extra labels to column chart
    By handerson0603 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-17-2012, 02:40 PM
  5. Adding custom labels to chart columns
    By ANP in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 04-07-2012, 07:30 AM
  6. Adding a value to first empty cell in column
    By panthers7171 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2009, 09:42 PM
  7. [SOLVED] Excel stack column: how to remove empty labels?
    By antonio__regina@hotmail.com in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-13-2006, 01:10 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