This product is no longer available.
For the latest Excel courses, Excel books and Excel tools, go to the Debra’s Excel Picks page, on my Contextures website
Excel tips and tutorials
This product is no longer available.
For the latest Excel courses, Excel books and Excel tools, go to the Debra’s Excel Picks page, on my Contextures website
[Latest update: July 27, 2016] With a bit of Excel VBA programming, you can change an Excel data validation drop down list, so it allows multiple selections. This post is a roundup of articles on how to set up multiple selection Excel drop down lists.
Continue reading “How to Set up Multiple Selection Excel Drop Down”
They didn’t ask for my advice, but Mike Alexander and Dick Kusleika need a poster for their upcoming Excel and Access Power User Workshop.
And, if you can’t make it to their Excel training workshop, I’ve listed a couple of online courses that you can check out. The list is at the bottom of this post, so take a look, if you want to bump up your Excel skills!
The event is in Chicago, and who better represents that city than the Blues Brothers? Your Photoshop skills are probably better than mine (non-existent), so here is my attempt at morphing Mike and Dick into The Excel Brothers. (Sorry Mike, I had to widen your face a little!)
I’ve spent many hours with Mike and Dick at Microsoft events, and they are both extremely knowledgeable, and highly entertaining. If you can make it to Chicago next month, and want to power up your Excel and Access skills, I highly recommend signing up for this workshop.
The two day workshop runs Wednesday, May 18, 2011 – Thursday, May 19, 2011, and the schedule is jam packed with sessions that will make your Excel/Access skills even more amazing than they are now.
Bring your laptop to the workshop, so you can follow along, and hone your skills, while Mike and Dick guide you. Here’s a summary of what you’ll learn in the sessions:
And of course, when you attend a power user workshop like this, you’ll learn even more during the breaks and informal sessions, by chatting with Mike and Dick, and your fellow attendees.
I’ve been to Chicago a few times, and it’s my favourite city in the USA. Granted, my experience is limited – I’m comparing it to Atlantic City, Orlando, Buffalo and Seattle.
If you register for the Excel and Access Power User Workshop, add a couple of days to your trip, and spend the weekend doing touristy things in Chicago.
During a visit last fall, I saw the Blues Brothers’ police car – stalled in the middle of The Magnificent Mile!

The Chicago Mayfest is celebrated May 20-22, and it sounds like fun. Who knows – you might run into Ferris Bueller!
The 17th annual Chicago Mayfest brings in three days of celebration – featuring; Chicago’s BEST Bands, Festival Cuisine, Maypole dancing, pretzels, beer, artisans, and a broad spectrum of super cool entertainment.
Just tell your boss that you want to get to Chicago for some Excel/Access training, and Maypole dancing. Who could argue with that?

If you can’t make it to Chicago, there are online courses to improve your Excel power skills. I highly recommend the following two training sites, based on my experiences with their Excel courses.
This course is offered by Mynda Treacy, at My Online Training Hub
The Power Pivot for Excel Course (affiliate link) includes 5.5 hours of video tutorials covering everything from installing Power Pivot, importing data, DAX formulas, PivotTables and more. Download the sample files, and follow along with the lessons.
In this hands-on project-based course, you will build a Power Pivot model from start to finish. The training is delivered online and tutorials are available to watch 24/7 at your own pace. Pause, rewind, replay as many times as you like.
Ken Puls, Matt Allington, and Miguel Escobar offer courses in Power BI, Power Query, Power Pivot, and Microsoft Excel.
See course details on their Skillwave website.
There’s a free course too – Power Query Fundamentals. Start with that course, to see if the content and teaching style fits with what you need.
_____________
Previously, we looked at using Excel Scenarios to compare high, low and medium budgets, all in the same worksheet cells.
To make Excel Scenarios easier to use, you can add a bit of Excel Scenario programming.
First, create a list of scenario names, using the ScenarioList code shown below.
Next, add a data validation drop down list, so users can select one of the scenarios.

Add the following code to the worksheet module, to change the scenario, when a selection is made in the data validation drop down list.
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo errHandler
If ActiveSheet.Name = Me.Name Then
If Target.Address = Range("Dept").Address Then
ActiveSheet.Scenarios(Target.Value).Show
End If
End If
Exit Sub
errHandler:
If Err.Number = 1004 Then
MsgBox "That Scenario is not available"
Else
MsgBox Err.Number & ": " & Err.Description
End If
End Sub
To automatically create a list of scenarios, to use in the data validation drop down list, you can use Excel VBA.
This procedure creates a list of scenarios from the Budget worksheet, and sorts the list alphabetically.
Sub ScenarioList()
Dim sc As Scenario
Dim wsBudget As Worksheet
Dim wsLists As Worksheet
Dim iRow As Integer
iRow = 2 'leave row 1 for heading
Set wsBudget = Worksheets("Budget")
Set wsLists = Worksheets("Lists")
wsLists.Columns(1).ClearContents
wsLists.Cells(1, 1).Value = "Scenarios"
For Each sc In wsBudget.Scenarios
wsLists.Cells(iRow, 1).Value = sc.Name
iRow = iRow + 1
Next sc
With wsLists
.Range(.Cells(1, 1), .Cells(iRow - 1, 1)) _
.Sort Key1:=.Cells(1, 1), _
Order1:=xlAscending, Header:=xlYes
End With
End Sub
Visit the Contextures website for more examples of Excel Scenario programming.
For example, if you want users to add more scenarios, turn off the error alert in the data validation cell.
Then, add a worksheet button that they can click, to add new scenarios.

___________________
There is a page on the Contextures website that describes how to clear old items in pivot table drop downs. Someone ran into a problem with that code, and here’s how we fixed it.
Continue reading “Clear Old Items in Pivot Table Drop Downs”
If you’re working in Excel, there are times when things don’t go right, and you have to do a bit (or a lot!) of troubleshooting.
Lets look at a couple of quick ways to troubleshoot Excel with Formula view, to see the worksheet formulas, and a simple trick for seeing both the formulas and the results.
How was your weekend weather? We had a mini-blizzard yesterday, that covered the backyard with snow. But it was a good day to stay indoors, and work on Excel pivot tables!
Continue reading “Add Pivot Table Subtotals for Inner Fields”
There’s a Golf Tee Time Excel workbook on the Contextures site, that I’ve updated, to add a few new features.
You’ll list all the players, then set up golf tee times in Excel.
When you copy data to Excel, from another application, blank cells in the data can cause problems. Everything looks okay, at first glance, but the database blank cells don’t behave like other blank cells in the workbook. See how to fix blank Excel cells copied from a database, or created within Excel.
Continue reading “Fix Blank Excel Cells Copied From Database”
On the Contextures YouTube channel, someone asked if Excel can automatically create a sheet when the file opens:
Since the question came from YouTube, I provided the answer in a video, which you can see at the end of this blog post.
If you prefer to see the code, or download a sample file, you can find the details below.
The goal is to add a worksheet with the month name, when the Excel file opens. We only want that to happen at the start of the month, if the sheet doesn’t exist already.
We’ll write a macro that:
Insert a regular module in the workbook, and paste in the following code. I used yyyy-mm as the sheet name format, but you could use a different format.
For example, to see the full month name, use mmmm as the format.
Sub AddMonthWkst() Dim ws As Worksheet Dim strName As String Dim bCheck As Boolean On Error Resume Next strName = Format(Date, "yyyy_mm") bCheck = Len(Sheets(strName).Name) > 0 If bCheck = False Then Set ws = Worksheets.Add(Before:=Sheets(1)) ws.Name = strName End If End Sub
To make the code run automatically, when the workbook opens, you’ll create a Workbook_Open event.
Paste the following code on the ThisWorksheet module:
Private Sub Workbook_Open()
AddMonthWkst
End Sub
To see the workbook and the Add Worksheet code, you can download the Add Worksheet sample file.
The file is in Excel 2007 format, and zipped. It contains macros, so you’ll need to enable them, to see the code working.
To see the steps for creating the code, and making it run automatically, you can watch this Excel Video Tutorial.
_____________