+ Reply to Thread
Results 1 to 4 of 4

Pivot Problem counting values from Rows

  1. #1
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Pivot Problem counting values from Rows

    Hello,

    I need help in presenting my Pivot table properly. I'm counting the # of personnel in a certain group but it's counting twice the same name because he has 2 dates.

    Is there any way to count him only once even in the Data he is having 2 dates? I need to show the dates in the pivot but he should only be counted as 1.

    I attached the excel file, feel free to change the structure pls.

    Thanks
    Ricky
    Attached Files Attached Files
    Last edited by rickyilas; 06-11-2022 at 03:23 AM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Pivot Problem counting values from Rows

    N7=IF(COUNTIF($O$2:$O7,$O7)>1,0,COUNTIF($O$2:$O7,$O7))

    O7=E7&B7

    After that a pivot table.

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Re: Pivot Problem counting values from Rows

    Thanks Oeldere! It's really a very smart solution. Appreciate your help.

    I attached the file with the updated pivot table with your solution for others.

    Thank you.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Pivot Problem counting values from Rows

    Thanks for the rep.

    Glad I could help.

    Thanks for marking the question solved.

+ 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. Counting Rows Between Two Values and Get Average Number of Rows
    By chuchuberthelot in forum Excel General
    Replies: 5
    Last Post: 03-02-2020, 01:34 PM
  2. Replies: 4
    Last Post: 07-13-2017, 12:24 AM
  3. [SOLVED] problem counting rows in a Month
    By Giro17 in forum Excel General
    Replies: 4
    Last Post: 12-28-2016, 10:08 AM
  4. months counting problem in Pivot Table
    By gutkinma in forum Excel General
    Replies: 5
    Last Post: 09-08-2011, 03:36 AM
  5. Counting values problem
    By bardschant in forum Excel General
    Replies: 1
    Last Post: 01-24-2008, 11:44 AM
  6. [SOLVED] Counting rows, then counting values.
    By Michael via OfficeKB.com in forum Excel General
    Replies: 7
    Last Post: 08-04-2005, 06:05 PM
  7. Counting Rows Then Counting Values in Columns
    By Michael via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2005, 12:05 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