+ Reply to Thread
Results 1 to 7 of 7

Detect unique values in cell and find them in column to count them

  1. #1
    Registered User
    Join Date
    12-31-2014
    Location
    Barcelona
    MS-Off Ver
    Excel 2010
    Posts
    3

    Detect unique values in cell and find them in column to count them

    Hi everyone!

    It's the first time I come in here to ask a question so first of all my apologies if I am missing something when I describe my question.

    I am trying to figure out a way to do the following:

    Newpic.JPG

    I want to create a function or something that allows me to detect the Project Numbers and see if they have previously been entered. If several projects are entered in one cell, they will be separated by a /. If project numbers have not been previously entered all should be counted in column "Number" as shown in the picture.

    Does someone have an idea on how to do such thing?

    Any help will be much appreciated.
    Thanks.
    Last edited by Ivancitomusic; 01-02-2015 at 05:12 AM. Reason: Image not fully descriptive

  2. #2
    Registered User
    Join Date
    05-13-2014
    Location
    Best
    MS-Off Ver
    Excel 2007
    Posts
    60

    Re: Detect unique values in cell and find them in column to count them

    Hi

    Can you be a little more specific?
    previously= last entered data?

    bart

  3. #3
    Registered User
    Join Date
    12-31-2014
    Location
    Barcelona
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Detect unique values in cell and find them in column to count them

    Hi Bart,

    Thank you for your answer. Sorry if I wasn't precise enough. I have uploaded a new picture because last one was not showing what I wanted properly. What I am trying to do is this: I will register project numbers that I have worked on each day. If one day I have worked with more than one project I will separate them with /. If the next day I have worked with one project that I have already entered in the excel sheet I don't want it to be counted. That is why the cell "Number" on the 4th row displays a 0, because project 76325 was previously entered on row number 2. Please let me know if you need me to clarify something else and many many thanks for your help. And happy new year!!

  4. #4
    Registered User
    Join Date
    05-13-2014
    Location
    Best
    MS-Off Ver
    Excel 2007
    Posts
    60

    Re: Detect unique values in cell and find them in column to count them

    hI

    I studied yr problem. It is difficult to execute yr task with numbers separated in one cell by a non numeric data separator.
    I suggest you use adjacent cells for projects. Then it is much easier to look up numbers and do comparisons!


    happy NewYear

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Detect unique values in cell and find them in column to count them

    Hi,
    Welcome to the Forum.

    If you are open to a VBA solution, please find the attached sheet and click on the Orange Button to get the project count.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  6. #6
    Registered User
    Join Date
    12-31-2014
    Location
    Barcelona
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Detect unique values in cell and find them in column to count them

    Quote Originally Posted by sktneer View Post
    Hi,
    Welcome to the Forum.

    If you are open to a VBA solution, please find the attached sheet and click on the Orange Button to get the project count.
    Dear Sktneer,

    Thank you so much for your solution, it does exactly what I was looking for. You really made my day!!

    Many thanks all of you for your help!
    Last edited by Ivancitomusic; 01-02-2015 at 02:12 PM.

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Detect unique values in cell and find them in column to count them

    You're welcome. Glad I could help.

    Wish you a very happy & prosperous New Year - 2015.

+ 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] Find count of Unique or Duplicate Values based on Concatenated values in 2 columns
    By bdicarlo1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-03-2014, 12:42 AM
  2. Replies: 11
    Last Post: 01-18-2013, 04:05 PM
  3. Count Unique Values In One Column Basis Unique Values in Another Column
    By shez_raz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-07-2012, 01:55 AM
  4. Find and count unique values
    By famico78 in forum Excel General
    Replies: 8
    Last Post: 12-04-2009, 08:23 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