There’s more meticulous Excel modelling work in this session. But, that’s the nature of Excel development: there’s a lot of work up front; hopefully, the prospect of hours of time saved in the future keeps you motivated. So, let’s get to it!
The goal this session is (finally) to complete our ‘row-by-row’ model. The ‘bet 1’ formulae seem to be working well, so in this video we implement the bet 2 formulae. This should be straightforward since most of the formulae are the same and, crucially, the layout of the worksheet is consistent from one bet to the next. It’s not a case of simple ‘copy / paste’, however; first, we should consider the cell references in the formulae. Which is most suitable: relative, partial absolute, or full absolute? These confused me for years! Keep your eye on the dollar signs …
Speaking of currency, it’s about time we got the model working so we can earn some. But, updates are needed in the VBA to reflect our revised model structure. Yes, this is not ideal (in fact, I call it a ‘cardinal sin’ in the video), but it’s natural for new requirements to emerge during a project. Let’s look at how to quickly and efficiently update VBA routine(s) when we absolutely must.
With the modelling done, most of the heavy lifting should now be complete in this project. Next, can we exploit this model with Excel VBA? See you in the next video.
TOPICS AND TECHNIQUES
- Relative, partial absolute and full absolute references in formula-building
- Column header formatting
- Switching between ‘enter’ and ‘edit’ mode in formula-building (F2 key)
- Making a formula display a blank
- OR formula
- COLUMN formula
- Updating VBA to work with new column layout (cardinal sin!)
- How to bring back the coding window in the VBA Editor
- The power of VBA variables