+ Reply to Thread
Results 1 to 21 of 21

calculate % increase by date range with multiple worksheets

  1. #1
    Forum Contributor
    Join Date
    09-15-2005
    Location
    Florida
    MS-Off Ver
    Excel Professional Plus 2016
    Posts
    142

    calculate % increase by date range with multiple worksheets

    Much information but not one that fits my scenario.

    I have a worksheet that calculates % completed as staff enters "Yes" from the total of three groups "A", "B", "C" on different dates.

    Trying to find a combo formula that will give me the individual % INCREASE for A, B, C and total % INCREASE by "******date range******** Date range is the key.

    My difficulty is the multiple formula and worksheet that will work together to get it done.

    Ultimately this will be used to create a dashboard to see progress on an application being taught and used for our patients. We have multiple Hospital

    Attached is an example of two. Your help will be appreciated.
    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 (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: calculate % increase by date range with multiple worksheets

    Which cell will contain the formula? Where are the manually mocked up results?
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-25-2020
    Location
    India
    MS-Off Ver
    2019
    Posts
    4

    Re: calculate % increase by date range with multiple worksheets

    Hi,

    I have found a solution for you. Kindly refer the attachment. Thank you.

    1.Use SUMIFS formula to sum the percentages in range with three criterias as shown below
    =SUMIFS(Table13[% of Total for facility],Table13[Tier],$M6,Table13[Trained and device setup complete?
    Yes],"yes",Table13[TimeStamp],"<=02/06/2020")-SUMIFS(Table13[% of Total for facility],Table13[Tier],$M6,Table13[Trained and device setup complete?
    Yes],"yes",Table13[TimeStamp],"<=01/06/2020")

    2. Change the date for the next colum.

    Thank You
    Attached Files Attached Files
    Last edited by Dolphin Revanth; 06-27-2020 at 04:01 AM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: calculate % increase by date range with multiple worksheets

    Sorry for off-topic interjection:

    Dolphin Ravanth

    Although there is no official rule regarding this behaviour, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

  5. #5
    Registered User
    Join Date
    06-25-2020
    Location
    India
    MS-Off Ver
    2019
    Posts
    4

    Re: calculate % increase by date range with multiple worksheets

    Sure AliGW. Hereafter, I will provide details in the thread also. Thank you.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: calculate % increase by date range with multiple worksheets

    I'd like you to add the requested detail this time, too - you can edit post #3 to do this. Thank you.

  7. #7
    Forum Contributor
    Join Date
    09-15-2005
    Location
    Florida
    MS-Off Ver
    Excel Professional Plus 2016
    Posts
    142

    Re: calculate % increase by date range with multiple worksheets

    Quote Originally Posted by Dolphin Revanth View Post
    Hi,

    I have found a solution for you. Kindly refer the attachment. Thank you.

    1.Use SUMIFS formula to sum the percentages in range with three criterias as shown below
    =SUMIFS(Table13[% of Total for facility],Table13[Tier],$M6,Table13[Trained and device setup complete?
    Yes],"yes",Table13[TimeStamp],"<=02/06/2020")-SUMIFS(Table13[% of Total for facility],Table13[Tier],$M6,Table13[Trained and device setup complete?
    Yes],"yes",Table13[TimeStamp],"<=01/06/2020")

    2. Change the date for the next colum.

    Thank You
    Good Morning Dolphin,
    It looks great even though there are so much in the formula, however, when I add a new date (for example under Column K there represents Tiea A, it zero's all calculations.

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: calculate % increase by date range with multiple worksheets

    Due to regional settings I feel that the following change will be needed:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  9. #9
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: calculate % increase by date range with multiple worksheets

    To avoid regional setting issue, use DATE:
    Please Login or Register  to view this content.
    Change the 2 dates for next column
    Quang PT

  10. #10
    Forum Contributor
    Join Date
    09-15-2005
    Location
    Florida
    MS-Off Ver
    Excel Professional Plus 2016
    Posts
    142

    Re: calculate % increase by date range with multiple worksheets

    Quote Originally Posted by JeteMc View Post
    Due to regional settings I feel that the following change will be needed:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    I think I muddered the waters by haveing the column "% of Total for facility". The formula is giving me error. I am trying to ajust the formula to include the "Tier" column and the "time stamp" column with out success.

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

    Re: calculate % increase by date range with multiple worksheets

    Post a workbook showing what you have tried.

  12. #12
    Forum Contributor
    Join Date
    09-15-2005
    Location
    Florida
    MS-Off Ver
    Excel Professional Plus 2016
    Posts
    142

    Re: calculate % increase by date range with multiple worksheets

    Quote Originally Posted by bebo021999 View Post
    To avoid regional setting issue, use DATE:
    Please Login or Register  to view this content.
    Change the 2 dates for next column
    Expected result is : 9% in the "report" sheet cell B17

    I have tried both of the below formula with error:

    =SUMIFS(Table14[% of Total for facility],,$J6,Table14[Trained and device setup complete?
    Yes],"yes",Table14[TimeStamp],"<="&B1)-SUMIFS(Table14[% of Total for facility],Table14[Tier],$J6,Table14[Trained and device setup complete?
    Yes],"yes",Table14[TimeStamp],"<="&b2)


    =COUNTIFS(Westside!,West[TIME STAMP],Report!">="&B1,WESTSIDE!,West[TIME STAMP],Report!"<="&B2,REPORT!,A18/COUNTIFS(REPORT!,A18))

    =COUNTIF(Table14[Trained and device setup complete?
    Yes],"=Yes",Table14[Time Stamp],"<=Report!B1,Table14[Time Stamp],">=Report!B2/COUNTIFS(Table14[Time Stamp)

    I have included the workbook.
    Attached Files Attached Files
    Last edited by rogrand; 06-30-2020 at 12:57 PM.

  13. #13
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: calculate % increase by date range with multiple worksheets

    Removing the circular reference by changing the formulas in the time stamp column to values and then removing the data validation from the column header "Trained and device setup complete?" may have helped some.
    It seems as if the first formula could read:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    However it returns 83% as opposed to 9%. Perhaps if we knew why it should return 9% we could be more helpful.
    Let us know if you have any questions.
    Attached Files Attached Files

  14. #14
    Forum Contributor
    Join Date
    09-15-2005
    Location
    Florida
    MS-Off Ver
    Excel Professional Plus 2016
    Posts
    142

    Re: calculate % increase by date range with multiple worksheets

    Quote Originally Posted by JeteMc View Post
    Removing the circular reference by changing the formulas in the time stamp column to values and then removing the data validation from the column header "Trained and device setup complete?" may have helped some.
    It seems as if the first formula could read:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    However it returns 83% as opposed to 9%. Perhaps if we knew why it should return 9% we could be more helpful.
    Let us know if you have any questions.
    Actually, the result should be 2%. Total of 439 items if you count from the "Tier" column and only 8 items fall within the date range of 6/29 to 7/10.
    this would be 2%

  15. #15
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: calculate % increase by date range with multiple worksheets

    To get 2% try: =COUNTIFS(Table14[Trained and device setup complete?],"Yes",Table14[Time Stamp],">="&B1,Table14[Time Stamp],"<="&B2)/COUNTIFS(Table14[Time Stamp],"<>")
    Please don't quote whole posts, just use Quick Reply.
    Let us know if you have any questions.

  16. #16
    Forum Contributor
    Join Date
    09-15-2005
    Location
    Florida
    MS-Off Ver
    Excel Professional Plus 2016
    Posts
    142

    Re: calculate % increase by date range with multiple worksheets

    Unfortunate its not calculating correctly. I get a "0" as a result when I have items within the range specified.


    Yes 6/30/20
    Yes 6/30/2020
    Yes 6/30/2020
    Yes 6/30/2020
    Yes 6/30/2020
    Yes 6/30/2020
    Yes 6/30/2020
    Yes 6/30/2020
    Yes 8/4/2020
    Last edited by rogrand; 06-30-2020 at 05:01 PM.

  17. #17
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: calculate % increase by date range with multiple worksheets

    Here is the file with the formula applied to cell B17.
    Be sure that the format is set to percentage (decimal places 0)
    Let us know if you have any questions.
    Attached Files Attached Files

  18. #18
    Forum Contributor
    Join Date
    09-15-2005
    Location
    Florida
    MS-Off Ver
    Excel Professional Plus 2016
    Posts
    142

    Re: calculate % increase by date range with multiple worksheets

    It works. Many thanks. Wounder why it was not copying pasting correctly.
    If you don't want to response its ok. But is there $ need to use to carry over the formula to other cells. If so where does it get inserted on the formula?
    Last edited by rogrand; 06-30-2020 at 05:28 PM.

  19. #19
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: calculate % increase by date range with multiple worksheets

    If you mean copying the formula across row 17 to cell AB17 then try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Structured references do not use the $ sign for locking the columns when copied across.
    Let us know if you have any questions.

  20. #20
    Forum Contributor
    Join Date
    09-15-2005
    Location
    Florida
    MS-Off Ver
    Excel Professional Plus 2016
    Posts
    142

    Re: calculate % increase by date range with multiple worksheets

    Never mind, I found the answer, its by duplicating the []. For example [[Time Stamp]:[Time Stamp]]

    Thank you for your assistance. And just to let you know this will effect patient care and you contribution is appreciated.

  21. #21
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: calculate % increase by date range with multiple worksheets

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you and your patients have a blessed day.

+ 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. Auto Calculate based on the multiple conditions including date range
    By PunitA in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-25-2020, 12:57 PM
  2. [SOLVED] Calculate Mid Year Pay Increase Based on Anniversary Date
    By MandyP85 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-23-2018, 02:07 PM
  3. Formula to total amounts on multiple worksheets for particular date range
    By needleme in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-02-2018, 12:01 PM
  4. [SOLVED] Formula to calculate date of step pay increase.
    By Tiristia in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 10-06-2014, 10:44 AM
  5. How to sum totals from a date range across multiple worksheets?
    By djvybz in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-19-2013, 12:58 PM
  6. Replies: 2
    Last Post: 07-12-2011, 11:08 AM
  7. Filter for date range across multiple columns and multiple worksheets
    By Pugface in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-02-2011, 05:30 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