+ Reply to Thread
Results 1 to 7 of 7

Extract value or sum total based on month criteria that falls within Data Range

  1. #1
    Forum Contributor
    Join Date
    01-03-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2016,Excel 2013
    Posts
    186

    Extract value or sum total based on month criteria that falls within Data Range

    Hello Friends,

    Trying to sum a column containing project resources by month and year.
    Attached is sample data along with requirement. Any help is much appreciated.

    Thanks
    Attached Files Attached Files
    Last edited by Mysore; 12-05-2013 at 04:59 AM.

  2. #2
    Forum Contributor amit.wilson's Avatar
    Join Date
    07-09-2013
    Location
    Gotham
    MS-Off Ver
    Excel for Mac 2011
    Posts
    283

    Re: Extract value or sum total based on month criteria that falls within Data Range

    Hello Mysore,

    Try this in I8:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy-paste across and it should (hopefully) do what you want.

    Cheers
    <-- If you're happy & you know it...click the star.:-)

  3. #3
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Extract value or sum total based on month criteria that falls within Data Range

    Hi All,

    another possible solution, again in I8

    Please Login or Register  to view this content.

    Regards
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  4. #4
    Forum Contributor amit.wilson's Avatar
    Join Date
    07-09-2013
    Location
    Gotham
    MS-Off Ver
    Excel for Mac 2011
    Posts
    283

    Re: Extract value or sum total based on month criteria that falls within Data Range

    Canapone,

    very elegantly done sir. Where is the salute button on this? :-)

    Cheers

    PS: not to nitpick but the semicolon after H8 should be a comma... <sheepish grin>.

  5. #5
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Extract value or sum total based on month criteria that falls within Data Range

    Ciao,

    and thanks: ";" was an unfortunate leftover from Italian settings.

    Please Login or Register  to view this content.
    I suspect that your formula is more reliable than using MEDIAN.

    I did not have the courage to test it on wider periods .

    Regards
    Last edited by canapone; 12-03-2013 at 01:50 AM.

  6. #6
    Forum Contributor
    Join Date
    01-03-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2016,Excel 2013
    Posts
    186

    Re: Extract value or sum total based on month criteria that falls within Data Range

    Thanks Guys,

    Just wondered if it is possible to add all the resources (Ref Column I) without having
    to create the data spread. I mean using the solutions you have provided and merging
    with sumproduct formula.

    Thanks

  7. #7
    Forum Contributor amit.wilson's Avatar
    Join Date
    07-09-2013
    Location
    Gotham
    MS-Off Ver
    Excel for Mac 2011
    Posts
    283

    Re: Extract value or sum total based on month criteria that falls within Data Range

    Mysore,

    it won't work with EOMONTH as it doesn't take an array. And I don;t think MEDIAN does either. (I mean it does but not the way we want it to in this formula i.e. to calculate each row array separately. it calculates the median for all the values in the array.)

    Try this in I14:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Cheers
    Last edited by amit.wilson; 12-02-2013 at 11:33 PM.

+ 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] Auto extract data from master list into other sheets based off of month
    By dsklein85 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-18-2013, 06:23 PM
  2. [SOLVED] Extract/Copy data within a range based on mutiple criteria?
    By new@excel in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-23-2013, 01:11 AM
  3. Return True or False if date range falls within current month
    By kieran614 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-17-2013, 12:02 PM
  4. If statement based on cell data, if falls in range.
    By finch82 in forum Excel General
    Replies: 3
    Last Post: 10-27-2011, 04:11 PM
  5. Extract from the list and total month wise.
    By ebin charles in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2011, 11:40 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