+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    10-01-2009
    Location
    baltimore, md
    MS-Off Ver
    Excel 2003
    Posts
    4

    How to combine occurences by date?

    I'm trying to make a graph of the occurrence of a certain term on a certain date. Right now, I have a database of articles listed, and every time the term is said in the article, i put a "1" in the adjacent column. When I try to graph this, Excel gives multiple bars for a single date if the term occurred more than once, for example, I have 5 entries for 11/26/2008, so there are five bars on my graph that all go up to 1. What I want is for Excel to combine all those entries, so that there is 1 bar that goes up to 5. I know how to do "count if" but is there a way to set this up so that excel will automatically add all entries on a specific date and then group them as one bar on a bar graph?

    Thanks.
    Last edited by alexeipg; 10-01-2009 at 01:06 PM.

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: How to combine occurences by date?

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

  3. #3
    Registered User
    Join Date
    10-01-2009
    Location
    baltimore, md
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: How to combine occurences by date?

    here is a dummy workbook
    Attached Files Attached Files

  4. #4
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: How to combine occurences by date?

    If you need the dates between on the horizontal axis where no instances exist then perhaps something like the attached ?

    If not (ie plot only days with values) then you could run your existing table into a Pivot Chart which would do the aggregation for you.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-01-2009
    Location
    baltimore, md
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: How to combine occurences by date?

    and a pivot chart is?

  6. #6
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: How to combine occurences by date?

    there's an Intro link in my sig.

  7. #7
    Registered User
    Join Date
    10-01-2009
    Location
    baltimore, md
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: How to combine occurences by date?

    Great, thanks.

Thread Information

Users Browsing this Thread

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

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.2.0