+ Reply to Thread
Results 1 to 8 of 8

Help Creating chart that counts the number of excel entries in a date range (decade)

  1. #1
    Registered User
    Join Date
    08-14-2020
    Location
    Indiana
    MS-Off Ver
    Office 365
    Posts
    8

    Help Creating chart that counts the number of excel entries in a date range (decade)

    Good evening,

    I am looking for some advice how to create a chart that summarize some data.

    In excel, I have recorded coins that I have found metal detecting (column A=date found; column B=type of coin; column C=Date of coin; Column D=location). Each row is a different coin.

    The chart I am trying to create would count the number of coins found within a date range at a certain location.

    For example:

    Location 1940-1949 1950-1959 1960-1969 1970-1979
    Park 1 0 0 15 30
    School 1 0 0 20 14
    School 2 0 2 10 20
    Park 2 0 0 12 9




    What is the best why to obtain this type of chart and have it easily updated as new entries are added?

    Thanks,
    Rob

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,471

    Re: Help Creating chart that counts the number of excel entries in a date range (decade)

    Is the first row date found or date of birth of coins?
    A sample may help. Follow the instruction on top of the page with yellow banner to see how to attach a sample.
    Quang PT

  3. #3
    Registered User
    Join Date
    08-14-2020
    Location
    Indiana
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Help Creating chart that counts the number of excel entries in a date range (decade)

    Thank you for the advice uploading a sample file. I hopefully have completed that now.

    The first row would include both date found (column A) and date of the coin column C.

    Also, in the example I have a column E that takes the value in column C (Year of the coin) and converts the first four characters to a number (because the mint mark was included along with the date, excel view it as text in column C). This would be the numbers I would like to count and tabulate the numbers of coins found from that decade.

    Thank you,
    Rob
    Attached Files Attached Files
    Last edited by Indywar2; 08-15-2020 at 12:27 AM.

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

    Re: Help Creating chart that counts the number of excel entries in a date range (decade)

    G2 =IF(COUNTIF($D$2:$D$136,$D2)=COUNTIF($D$2:$D2,$D2),COUNTIF($D$2:$D$136,$D2),"") and drag down.

    Don't work with merged cells, you get in trouble with it sooner or later.

    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.

  5. #5
    Registered User
    Join Date
    08-14-2020
    Location
    Indiana
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Help Creating chart that counts the number of excel entries in a date range (decade)

    Thanks oeldere for the quick reply.

    That is a little different than the table I was looking for.

    I am looking for a table similar to the one in the original message above. The table would use data from the excel spreadsheet I attached and categorize the location and the number of coins within a certain date range (e.g. 1980-1989). I have generated a pivot table that will count the number of coins at a particular location and by individual date, but it is a large table. I am wanting a quick table/summary table that shows the location, and the number of coins with dates within a decade. Please see table in 1st message above.

    Thanks,
    Rob

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

    Re: Help Creating chart that counts the number of excel entries in a date range (decade)

    With VLookup to find the group.

    After that a pivot table.

    See the attached file.

  7. #7
    Registered User
    Join Date
    08-14-2020
    Location
    Indiana
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Help Creating chart that counts the number of excel entries in a date range (decade)

    Hi Oeldere,

    That looks exactly on the mark. Thank you so much for your help !

    Rob

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

    Re: Help Creating chart that counts the number of excel entries in a date range (decade)

    Glad I could help.

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

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

+ 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] Count number of entries within a specific date range
    By aglawrence in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-11-2019, 03:09 PM
  2. Replies: 1
    Last Post: 01-23-2018, 06:05 AM
  3. Counting the number of entries between a certain date range
    By Rhuumz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-20-2017, 09:17 PM
  4. Replies: 2
    Last Post: 02-04-2016, 10:16 AM
  5. [SOLVED] creating total counts and dollar amounts based off a number inputed
    By Outlet Kings in forum Excel General
    Replies: 10
    Last Post: 06-19-2015, 04:19 PM
  6. Creating a sum from multiple entries within a specific date range
    By tz_bit in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2013, 11:07 AM
  7. creating counts from a range of cells
    By tanbio in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2006, 07:18 AM

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