My Spreadsheet Lab

The site is about Microsoft Excel.

  • Home
  • Templates
  • Excel Blog
  • About Me
  • Contact Kevin

Learn VBA UDF

posted in Macros (vba) on September 28, 2019 by Kevin Lehrbass 0 Comments

These days dynamic arrays, power query and DAX seem to be all the rage. But let’s not forget about an old friend: VBA UDFs (User Defined Function). Continue reading →

Chess FEN viewer

posted in Auditing, Other on August 23, 2019 by Kevin Lehrbass 4 Comments

FEN notation provides the necessary info to restart a chess game from a given position. See how I created a FEN viewer in Excel! Continue reading →

Humidex Formula in Excel

posted in Auditing on August 10, 2019 by Kevin Lehrbass 3 Comments

In Canada we have long harsh winters but July was REALLY hot this year! How hot? Let’s combine heat & humidity to determine the real temperature we feel.

Continue reading →

Excel ChessGames Viewer

posted in Reviews on August 6, 2019 by Kevin Lehrbass 5 Comments

On July 20 I woke up early and started doing tactics on Chess.com I then noticed an email from Robert Gascon with subject heading “Excel ChessGames Viewer“!  Robert also reminded me that it was International Chess Day! Continue reading →

Auditing & Editing M code (Power Query)

posted in Get & Transform, Tips on July 16, 2019 by Kevin Lehrbass 0 Comments

Power Query is a powerful and intriguing tool. However, there are stumbling blocks that make it challenging. Let’s audit and then modify some M code! Continue reading →

All Combinations Using Power Query

posted in Get & Transform, Macros (vba) on July 13, 2019 by Kevin Lehrbass 8 Comments

Given 3 separate lists of text how can we create all combinations? I’ve known Power Query (Get & Transform) can create a cartesian product but it’s only now that it’s part of my active skill set. Continue reading →

Sum Cells in Overlapping Ranges

posted in Efficiency, Reviews on July 8, 2019 by Kevin Lehrbass 0 Comments

This is a cruel Excel challenge (I’ve used it!). Why? Because there is a brilliantly simple solution to summing cells that overlap two ranges. Continue reading →

Subtotal helper column

posted in Tips on May 31, 2019 by Kevin Lehrbass 2 Comments

This formula =COUNTIFS($A$7:$A$309,$AK4,$B$7:$B$309,1) considers all rows within the given range when counting. What if we want to exclude filtered and/or hidden rows? Continue reading →

How many unique List 1 names found in List 2?

posted in Challenges, Formulas, Get & Transform on May 29, 2019 by Kevin Lehrbass 3 Comments

Imagine two lists of names. We have three questions: (1)how many unique names in List 1? (2)how many unique names in List 2? (3)how many unique names from List 1 are found in List 2?  Continue reading →

Power Query solution: partial match count with a condition

posted in Get & Transform on May 17, 2019 by Kevin Lehrbass 3 Comments

In a previous post we saw how formulas can solve a partial match with conditions. Now I will solve it using Power Query because my friend Kunle challenged me to do so 🙂 Continue reading →

← Older posts
Newer posts →

Sometimes I write a practical 'how to' post and other times I explore a crazy idea and build something unique. I love working with data in Microsoft Excel!

Kevin Lehrbass

Newsletter