Results 1 to 4 of 4

Count unique value from a date range with multiple criteria by vba

Threaded View

  1. #1
    Forum Contributor
    Join Date
    07-27-2017
    Location
    Dhaka
    MS-Off Ver
    MS Excel 2019/ 64 bit
    Posts
    159

    Count unique value from a date range with multiple criteria by vba

    Dear Expert,
    To find out unique value from a date range considering criteria now i am using below formula. But those formula is very difficult & much bigger, when i use this formula multiple time in my same sheet then sheet will go down with very slow speed & finally sheet is not workable smoothly, but i need to use this formula in my sheet so many time like 20/30 times. So need any other solution like VBA or customize formula or any other that will not much impacted to my sheet size or working speed.

    Below is my formula & Attached file for your ref where i use this formula on c4 cell.

    =SUM(IF((Sheet2!$T$3:$T$9921>=$A4)*(Sheet2!$T$3:$T$9921<=EOMONTH($A4,0)*(Sheet2!$S$3:$S$9921<>"")*(Sheet2!$A$3:$A$9921=$B$2)*(Sheet2!$W$3:$W$9921=$B$1)),1/COUNTIFS(Sheet2!$A$3:$A$9921,$B$2,Sheet2!$T$3:$T$9921,">="&$A4,Sheet2!$T$3:$T$9921,"<="&EOMONTH($A4,0),Sheet2!$S$3:$S$9921,"<>"&"",Sheet2!$I$3:$I$9921,Sheet2!$I$3:$I$9921),0))
    Please help me in this regards

    thanks wahid
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Count unique value from a date range with multiple criteria
    By rachelwahid in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-08-2020, 07:28 AM
  2. Replies: 4
    Last Post: 04-28-2017, 11:06 AM
  3. Find count of unique values with multiple criteria inlcuding date ranges
    By jdooley in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-21-2016, 01:05 PM
  4. [SOLVED] Count if multiple criteria and within date range
    By T15K in forum Excel General
    Replies: 5
    Last Post: 01-10-2016, 06:22 AM
  5. Adding a date range to a unique data count based on multiple criteria
    By Matthew_Smith86 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-10-2015, 08:50 AM
  6. Count - multiple criteria, multiple sheets, and date range.
    By threecliffs in forum Excel General
    Replies: 6
    Last Post: 06-14-2011, 01:36 PM
  7. Replies: 4
    Last Post: 04-08-2011, 05:24 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