One Excel tip for your working week
Every Thursday, one Excel tip from everyday office life: a familiar situation, a formula or a few steps to try, and a clear note on which Excel version it works in.
Your pivot table is not wrong. Just out of date
Second working day of the month. Finance wants spend per cost centre in CHF, sorted, by eleven. You build the pivot and send it. Then three late invoices land in the list. The pivot doesn’t notice, nobody clicks Refresh, and the number in the meeting is wrong.
One formula does the same job and never goes stale. You get one row per cost centre, the biggest amount on top and a grand total at the bottom. A new invoice appears in the summary instantly. The -2 sorts by amount, high to low. Need an average instead? Swap SUM for AVERAGE.
1. Click into your data, press Ctrl+T and name the table Costs. 2. In an empty cell, type: =GROUPBY(Costs[Cost centre],Costs[Amount CHF],SUM,,,-2)
Your pivot says “(blank)”. Your export is the problem
It is month end. You pull a cost report from your finance system. The department name appears once at the top of each block, and every row below it is empty. Your pivot now shows a big “(blank)” line, and CHF 48,300 belongs to no department at all.
Go To Special selects every blank cell at once, and one formula fills them all. Each empty cell repeats the value above it, even across thousands of rows. Your pivot adds up again.
1. Select the column with the gaps, data rows only. 2. Press F5, click Special, choose Blanks, OK. 3. Type = and press the up arrow once. 4. Press Ctrl+Enter. 5. Copy the column and paste it back as values.
Same gaps every month? Fix them once, then just refresh
The same ERP export arrives every month. The department name appears once, then the next ten rows stay empty. You fill the gaps by hand or with Go To Special, and next month you start again. Costs of CHF 2,300 suddenly belong to nobody.
Power Query remembers every step. Set up the fill once, and each new export only needs a click on Refresh. Nothing shifts when you sort, and nobody has to remember the shortcut.
1. Click into your data and choose Data › From Table/Range. 2. Right-click the column with the gaps and choose Fill › Down. 3. Click Close & Load. 4. Next month: paste the new export into the source table and choose Data › Refresh All.
Features and menu names can differ by Excel version, language and platform. Test new formulas on a copy of your data first.
A tip saves minutes. Training saves hours.
From the basics to Power Query: Excel training for companies, on site and virtually.
