+ Reply to Thread
Results 1 to 3 of 3

I need help

Hybrid View

  1. #1
    Registered User
    Join Date
    08-08-2007
    Posts
    1

    Post I need help

    Hello. I wonder if anyone can help me with this kode problem. If I have a column with dates like this:

    A
    26 jun
    26 jun
    26 jun
    27 jun
    27 jun
    28 jun
    3 jul
    3 jul
    5 jul
    and so on.....

    I would like the result to be like this:

    26 jun = 3
    27 jun = 2
    28 jun = 1
    3 jul = 2
    5 jul = 1
    and so on.....

    What kind of formula can do this automatically without needing me to count over first?

    mvh Lasse

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,677
    If you have a list of unique dates (you can get that by filtering your list to show only unique) then you can use COUNTIF,

    e.g. if original list is in column A then unique list in C1 down use this formula in D1 copied down

    =COUNTIF(A:A,C1)

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Lassenes

    Please read forum rules & use correct thread title

    see links below for rules
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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