+ Reply to Thread
Results 1 to 5 of 5

Pivot Table for Text and Numerical Data from same column

  1. #1
    Registered User
    Join Date
    07-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2016
    Posts
    5

    Pivot Table for Text and Numerical Data from same column

    Hi all,

    Not sure if the Title is clear enough.

    Have attached table which gives Manpower utilization against WBS codes.

    The Hours and WBS are entered in the same column for the day.

    I need to workout a pivot table which gives me the data as shown in the yellow highlighted table on the RHS.
    Attached Files Attached Files
    Last edited by aarpee26; 09-19-2021 at 03:19 AM. Reason: Attachment not included previously

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,674

    Re: Pivot Table for Text and Numerical Data from same column

    Are you still using Excel 2003? If not, then please update your forum profile.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2016
    Posts
    5

    Re: Pivot Table for Text and Numerical Data from same column

    Sorry about that. I use Excel 2016. Updated likewise in profile.

    Regards,

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: Pivot Table for Text and Numerical Data from same column

    I feel that to produce a pivot table the data in columns A:U would need to be converted to a data set containing daily records per employee as opposed to the matrix style data set displayed.
    That said I feel that the total hours could be calculated using the following array entered formulas**:
    For company employees: =SUM(IFERROR((G$6:U$14=X5)*(E$5:E$13="Company")*(G$4:U$4>=Y$3)*(G$4:U$4<=AA$3)*(G$5:U$13)*(C$5:C$13),0))
    For hired employees: =SUM(IFERROR((G$6:U$14=X5)*(E$5:E$13="Hired")*(G$4:U$4>=Y$3)*(G$4:U$4<=AA$3)*(G$5:U$13)*(C$5:C$13),0))
    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    I don't believe that there is enough information given to calculate the cost.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    07-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2016
    Posts
    5

    Re: Pivot Table for Text and Numerical Data from same column

    Thanks a lot JeteMC, will try as per your suggestions given.

    Regards,

+ 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] Return text if text found in column or sum column if just numerical values
    By LORPete in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-04-2021, 10:37 AM
  2. [SOLVED] Return text if text found in column or sum column if just numerical values
    By LORPete in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-16-2021, 05:03 AM
  3. Add custom column to Pivot Table or update Source data FROM pivot table
    By jschneiter2 in forum Excel Charting & Pivots
    Replies: 15
    Last Post: 08-20-2020, 03:04 PM
  4. Replies: 6
    Last Post: 01-24-2017, 06:56 PM
  5. sort pivot table by numerical values
    By pma85 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 01-16-2014, 04:49 PM
  6. [SOLVED] Sorting numerical data in a pivot table
    By katieshields in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-25-2013, 04:20 AM
  7. Replies: 1
    Last Post: 04-15-2008, 01:59 AM

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