Forum Discussion

brandonjkennedy's avatar
brandonjkennedy
Copper Contributor
Sep 08, 2024
Solved

Counting By Year in Multiple Tabs Not Working

Hi all,   I've been struggling to try to find a simpler solution because the workaround is too cumbersome.  I'm just trying to tally every employee hired by year in multiple units, each of which ha...
  • Harun24HR's avatar
    Sep 08, 2024

    brandonjkennedy VSTACK() has capability to stack data from multiple sheet to 1 sheet at once. The you can apply FILTER() function to filter desired data. Finally count filtered data. Download the attached dummy file and check it please.

    =LET(dt,TOCOL(VSTACK('Exec:Int Audit'!I2:I50000),1),
    COUNTA(FILTER(dt,(dt>DATE(2021,12,31))*(dt<DATE(2023,1,1)))))

     

     

Resources