+ Reply to Thread
Results 1 to 4 of 4

Append text to a pivot table column

  1. #1
    Registered User
    Join Date
    02-21-2014
    Location
    Chennai
    MS-Off Ver
    Excel 2013
    Posts
    15

    Append text to a pivot table column

    I have a list of employees and the number of hours they have worked on across different projects. I want to append Unit of Measurement ("Hrs") wherever there is a number shown. I know I can do that easily using the formula
    Please Login or Register  to view this content.
    but I'm also doing a pivot table where these number values are getting added (Sum). I just wanted to check if there was a way to append the text "Hrs" in the pivot table where the number values are shown without affecting the calculation?

  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
    52,936

    Re: Append text to a pivot table column

    You could probably do this with custom formatting on the cell...##" hrs"
    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
    02-21-2014
    Location
    Chennai
    MS-Off Ver
    Excel 2013
    Posts
    15

    Re: Append text to a pivot table column

    That works great, thank you!

    Just one doubt, I have some values with decimals and some without. Can I extend it to include ##.#" hrs" along with ##" hrs" ?

  4. #4
    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
    52,936

    Re: Append text to a pivot table column

    try ##.00" hrs"

+ 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. How to present 'text' as a column in a Pivot table?
    By rakk1 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-20-2012, 04:28 AM
  2. Need text in column of pivot table
    By SJMaye in forum Excel General
    Replies: 4
    Last Post: 01-12-2011, 11:33 AM
  3. Is possible have text column in Pivot Table?
    By WSplawn in forum Excel General
    Replies: 2
    Last Post: 11-06-2010, 08:31 AM
  4. Replies: 1
    Last Post: 04-15-2008, 01:59 AM
  5. Append data from a column to separate table array
    By miss_q in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-12-2005, 07:01 PM

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