+ Reply to Thread
Results 1 to 6 of 6

Modify existing formula to only include results based on a date range (month)

  1. #1
    Forum Contributor
    Join Date
    02-09-2007
    Location
    UK
    MS-Off Ver
    2019 & 365
    Posts
    304

    Modify existing formula to only include results based on a date range (month)

    I am looking to modify this formula so it only counts the values for an individual month as opposed to counting all of the results.

    =IFERROR(ROWS(UNIQUE(FILTER('gsp Rolling 12'!$Z$2:$Z$150000,'gsp Rolling 12'!$C$2:$C$150000))),)

    Formula to go in sheet gsp Output by Month, E2

    Manual calculations are entered into the cells to show what I would expect.

    Could anyone assist me please?

    Thanks BVG
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,104

    Re: Modify existing formula to only include results based on a date range (month)

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Modify existing formula to only include results based on a date range (month)

    Please try

    =MMULT(--TRANSPOSE('gsp Rolling 12'!C2:X20),--(MONTH('gsp Rolling 12'!A2:A20)=SEQUENCE(,12)))
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    02-09-2007
    Location
    UK
    MS-Off Ver
    2019 & 365
    Posts
    304

    Re: Modify existing formula to only include results based on a date range (month)

    Worked perfectly, that you once again Fluff13

  5. #5
    Forum Contributor
    Join Date
    02-09-2007
    Location
    UK
    MS-Off Ver
    2019 & 365
    Posts
    304

    Re: Modify existing formula to only include results based on a date range (month)

    Sadly, this did not give the results expected when working with large amounts of data. Thank you for assisting.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,104

    Re: Modify existing formula to only include results based on a date range (month)

    Glad to help & thanks for the feedback.

+ 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. [SOLVED] previous month last existing date based on latest date
    By rachelwahid in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-03-2021, 02:42 AM
  2. [SOLVED] Modify existing code to include the C1 and C3 drop downs.
    By Potholes in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-27-2019, 10:09 AM
  3. Modify range of chart series in existing charts to include last column
    By gregersdk in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-05-2015, 08:32 AM
  4. Help modify existing code to include next page down in a sheet.
    By ElmerFud in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-18-2015, 01:04 PM
  5. Replies: 2
    Last Post: 11-03-2014, 12:06 PM
  6. Modify existing macro to transpose results
    By Cody1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2013, 09:29 AM
  7. Include an effective date in an existing formula
    By Cortlyn in forum Excel General
    Replies: 2
    Last Post: 01-28-2008, 02:25 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