ibmy
Board Regular
- Joined
- Mar 4, 2020
- Messages
- 134
- Office Version
- 2016
- Platform
- Windows
Hi,
My Excel file freezes,stop working and took a very long time (15 minutes) to finish when apply the formula in G3 to the last row then loop next column.
Last Row is based on column C & Last Column is based on last column used in row 1.
Both Last Row and Last Column have no fix number, it vary daily data.
Last Column could be in range of 1000-2500 while Last Row could be 250k to 550k
Can formula in G3 can be converted to vba code?
...then fill down G3 to last row, loop until last column
p/s: My Excel file size change from 15MB to 1GB after apply the formula and cannot be open.
My Excel file freezes,stop working and took a very long time (15 minutes) to finish when apply the formula in G3 to the last row then loop next column.
Cell Formulas | ||
---|---|---|
Range | Formula | |
G3:U3 | G3 | =IF(OR(AND($C2>G$1,$C3<G$1),AND($C2<G$1,$C3>G$1)),1,"") |
Last Row is based on column C & Last Column is based on last column used in row 1.
Both Last Row and Last Column have no fix number, it vary daily data.
Last Column could be in range of 1000-2500 while Last Row could be 250k to 550k
Can formula in G3 can be converted to vba code?
...then fill down G3 to last row, loop until last column
p/s: My Excel file size change from 15MB to 1GB after apply the formula and cannot be open.