Sometimes Excel surprises me. In this case it sorts in a way I didn’t expect, but in a good way. Thanks to Mr Excel for the tip.
Only those who dare to fail greatly can ever achieve greatly.
Robert F. Kennedy (1925 – 1968)
Marking cells Good-Bad-Neutral
Sometimes when you are reviewing a file against a printed report, you may need to identify when cell values are correct, wrong or close.
Consider using the built-in Styles Good/Bad/Neutral on the Home ribbon tab – see below.
Remember they may not be useful for colour blind readers if you are sharing with other people.
Don’t forget once applied if you want to apply the same format to another cell press the F4 function key.
Once formatted you can sort or filter by colour – see right click options below.
We’ve all heard the term “A month of Sundays” to describe a long time. Well what if you wanted to count how many Sundays between two dates?
Adding Values to Values
Let’s say you have an input cell that someone enters multiple values into eg
You may have many such cells.
Now let’s say you want to add 20 to all these cells but keep the original values that have been entered in those cells.
Paste Special to the rescue.
- Enter 20 in a blank cell and then copy the cell
- Select the cells you want to amend – you can hold the Ctrl key down to select multiple cells with the mouse
- Open the Paste Special dialog
- Click the options Values and Add – as per image below – then click OK – done!
The resulting formula will be something like
If you are using date-based headings in your reporting models please consider using dates in the headings rather than text. I’ll explain why.
Find and Replace Tips, Tricks and Traps
The keyboard short for Find is Ctrl + f.
For Find & Replace it is Ctrl + h.
Always, I mean ALWAYS, select the range you are working with before you run Find and Replace.
If you have a single cell selected it will affect the whole sheet – maybe not what you want.
Leave the Dialog Open
In the old days we used to close the Find dialog. Now you can leave it open if you need to change things in multiple files or sheets. You can navigate around with the dialog left open.
When using Find if you want to select all the cells it has found, click in the bottom section of the Find dialog where the cells are listed and press Ctrl + a this will select all the cells at once.
Be aware that sometimes numbers won’t be found due to formatting. eg if you search for 1000 but you have used the comma format eg 1,000 then the number might not be found.
You might need to do two Finds, with and without commas.
Formulas vs Values
Click on the Options button to see these options.
The default Look in: setting for Find (unfortunately) is Formulas. See image below.
This means if a formula returns what you are looking for it won’t be found. You need to switch this Look in: setting to Values.
Inquire is a new add-in in some versions of Excel 2013 and later versions It is an auditing Add-in that can analyse and report on your Excel files.
Time to upgrade my Spreadsheet Mug
The dishwasher has taken a heavy toll on my old mug.
I think the new version has a slightly lower capacity.
The NETWORKDAYS.INTL function was added in Excel 2010. It allows to calculate how may work days between two dates using non-standard weekends. Some countries don’t have Saturday/Sunday weekends.
The Happiest Refugee
This book has it all, humour, drama, intrigue, family secrets and running jokes throughout.
Plus its all true. Anh is a nice guy and a great comedian and he writes well. I didn’t realise he had done so some many things, and done them successfully. It shows the impact of a new country on refugees. A great read!
I heard it might be made into a movie – look forward to it.
I found a good shortcut today to increase the decimal places.
Alt H 0
For example you might use these two shortcuts one after the other to format a range as a percentage with one decimal place.
Ctrl + Shift + %
Alt H 0