+ Reply to Thread
Results 1 to 14 of 14

Summary of cost for Date Ranges by Month/year

  1. #1
    Forum Contributor
    Join Date
    11-11-2010
    Location
    England
    MS-Off Ver
    Excel 2019
    Posts
    202

    Summary of cost for Date Ranges by Month/year

    Hi guys,

    i have attached the spreadsheet

    basically I am trying to total this spreadsheet up to work out a sum for the month by customer number.
    some customers made a payment in jan 2012 and paid again in jan 2013, some paid twice in one month.

    what needs to happen is

    it needs to have customer number going down and the month/year going across the top with a summary paid for that month

    i have attached the spreadsheet.

    can anyone help?
    Attached Files Attached Files
    Last edited by m_789; 08-22-2013 at 07:42 AM.

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

    Re: Summary of cost for Date Ranges by Month/year

    You get better help, if you follow the advice in the link below.

    http://www.excelforum.com/the-water-...-question.html

    You did not attache an 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.

  3. #3
    Forum Contributor Bhuvi's Avatar
    Join Date
    04-19-2013
    Location
    Delhi, India
    MS-Off Ver
    MS Excel 2003,07,10
    Posts
    153

    Re: Summary of cost for Date Ranges by Month/year

    Hi m_789,
    Could you please attach the sheet ?

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Summary of cost for Date Ranges by Month/year

    Do you forgot the attachment?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Summary of cost for Date Ranges by Month/year

    Hi,

    I can't see the workbook. Care to try again?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Summary of cost for Date Ranges by Month/year

    4 replies in same minutes!! This must be a record here!!!

  7. #7
    Forum Contributor
    Join Date
    11-11-2010
    Location
    England
    MS-Off Ver
    Excel 2019
    Posts
    202

    Re: Summary of cost for Date Ranges by Month/year

    have done now sorry
    Quote Originally Posted by Bhuvi View Post
    Hi m_789,
    Could you please attach the sheet ?
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    11-11-2010
    Location
    England
    MS-Off Ver
    Excel 2019
    Posts
    202

    Re: Summary of cost for Date Ranges by Month/year

    added now mate
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    11-11-2010
    Location
    England
    MS-Off Ver
    Excel 2019
    Posts
    202

    Re: Summary of cost for Date Ranges by Month/year

    apologies guys have added now

  10. #10
    Forum Contributor
    Join Date
    11-11-2010
    Location
    England
    MS-Off Ver
    Excel 2019
    Posts
    202

    Re: Summary of cost for Date Ranges by Month/year

    added now sorry

  11. #11
    Forum Contributor
    Join Date
    11-11-2010
    Location
    England
    MS-Off Ver
    Excel 2019
    Posts
    202

    Re: Summary of cost for Date Ranges by Month/year

    done now mate sorry

  12. #12
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Summary of cost for Date Ranges by Month/year

    Maybe..

    =SUMPRODUCT(($A$2:$A$39=$J2)*(TEXT($G$2:$G$39,"mmmyy")=TEXT(K$1,"mmmyy")),$H$2:$H$39)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  13. #13
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Summary of cost for Date Ranges by Month/year

    Try

    In J2 and copy down for the customers list

    =LOOKUP(REPT("Z";255);CHOOSE({1\2};"";INDEX($A$2:$A$100;MATCH(TRUE;INDEX(ISNA(MATCH($A$2:$A$100;$J$2:$J2;0));0);0))))

    In K2 and copy down and across, this one.

    =SUMPRODUCT((MONTH($G$2:$G$40)=MONTH(K$1))*(YEAR($G$2:$G$40)=YEAR(K$1))*($A$2:$A$40=$J2)*($H$2:$H$40))
    Attached Files Attached Files

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

    Re: Summary of cost for Date Ranges by Month/year

    Or with an pivot table.

    See the attached file.
    Attached Files Attached Files

+ 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. Sort month/date/year data using month and date only
    By SMW820 in forum Excel General
    Replies: 8
    Last Post: 11-18-2014, 08:39 AM
  2. Replies: 3
    Last Post: 09-04-2013, 10:49 AM
  3. If Column A Month and Year = ColumnB Todays Month and Year then send email
    By HACCStaff in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2013, 12:47 AM
  4. Replies: 3
    Last Post: 01-14-2012, 02:33 PM
  5. formula for prior month & year of a month end date.
    By mikeburg in forum Excel General
    Replies: 2
    Last Post: 09-25-2007, 04:01 PM

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