+ Reply to Thread
Results 1 to 9 of 9

How to Sum Cells that comply with a date(month and year) and account ID

  1. #1
    Registered User
    Join Date
    01-31-2013
    Location
    Honduras
    MS-Off Ver
    Excel 2010
    Posts
    5

    Post How to Sum Cells that comply with a date(month and year) and account ID

    HI GUYS,

    I need help with this problem:


    In a worksheet i have all the transactions of income and expenses. Each transaction has been classified with date, account ID, description and amount of the transaction.

    In another worksheet i have a summary where all the months of the year as a column and each account as a row, to get each Income or expense classified according to the account ID and month of execution.

    What i need in the summary is a sum of all the transactions done during that month for each specific account ID.

    Here are portions of the worksheet so you can see what i mean.

    FECHA ACCOUNTID DESCRIPCION GASTOS INGRESOS TOTAL
    02/01/2013 900101 Pago de mantenimiento Local 05 mes de Enero 2,408.70 2,408.70
    05/01/2013 900101 Pago de mantenimiento enero de Local 06 4,828.80 7,237.50
    08/01/2013 905452 Emitido a nombre de DICOM por compra 96.00 7,141.50
    08/01/2013 906452 Emitido a nombre de XXXXX por compra 196.00 6,945.50



    ene-13 feb-13 mar-13 abr-13 may-13
    ID CUENTA EXPENSES - - - - -
    910100 SUELDOS Y BENEFICIOS - - - - -
    910101 Sueldos y Salarios
    910102 Vacaciones
    910103 Horas Extras
    910104 Bonificaciones
    910105 Comisiones
    905452 PAPER AND SOAP
    906452 COMPUTER MAINTENANCE

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: How to Sum Cells that comply with a date(month and year) and account ID

    Hi and welcome to the forum

    Often, a copy/paste of your data to here doesnt really work too well - and this is 1 of those times.

    From the sounds of it, you need to use sumifS(), but its hard to say without seeing a sample of what you are working with.

    i would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-31-2013
    Location
    Honduras
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: How to Sum Cells that comply with a date(month and year) and account ID

    Here is the xlsx file.

    THANK YOU FOR YOUR QUICK REPLY
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,324

    Re: How to Sum Cells that comply with a date(month and year) and account ID

    I think a pivot table is the most suitable for this
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  5. #5
    Registered User
    Join Date
    01-31-2013
    Location
    Honduras
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: How to Sum Cells that comply with a date(month and year) and account ID

    Thanx Popipipo.

    I still would prefer a formula that looks for month, year and account ID and sums only the transactions with that code and places them on the other sheet ordered by month.

    I dont want to change the formatting on the sheet that sums it all up.

    Or is there a way to pull all the data from the pivot sheet?

    Im open to any suggestions...

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: How to Sum Cells that comply with a date(month and year) and account ID

    See if the attached will give you what you want?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-31-2013
    Location
    Honduras
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: How to Sum Cells that comply with a date(month and year) and account ID

    Thanx buddy, thats exactly what i needed, you awesome.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: How to Sum Cells that comply with a date(month and year) and account ID

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below)

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to Sum Cells that comply with a date(month and year) and account ID

    I don't understand the language of the worksheet but for what I did understand I filled in formulae. I used two helper columns in order to shorten the formulae needed to match criteria. You should be able to fill in the rest of the formulae following the pattern of the formulae given.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Replies: 4
    Last Post: 05-31-2013, 11:20 AM
  4. Replies: 9
    Last Post: 03-12-2012, 05:30 AM
  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