tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,197
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
I have a formula that i need to add to my sheet
its this "=COUNTIF($B$2:$B$60000,B2)"
now the problem I have is it needs to go into about 60,000 rows,
you can imagine this is a problem so I've developed a solution and woundered if anyone could help me do it.
Firstly let me tell you what i'm trying to do,
My sheet is called "Month2"
The formula goes into column V from row2 to last row (about 60000)
I need to do the calculation then remove the formulas so it just data,
So when I tried running a macro to insert the formula into cells V2:V & lastrow
because there are so many calculations it crashes,
So does anyone know a way to get these values into the cells quickly without it crashing?
if not can someone help me do this,
Create a macro that inserts the formula into the cells 100 rows at a time then changes the cells from formulas to values and does the next 100 and so on until we have reached the last row.
it can also be done one at a time if that's just as good.
Please help if you can
thanks
Tony
I have a formula that i need to add to my sheet
its this "=COUNTIF($B$2:$B$60000,B2)"
now the problem I have is it needs to go into about 60,000 rows,
you can imagine this is a problem so I've developed a solution and woundered if anyone could help me do it.
Firstly let me tell you what i'm trying to do,
My sheet is called "Month2"
The formula goes into column V from row2 to last row (about 60000)
I need to do the calculation then remove the formulas so it just data,
So when I tried running a macro to insert the formula into cells V2:V & lastrow
because there are so many calculations it crashes,
So does anyone know a way to get these values into the cells quickly without it crashing?
if not can someone help me do this,
Create a macro that inserts the formula into the cells 100 rows at a time then changes the cells from formulas to values and does the next 100 and so on until we have reached the last row.
it can also be done one at a time if that's just as good.
Please help if you can
thanks
Tony