+ Reply to Thread
Results 1 to 2 of 2

Extract and Filter by year and/or region

  1. #1
    Registered User
    Join Date
    10-04-2010
    Location
    SF, CA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Extract and Filter by year and/or region

    Hi all,

    Here's what I'm trying to do: display a graph for dollar totals based on year (with date entered as xx/xx/xx). So, in the below example I'd like to get the sum of all totals for 2009 and separately, 2010.

    I'd also like to group states into regions and then get totals per region (i.e. NJ = "East", CA = "West" and then get separate sum totals per region).

    Date Name State Total Reason
    1/5/2009 Roger NJ 5 Sale
    1/6/2009 Roger NJ 2 Sale
    2/8/2009 Mike NJ 4 Sale
    4/5/2009 Dean DE 3 Sale
    4/5/2010 Roger NJ 12 Return
    6/5/2010 Dean DE 15 Retun
    7/8/2010 Mike NJ 17 Sale
    9/8/2010 Mike NJ 22 Return
    9/15/2010 Dean DE 0 Return
    1/20/2010 Susie CA 55

    I've been searching for help, and going a little bonkers right now...I'm new to all of this, and I think my two issues below are a little advanced for where I'm at right now (I'm at IF, and basic COUNTIF functions - anything beyond that is greek to me).

    One problem, I need to have formulas for both Excel and Google Spreadsheets, so autofilter and pivot tables are out of the question.

    I'd really appreciate any help.

    Many, many, many thanks!
    Last edited by workingtolearn; 10-04-2010 at 06:26 PM. Reason: spelling

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Extract and Filter by year and/or region

    Here are some suggestions using SUMPRODUCT() constructs.


    As you expand these into your own data set, resist the urge to try and set entire columns as your range.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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