+ Reply to Thread
Results 1 to 10 of 10

year to date report help needed.

Hybrid View

  1. #1
    Registered User
    Join Date
    01-22-2014
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    23

    year to date report help needed.

    I need help with a year to date report.

    I have a list of customers who are supplied with chemicals through out the year.

    I need to generate a report of the amount of chemicals delivered to each site year to date. Some sites will have multiply deliveries, so these deliveries need to be combined.

    Please see the attached Excel report. Sheet one contains the master data, sheet two is an example of how I would like the report might look.

    If you can help I would appreciate it greatly.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,972

    Re: year to date report help needed.

    Administrative Note:

    Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,434

    Re: year to date report help needed.

    Here's the first couple:

    Formula: copy to clipboard
    =SUMIFS('Chemical deliverys by site YTD'!$N:$N,'Chemical deliverys by site YTD'!$G:$G,'Chemical des by site YTD report'!$G2)

    Formula: copy to clipboard
    =SUMIFS('Chemical deliverys by site YTD'!$Q:$Q,'Chemical deliverys by site YTD'!$G:$G,'Chemical des by site YTD report'!$G2)
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


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

    Re: year to date report help needed.

    @Tacknow

    Still using Excel 2007?

    Otherwise I advice you to take a look a Power Query.

    If you add an excel file with the expected result, I could take a look at it for you.

    But not if you use Excel 2007, since it is not available in that version.
    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.

  5. #5
    Registered User
    Join Date
    01-22-2014
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: year to date report help needed.

    Many thanks.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,862

    Re: year to date report help needed.

    in M2

    =IF(A2="","",SUMIFS(INDEX('Chemical deliverys by site YTD'!$N:$BH,,MATCH(M$1,'Chemical deliverys by site YTD'!$N$1:$BH$1,0)),'Chemical deliverys by site YTD'!$G:$G,'Chemical des by site YTD report'!$G2))

    copy across to AB and down to M4

    Copy to M8 and repeat

    Given the number of cutomers and variability of their data, VBA might be a better option.
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  7. #7
    Registered User
    Join Date
    01-22-2014
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: year to date report help needed.

    Hi John

    I noticed you help tariqnaz2005 with a macro to insert 2 rows on each change in customer name and put a total for all amounts.

    Could you advise as to how to adapt this macro to suit my data.

    Many thanks
    Tacknow

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,972

    Re: year to date report help needed.

    Pleae start a NEW THREAD in the VBA section with a suitable title for this new question. Thanks.

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,862

    Re: year to date report help needed.

    @Ali: I have a VBA answer to the original post: post #7 is a re-phrasing simply because the logic is similar to that of another post I answered.

    So can I post here?

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,972

    Re: year to date report help needed.

    I have created a new thread here in the correct forum section: https://www.excelforum.com/excel-pro...l-amounts.html

+ 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. Replies: 2
    Last Post: 01-22-2019, 03:15 AM
  2. Formula Help Needed - Date range report for hotel
    By asrl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-12-2016, 10:39 AM
  3. Replies: 1
    Last Post: 04-22-2015, 08:08 AM
  4. Year To Date Return Formula - automation needed
    By brains in forum Excel General
    Replies: 7
    Last Post: 02-05-2015, 03:04 PM
  5. Replies: 3
    Last Post: 09-04-2013, 10:49 AM
  6. Replies: 3
    Last Post: 08-14-2012, 05:14 AM
  7. year to date formula needed
    By cu525 in forum Excel General
    Replies: 5
    Last Post: 11-05-2008, 04:39 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