Hello everyone and thank you for the help.
I am trying to copy this formula down a column to count certain occurrences and I need to copy it down for up to 400k rows:
=COUNTIFS($O$4:O4,O4,$W$4:W4,W4,$AB$4:AB4,AB4)
Note the ranges are expanding as the formula is copied down.
For whatever reason this particular formula crashes Excel after giving me the "Out of Memory" error - I assuming Excel's resources don't appreciate 400K countifs formulas.
I am just a beginner at VBA, can anyone point me in the right direction about how I would write code to count the occurrences I am trying to do with the COUNTIFS formula and put the number in a column, if it matters, I would like the numbers to go in column AC, starting in row 4.
Thank you
I am trying to copy this formula down a column to count certain occurrences and I need to copy it down for up to 400k rows:
=COUNTIFS($O$4:O4,O4,$W$4:W4,W4,$AB$4:AB4,AB4)
Note the ranges are expanding as the formula is copied down.
For whatever reason this particular formula crashes Excel after giving me the "Out of Memory" error - I assuming Excel's resources don't appreciate 400K countifs formulas.
I am just a beginner at VBA, can anyone point me in the right direction about how I would write code to count the occurrences I am trying to do with the COUNTIFS formula and put the number in a column, if it matters, I would like the numbers to go in column AC, starting in row 4.
Thank you