What do people do when Excel isn't getting it done? Keep getting "resources not available" errors... mysql or something like that seems to lack the computational power of Excel with all the sumifs and similar valuable functions. Any input appreciated... thanks!
What to do when Excel is too slow?
Collapse
X
-
roasthawgSBR MVP
- 11-09-07
- 2990
#1What to do when Excel is too slow?Tags: None -
SawyerSBR Hall of Famer
- 06-01-09
- 7735
#2What to do when Excel is too slow?
I wait. Hehe.
Use i7 computer.Comment -
mathdotcomSBR Posting Legend
- 03-24-08
- 11689
#3Invest financially and mentally in a command based program. Which one I'd suggest depends on your needs. Any will have those Excel functions and will handle larger datasets given your computer's specs.Comment -
Emily_HainesSBR Posting Legend
- 04-14-09
- 15917
#4If you have data utilizing lots of formulas this will drastically slow everything down.Comment -
mathdotcomSBR Posting Legend
- 03-24-08
- 11689
#5Excel is even exceptionally slow as a basic spreadsheet program. Takes forever to open.
In terms of analyzing data of any substantial size, I feel like my computer is suffering a horrible horrible death.Comment -
thom321SBR High Roller
- 06-17-11
- 112
#6Depending on how your data is structured and how large your data set is, some simple VBA macros could make a big difference. If you have a lot of formulas that repeat throughout the entire set of data, you could have whatever formulas you are using in the top row, then use VBA to apply the formula in the top row to the entire data set but instead of having the formulas "live" on each row (which could bring Excel to a halt especially with functions that use the entire data set like sumifs, countifs) the formulas will be replaced with values in every row except the top row where you keep the formula the way you want it.Last edited by thom321; 07-05-12, 12:09 AM.Comment -
MonkeyF0ckerSBR Posting Legend
- 06-12-07
- 12144
#7Learn a programming language and/or learn/interface with a statistical language like R, Matlab, etc.
Excel is pretty much worthless beyond fundamental exercises.Comment -
tukkkSBR Sharp
- 10-04-10
- 391
#8as thom said, vba macros could make a big difference
and if it is possible you should break your dataset into smaller piecesComment -
kilmerAsHollidaySBR Rookie
- 11-17-09
- 45
#9I went xl->xl/vba->visualStudio->xl/vba->php/mysql
I recommend skipping the middle bit if at all possible.Comment -
MonkeyF0ckerSBR Posting Legend
- 06-12-07
- 12144
#10
SELECT SUM(CASE WHEN Column2 = 'Some Value' THEN Column1 ELSE 0 END) as sum FROM table_name
That will select and sum all records in Column1 if Column2 meets a criterion of "Some Value".Comment -
MonkeyF0ckerSBR Posting Legend
- 06-12-07
- 12144
#11
It's one of the many reasons that Excel lacks any speed.Comment -
kilmerAsHollidaySBR Rookie
- 11-17-09
- 45
-
MonkeyF0ckerSBR Posting Legend
- 06-12-07
- 12144
-
PokerjoeSBR Wise Guy
- 04-17-09
- 704
#14Open your worksheet.
Press CTRL END.
If you end up at the bottom of the whole sheet, and especially if this is the case on numerous sheets, that's the problem. I've faced it before a few times, I think generally from Copying and Pasting entire columns. When the entire gazillion available cells in a sheet have to be checked every time you do anything, the system bogs down.
Copy the cells you actually need to work into a clean sheet, delete the old sheet, and you should be fine. For example, if the cells you're actively using are, say, ending at JY106, but CTRL END brings you to whatever, row 100,000+, etc, then just completely copy from A1 to JY106 into a new sheet, then delete the old sheet.
If your data is filling up entire sheets, then yes, you have to change to something other than Excel.Comment -
LookingtostartSBR MVP
- 04-25-11
- 1584
#15Have you tried Libre Office? You can change settings relating to RAM usage as well as being more efficient IMO.Comment -
roasthawgSBR MVP
- 11-09-07
- 2990
#16Depending on how your data is structured and how large your data set is, some simple VBA macros could make a big difference. If you have a lot of formulas that repeat throughout the entire set of data, you could have whatever formulas you are using in the top row, then use VBA to apply the formula in the top row to the entire data set but instead of having the formulas "live" on each row (which could bring Excel to a halt especially with functions that use the entire data set like sumifs, countifs) the formulas will be replaced with values in every row except the top row where you keep the formula the way you want it.Comment -
roasthawgSBR MVP
- 11-09-07
- 2990
-
roasthawgSBR MVP
- 11-09-07
- 2990
#18Already have a working knowledge of R and PHP... neither have the computational convenience of excel and it's formulas such as sumifs to my knowledge.Comment -
roasthawgSBR MVP
- 11-09-07
- 2990
#19This might be the way to go for me... I'll play with this and see how it works for me. Thanks!Comment -
roasthawgSBR MVP
- 11-09-07
- 2990
#20Comment -
thom321SBR High Roller
- 06-17-11
- 112
#21"So basically automate paste specials?"
Functionally yes, but I wouldn't actually use paste special in the code.
The code doing the "copy" and "paste" could look something like:
'Copy range with formula. Paste in destination range
rngCopyRange.Copy rngDestRange
'Recalculate sheet to update formula values assuming Excel calculation was set to manual at the beginning of the procedure
Calculate
'Suggest including DoEvents to avoid Excel getting stuck or hanging when looping through rows
DoEvents
'replace with values
rngDestRange.Value = rngDestRange.ValueComment -
Justin7SBR Hall of Famer
- 07-31-06
- 8577
#22One big advantage of Excel is its universality. It's obviously not as fast or flexible as other languages. But, it is much more portable. If you are working with other people, translating your work to (or starting a project in) Excel makes collaborating much easier.Comment -
MonkeyF0ckerSBR Posting Legend
- 06-12-07
- 12144
#23I don't see the point if Excel can't handle whatever you're doing. If whoever you're working with can't "translate" your work easily, that's just another reason why collaborating is completely inefficient. It's not hard to zip up a database and source, encrypt it, and ship it off to someone if "translating" isn't an issue.Comment
SBR Contests
Collapse
Top-Rated US Sportsbooks
Collapse
#1 BetMGM
4.8/5 BetMGM Bonus Code
#2 FanDuel
4.8/5 FanDuel Promo Code
#3 Caesars
4.8/5 Caesars Promo Code
#4 DraftKings
4.7/5 DraftKings Promo Code
#5 Fanatics
#6 bet365
4.7/5 bet365 Bonus Code
#7 Hard Rock
4.1/5 Hard Rock Bet Promo Code
#8 BetRivers
4.1/5 BetRivers Bonus Code