Array Help!!

Nade85

New Member
Joined
Sep 13, 2018
Messages
9
Office Version
  1. 2016
Platform
  1. Windows
Need to filter a list of ID's (with multiple entries per ID) which includes end dates for events and a "day count." Ultimately, I need to get the number of ID's (not which IDs, just a count of them) that have exceeded a "day count" (say 220 in a year or 400 in a two year window). Each row is an event with an associated day count and the ID that was involved. Columns below are A through J. "Consecutive Days" is what I want added up per "ID" based on a calendar year from the "Adj End Date" column. I can figure out number of individual ID's later so long as this list gets filtered down to just those exceeding a defined "day count." I'm working on more than 500,000 events in the spreadsheet. Obviously building a query in Access would be better suited but I've got to work on that and its going to take too long.

IDCategory CodePurpose CodeBegin DateProj End DateEnd DateAdj End DateConsecutive_Begin_DateConsecutive_End_DateConsecutive_Days
102378AO16-Jan-1725-Jan-1725-Jan-1725-Jan-1716-Jan-1725-Jan-179
102378AO15-Mar-1707-Aug-1708-Aug-1708-Aug-1715-Mar-1708-Aug-17146
102378AA29-May-1801-Jun-1801-Jun-1801-Jun-1829-May-1801-Jun-183
102378CM15-Jun-1829-Jun-1829-Jun-1829-Jun-1815-Jun-1829-Jun-1814
102378CZ06-Mar-1931-Dec-19 31-Dec-1906-Mar-1931-Dec-19300
302100AA18-Oct-1818-May-1928-Apr-1928-Apr-1918-Oct-1828-Apr-19192
65547AA21-Jan-1721-Jul-1720-Jul-1720-Jul-1721-Jan-1720-Jul-17180
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top