@ExcelNerd24
Welcome to the MrExcel board!
I note that you have "Liked" post 2. If you are going to use that formula structure then I would highly recommend changing from whole column references to something much smaller but still big enough to cover any data you might have. In the mini sheet
* below I have used that formula in column K and an alternative in column L. On my machine just those 20 formulas in column K take over 3 seconds to recalculate whereas the 20 formulas in column L take about 0.005 seconds to recalculate. I'm not suggesting that is because of the different formula (that is just an option) but mainly because of the restricting the rows to 1000 instead of over 1 million.
* I suggest that you investigate
XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.
(If you have trouble with XL2BB, review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of the XL2BB Instructions page linked above.)
24 12 07.xlsm |
---|
|
---|
| F | G | | I | J | K | L |
---|
1 | | | | | | | |
---|
2 | Admission | Discharge | | | | | |
---|
3 | | | | | | | |
---|
4 | 1/11/2024 | | | | 1/11/2024 | 1 | 1 |
---|
5 | 5/11/2024 | 20/11/2024 | | | 2/11/2024 | 1 | 1 |
---|
6 | 20/11/2024 | 1/12/2024 | | | 3/11/2024 | 1 | 1 |
---|
7 | 1/12/2024 | | | | 4/11/2024 | 1 | 1 |
---|
8 | | | | | 5/11/2024 | 2 | 2 |
---|
9 | | | | | 6/11/2024 | 2 | 2 |
---|
10 | | | | | 7/11/2024 | 2 | 2 |
---|
11 | | | | | 8/11/2024 | 2 | 2 |
---|
12 | | | | | 9/11/2024 | 2 | 2 |
---|
13 | | | | | 10/11/2024 | 2 | 2 |
---|
14 | | | | | 11/11/2024 | 2 | 2 |
---|
15 | | | | | 12/11/2024 | 2 | 2 |
---|
16 | | | | | 13/11/2024 | 2 | 2 |
---|
17 | | | | | 14/11/2024 | 2 | 2 |
---|
18 | | | | | 15/11/2024 | 2 | 2 |
---|
19 | | | | | 16/11/2024 | 2 | 2 |
---|
20 | | | | | 17/11/2024 | 2 | 2 |
---|
21 | | | | | 18/11/2024 | 2 | 2 |
---|
22 | | | | | 19/11/2024 | 2 | 2 |
---|
23 | | | | | 20/11/2024 | 2 | 2 |
---|
|
---|