+ Reply to Thread
Results 1 to 2 of 2

How to get the unique record from the combination?

  1. #1
    Registered User
    Join Date
    06-02-2007
    Posts
    5

    How to get the unique record from the combination?

    Hi team,

    I have three columns in my spread sheet ( call nuumnber, Month and the cost).

    I need to find out

    1) The unique call number for the month, to calculate the metric in step (2).

    For eg, the call number P4DKT57 is spread across two month so, it is needs to take unique count in first and unique in the later months. So, the following should be the kind of o/p I am after
    P4DKT57 Jul-11 1
    P4DKT57 Feb-11 1


    2) Create a pivot chart that illustrates the CPC per month,
    CpC is calculated by dividing the sum of all costs by the total number of unique call number.

    Sample Data Table:

    Call Number Month Cost
    P4DHF23 Jul-11 $58.17
    P4DZH1D Jul-11 $58.17
    P4DZH1D Jul-11 $48.17
    P4DKT57 Jul-11 $58.17
    P4DKT57 Jul-11 $78.17
    P4DKT57 Feb-11 $58.17
    P4DZ6KL Jul-11 $99.17
    P4DZ6KL Mar-11 $58.17
    1789018Z Jul-11 $58.17
    1789018Z Apr-11 $68.17


    How is this avheivable in excel 2007.

    The sample spread sheet is attached. Could you please help me with this.

    Thanks.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: How to get the unique record from the combination?

    Hi

    Take a look at the attached workbook, where I created a Table from your data by choosing Insert tab>Table>my table has headers

    A table will grow in dimensions as you are more data.

    Then from the Design table, I chose Summarise with Pivot Table, and dragged
    Call Number to the Row Labels
    Charge Period to the Column Labels
    Approved Cost to the Values section.

    I placed a small macro on sheet Report to automatically refresh the Pivot Table each time you activate it, so that it will reflect any changes in the data.
    Attached Files Attached Files
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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