Serving the Quantitative Finance Community

 
User avatar
blackscholes
Topic Author
Posts: 0
Joined: February 16th, 2012, 12:58 pm

Inherited Excel 2003 Spreadsheet With Rows Reaching Limit

May 14th, 2014, 12:15 pm

I inherited an Excel spreadsheet with a large number of rows which grows monthly. I expect it to reach the 66536 limit by early 2015.The problem is that we have pivot tables from other sheets that all references this sheet.Does anyone have any suggestions or recommendations? I know it's a mess but it's what I inherited.
 
User avatar
daveangel
Posts: 5
Joined: October 20th, 2003, 4:05 pm

Inherited Excel 2003 Spreadsheet With Rows Reaching Limit

May 14th, 2014, 12:22 pm

ouch - database time ?
knowledge comes, wisdom lingers
 
User avatar
blackscholes
Topic Author
Posts: 0
Joined: February 16th, 2012, 12:58 pm

Inherited Excel 2003 Spreadsheet With Rows Reaching Limit

May 14th, 2014, 12:28 pm

Database would require a big overhaul unfortunately. =(
 
User avatar
Traden4Alpha
Posts: 3300
Joined: September 20th, 2002, 8:30 pm

Inherited Excel 2003 Spreadsheet With Rows Reaching Limit

May 14th, 2014, 12:29 pm

Upgrade to Excel 2007?
 
User avatar
neuroguy
Posts: 0
Joined: February 22nd, 2011, 4:07 pm

Inherited Excel 2003 Spreadsheet With Rows Reaching Limit

May 14th, 2014, 1:29 pm

QuoteOriginally posted by: blackscholesDatabase would require a big overhaul unfortunately. =(How bad does it have to get before someone decides to 'overhaul'?What does the operational risk have to be before someone 'overhauls'?How much time has to be wasted working around things that should not be an issue before it is time to 'overhaul'?How difficult is it, really, to incrementally upgrade this 'tool'? First step?Load it all into a sql database.Write a function in VBA that pulls the necessary subset of the data required for a computation into a table.(better would be to write a dynamic view in database that will do this, and not have inline SQL in the VBA... but almost anything is probably better than what you have now).Smart people solved all of these problems years ago. So why not just do it properly? BTW: 'overhaul' should be a constant feature of your workflow that is accounted for in project time (whereupon it would known as 'refactoring'). Otherwise you can expect a gradual increase in entropy until you hit the singularity where everyone just spends all of their time solving/working-around the problems that they and their predecessors created. Furthermore, any code/tool that is too big or complicated to be easily 'overhauled' in a modular fashion runs a real risk of also being to big and complicated to actually produce the intended results. And no one will know until it is too late because no one wants to 'overhaul'.
Last edited by neuroguy on May 13th, 2014, 10:00 pm, edited 1 time in total.
 
User avatar
Cuchulainn
Posts: 22929
Joined: July 16th, 2004, 7:38 am

Inherited Excel 2003 Spreadsheet With Rows Reaching Limit

May 15th, 2014, 5:17 am

QuoteI inherited an Excel spreadsheet with a large number of rows which grows monthly. I expect it to reach the 66536 limit by early 2015.This means you have a year to estimate, schedule and execute this migration. I assume you have a budget from management for this?I think some big decisions need to be made1. Choice of database (e.g. SQL Server)2. Access technology (e.g. ADO.NET)3. Language (e.g. C#)Personally, I would move away from VBA and ADO (or is it DAO still?)Testing will be a challenge.Quote BTW: 'overhaul' should be a constant feature of your workflow that is accounted for in project time (whereupon it would known as 'refactoring'). Otherwise you can expect a gradual increase in entropy until you hit the singularity where everyone just spends all of their time solving/working-around the problems that they and their predecessors created. Indeed! But how to convince management? It's a universal problem.
Last edited by Cuchulainn on May 14th, 2014, 10:00 pm, edited 1 time in total.
 
User avatar
neuroguy
Posts: 0
Joined: February 22nd, 2011, 4:07 pm

Inherited Excel 2003 Spreadsheet With Rows Reaching Limit

May 15th, 2014, 6:34 am

QuoteOriginally posted by: CuchulainnQuoteI inherited an Excel spreadsheet with a large number of rows which grows monthly. I expect it to reach the 66536 limit by early 2015.This means you have a year to estimate, schedule and execute this migration. I assume you have a budget from management for this?I think some big decisions need to be made1. Choice of database (e.g. SQL Server)2. Access technology (e.g. ADO.NET)3. Language (e.g. C#)Personally, I would move away from VBA and ADO (or is it DAO still?)Testing will be a challenge.Quote BTW: 'overhaul' should be a constant feature of your workflow that is accounted for in project time (whereupon it would known as 'refactoring'). Otherwise you can expect a gradual increase in entropy until you hit the singularity where everyone just spends all of their time solving/working-around the problems that they and their predecessors created. Indeed! But how to convince management? It's a universal problem.i) You work out how much longer it takes everyone to do everything because the systems are crap and workout the cost to the firm of this. You also highlight the additional operational risk by illustrating with some choice gory examples (of which there are many).ii) You work for a firm that already 'gets it'
 
User avatar
DavidJN
Posts: 262
Joined: July 14th, 2002, 3:00 am

Inherited Excel 2003 Spreadsheet With Rows Reaching Limit

May 15th, 2014, 10:31 am

As T4A has pointed out, this is a non issue. Recent versions of Excel are no longer size constrained and limited only by available memory.
 
User avatar
neuroguy
Posts: 0
Joined: February 22nd, 2011, 4:07 pm

Inherited Excel 2003 Spreadsheet With Rows Reaching Limit

May 15th, 2014, 11:25 am

QuoteOriginally posted by: DavidJNAs T4A has pointed out, this is a non issue. Recent versions of Excel are no longer size constrained and limited only by available memory.Its not a non-issue because it is still a terrible way to store and query data.
Last edited by neuroguy on May 14th, 2014, 10:00 pm, edited 1 time in total.
 
User avatar
Cuchulainn
Posts: 22929
Joined: July 16th, 2004, 7:38 am

Inherited Excel 2003 Spreadsheet With Rows Reaching Limit

May 15th, 2014, 5:43 pm

QuoteOriginally posted by: neuroguyQuoteOriginally posted by: DavidJNAs T4A has pointed out, this is a non issue. Recent versions of Excel are no longer size constrained and limited only by available memory.Its not a non-issue because it is still a terrible way to store and query data.Yeah, that 2007 is kicking the can down the road, yes?Excel is the wrong tool here.
Last edited by Cuchulainn on May 14th, 2014, 10:00 pm, edited 1 time in total.