+ Reply to Thread
Results 1 to 3 of 3

Counting unique values with several dimensions

  1. #1
    Registered User
    Join Date
    05-19-2017
    Location
    Drammen, Norway
    MS-Off Ver
    MS2016
    Posts
    1

    Counting unique values with several dimensions

    Hi

    I have a table of data in Excel of approx 60.000 rows as shown in the Attached document Snippet of database.PNG.

    What I need, is an Excel-formula that gives me the number of unique customers pr year and / or last 12 months, pr customer category and pr Revenue group as shown in the Attached report Snippet of report.PNG.

    I have tried using this formula to get the no of customers pr Revenue group =SUM(--(FREQUENS(IF(E2:E10<>"";IF(D2:D10=$H$12;MATCH(E2:E10;E2:E10;0)));ROW(E2:E10)-ROW(E2)+1)>0)), but it Returns #NAME?

    I will need to ad year and customer category to the formula as well.

    I would appreciate it if anybody could help me with this formula, or if there is another formula that could solve my problem.

    Rune

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Counting unique values with several dimensions

    Hi and welcome to the forum

    Pictures are of little value. Honestly, no one wants to re-type your data to try and solve your issue. Additionally, we would only be guessing at how your data was structured, ie. formulas, formatting, etc. Additionally, due to how some browsers behave, many of our members cannot see uploaded pictures/images. Please do not take this route.

    Please attach a sample file that represents what you have. The structure of your attachment should be the same structure as your actual data. Any proprietary information should be changed.

    Include in the attachment any code you're currently using (whether it works or not) and an "After" of what you wish the output to be.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

    or easier way:
    attachment0.jpg


    attachment.jpg
    Last edited by sandy666; 05-19-2017 at 07:58 AM.

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Counting unique values with several dimensions

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as 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. Need help with counting unique values
    By azogz in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-12-2013, 03:34 AM
  2. [SOLVED] counting unique values in col A against unique value in column B
    By greyscale in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-08-2013, 08:43 AM
  3. Replies: 2
    Last Post: 06-06-2012, 01:44 PM
  4. Replies: 0
    Last Post: 03-08-2012, 12:18 PM
  5. Counting Unique Values
    By carl in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. Counting Unique Values
    By carl in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  7. Counting Unique Values
    By carl in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-25-2005, 08:05 AM

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