Ok, the title became too lengthy, but the idea is to try to duplicate the beauty of what this formula does: =INDEX(myTable[#All],MATCH(1, (myTable[[#All],[Profit]]=C9)* (myTable[[#All],[Currency]]=D9)* (myTable[[#All],[Value]]=B9),0),1) And this is the cell of the formula above: Anyway, the strange thing was that …

VBA – VLookup with Multiple Criteria in Excel without Excel Formula but with VBA Read more →

Have you seen the error below? Traceback (most recent call last): File “C:/Users/foo/PycharmProjects/pythonProject3/main.py”, line 29, in <module> main() File “C:/Users/foo/PycharmProjects/pythonProject3/main.py”, line 19, in main a[‘foo’] += 5 KeyError: ‘foo’ Of course you have. And you know, that it is because …

Python – DefaultDict Object. Or how to avoid the Key Error. Read more →

Transforming Range to Array in VBA is actually a one liner – we take the range and we assign it to a variant: Dim myRange As Range Set myRange = Range(“a1″).CurrentRegion Dim myArray As Variant myArray = myRange The “strange” …

VBA – Ubound of Multidimensional Array or How to Get What We Need? Read more →

Converting Excel column number to letter and letter to column number is actually something that every VBA developer does at least once a day. The easiest way is probably to use the property .Column  or .Address of the range object …

VBA – Convert Excel Column Number to Letter and Letter to Column Number Read more →

Ok, if you are visiting this article, then probably the reason is that you have received the following messagebox upon openning of Excel: And after looking all over your cells, with both VBA and “Find”, you have not found anything …

How to fix – This workbook contains one or more links that cannot be updated… Read more →