+ Reply to Thread
Results 1 to 4 of 4

Sorting Data from Access Db

  1. #1
    Registered User
    Join Date
    08-27-2009
    Location
    Florida, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Exclamation Sorting Data from Access Db

    =COUNTIFS(Table_crimestats.accdb[[#This Row],[station_id]], "station1",Table_crimestats.accdb[[#This Row],[crime_id]],"Assault",Table_crimestats.accdb[[#This Row],[date_occured]])

    this works fine until the 3rd criteria, i need to pull the events of a certain month, the date is in ##/##/#### format.
    can someone shed some light please.
    Last edited by anticore; 08-28-2009 at 03:26 PM.

  2. #2
    Registered User
    Join Date
    08-27-2009
    Location
    Florida, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Sorting Data from Access Db

    --------------------------------------------------------------------------------

    =COUNTIFS(Table_crimestats.accdb[[#This Row],[station_id]], "station1",Table_crimestats.accdb[[#This Row],[crime_id]],"Assault") this works fine, but i need to call up only the events that happened in lets say january

  3. #3
    Valued Forum Contributor
    Join Date
    08-26-2006
    Location
    -
    MS-Off Ver
    2010
    Posts
    388

    Re: Sorting Data from Access Db

    Use a new column formatted as "mmmm" and refering to the date column from the DB table, so it displays as July, August etc.
    Then use the new column as one of the criteria in the COUNTIFS.

  4. #4
    Registered User
    Join Date
    08-27-2009
    Location
    Florida, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Sorting Data from Access Db

    thanks worked great

+ 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