Closed Thread
Results 1 to 5 of 5

Formula needed to sum based on dates

  1. #1
    Forum Contributor
    Join Date
    07-06-2013
    Location
    USA
    MS-Off Ver
    MS Office 2019 Pro Plus
    Posts
    182

    Formula needed to sum based on dates

    WS Attached

    On STATS W17:28 (CLOSED) is where formula is needed.
    On SALES I6:1005, when “CL” is entered and E6:E1005 has the letter “B” entered,
    for each time both of those requirements are met the formula will sum
    the amount In the appropriate month in STATS W17:28 based on the amounts in SALES O6:1005

    On STATS Y17:28 (CLOSED) is where formula is needed.
    On SALES I6:1005, when “CL” is entered and E6:E1005 has the letter “S” entered,
    for each time both of those requirements are met the formula will sum
    the amount In the appropriate month in STATS Y17:28 based on the amounts in SALES O6:1005
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Formula needed to sum based on dates

    hi there. input the desired results so that we don't have to second-guess if what we are doing is correct or not. you may look at my signature to upload an eg that is easier to understand. for your case, tell us what is W17:W28 supposed to show? i think you are not giving all the information too, W17:W28 will show the same answer based on your information given. so basing on column M, i THINK what you want to see is by month. for eg. is W17 supposed to show 0 because the only Status with "CL" and B/S with "B" are in row 7 and 12 in Sales worksheet. and the dates are in Aug. so is W24 for Aug supposed to show 600,000? if so, try this in W17:
    =SUMIFS(SALES!O:O,SALES!I:I,"CL",SALES!E:E,$W$16,SALES!B:B,">="&M17,SALES!B:B,"<="&EOMONTH(M17,0))

    the upload attachment must be done by going to Go Advanced. click on Manage Attachments. Choose file, upload and close the window.

    hopefully, i did a correct guess. otherwise, i have wasted time coming up with something that does not help you. if i really guessed it wrongly, please upload something according to my recommendations. try to use the solution i have given and we'll help to advise what went wrong.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    07-06-2013
    Location
    USA
    MS-Off Ver
    MS Office 2019 Pro Plus
    Posts
    182

    Re: Formula needed to sum based on dates

    Ok, I did leave something out, sorry. I left out some info.

    STATS W17:W28 is suppose to show the sum of SALES O6:O1005 and distributed into the proper months based on the dates entered into SALES P6:P1005 if the criteria in SALES I6:I1005 = "CL" and SALES E6:E1005 = "B"

    Same formula needed for Y17:Y28 with the exception of E6:E1005 = "S"

    Does that make sense?

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula needed to sum based on dates

    Duplicate thread.

    Original thread here:
    https://www.excelforum.com/excel-for...ml#post4770319

  5. #5
    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
    91,031

    Re: Formula needed to sum based on dates

    Duplicate closed.
    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.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Sum Total Costs for Each Month Based between the Phase Dates Formula Needed
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-18-2017, 09:16 PM
  2. [SOLVED] Formula Needed to populate dates from one cell to another based on matching ID #s
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2017, 10:53 AM
  3. [SOLVED] Formula needed to calculate monthly sales volume from one sheet to another based on dates
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-08-2017, 11:32 AM
  4. Formula needed to calculate budget phasings based on dates
    By Kez35 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-23-2016, 05:22 AM
  5. [SOLVED] Formula needed for Dates associated with cost...
    By EMERGE in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-11-2014, 12:13 PM
  6. [SOLVED] 2 formulas needed for=COUNTIF based on dates
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-16-2013, 12:17 AM
  7. Formula Needed for Dates and Sales Figures
    By dcm6276 in forum Excel General
    Replies: 4
    Last Post: 04-14-2010, 03:16 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