The Range.Find() function in VBA-Excel is quite a tricky one. In general, you may think it is straight forward, because it usually returns what you are looking for, until the moment when it simply surprises you. This is the MSDN description …

VBA – Find function in Excel does not return the first value by default Read more »

On Monday, I was at Berlin for the first day of the Software Architecture Summit.  There I took part at the Hitchhiker’s guide to Architecture Documentation workshop. This is the summary of what I learned: Hitchhiker’s Guide to Architecture Documentation In order …

Software Architecture Summit – Hitchhiker’s guide to Architecture Documentation Read more »

Wikipedia says that the activity selection problem is a combinatorial optimization problem concerning the selection of non-conflicting activities to perform within a given time frame, given a set of activities each marked by a start time (si) and finish time (fi). The problem is to select the maximum …

Excel VBA – Activity Selection Algorithm Read more »

Sumifs() and Countifs() are formulas in Excel, that sum or count a range with multiple conditions. Unfortunately, these formulas do not work, when you want to refer to a closed workbook. That’s where the magic of the Sumproduct() formula comes. …

Excel – Use Sumproduct() instead of Sumifs() or Countifs() Read more »

Ghost breaks in Excel can turn you crazy. Probably. If you do not know what to do and how to google them. Pretty much your code is perfect, it has worked 1000 of times, it compiles perfectly and still you …

VBA – Code stops unexpectedly with “Code execution has been Interrupted” – Ghost Break Read more »