You have a mega spreadsheet. Loads and loads of data. It has taken you ages to compile it for your client. As you finish, panic sets in. Adding the data was easy. What if the client asks you to provide it sorted in a particular way?
What is the fastest way to sort your Excel data?
When I teach this in the classroom, I always ask the question – how do you sort your data? I usually get a few different answers.
Select the whole spreadsheet then click the Data Ribbon and the big Sort Button
Select the column to sort by and click Click A/Z or Z/A sort on the Data Ribbon
Click the Sort and Filter button on the Home Ribbon
Then I get someone say, but it never sorts everything. My data is all over the show.
So let’s debunk some sorting myths.
The absolutely fastest and most accurate way to sort a whole spreadsheet by the values in one column is to:
Click into the column
Click on the A/Z sort icon (it is on the Data Ribbon the right click or the drop down on the Home Ribbon)
Hey Presto! Your whole worksheet is sorted and it keeps everything together.
So to recap:
Click into the column to sort by
Click on the sort icon you like to use.
Did this help? Have you learned something new? How will you use it? Leave a comment below.
P.S – have you joined my Facebook Group yet? Join in and ask questions, get answers and generally interact. See you there
You are a busy VA – that’s a given! A client has asked you to show her what her data means. What is the top value in the list of sales? Can you see values that meet a condition? Conditional Formatting will show the way.
What is Conditional Formatting?
Conditional formatting is exactly that, a format applied that matches a condition.
There are 5 kinds of Conditional Formatting to choose from:
Highlight Cells Rules – pick this to show cells that match a particular number/text value/date.
Top/Bottom Rules – pick this one, for example, to find the Top 10, Top 10%, Bottom 10 or Bottom 10%.
Data Bars – these shade the cells based on top and bottom values, so the greater the value the more shading in the cell. You can pick the colour scheme to suit.
Colour Scales – use Colour Scales to apply a scale from smallest to largest and set what each colour means.
Icon Sets – Use Icon Sets to show crosses and ticks, traffic lights etc as symbols in the highlighted cells.
Create your own rules
You can also create and apply your own rules to automatically change the formatting of cells based on the contents.
Where does Conditional Formatting live?
You will find Conditional Formatting on the Home Ribbon. To use it, first select the cells you want to apply the condition to and then choose the type of condition to set, followed by the format you would like to see.
Select the data
Click on Conditional Formatting
Select the type of formatting
Once you have decided which of the formats to use, you can then drill down and specify the exact format you want.
For example, if I want to see Total Sales at Koffee Island above £900 I will choose the Highlight Cells Rules and then Greater than, adding in the amount I want it to look for and setting the format.
Have a play with all the different types of Conditional Formatting, you will be amazed at how easy it is to spot patterns and get information from your data when you can visualise it.
Change the background fill of a cell
Your client has asked you to create a workbook or worksheet for her. She wants the background colour of some of the cells to change based on the text typed in or a number entered. For this you will need to create a custom rule.
Use a formula to control conditional formatting
To add conditional formatting to show a range of colours – I have a list of rooms names Red Yellow and Green and I would like the fill colour to change according to the name of the room. This is handy if you need to keep a visual track of room bookings for example.
Change the colour fill
I applied three formats to the cells one on top of the other.
If A2:A10 contain the word Red apply Red formatting
If A2:A10 contain the word Yellow apply Yellow formatting
If A2:A10 contain the word Green apply Green formatting
Apply the first condition
Select the cells to which you want to apply the conditional formatting and then click on Conditional Formatting and select New Rule.
Format cells that contain
In my example, I selected Format only cells that contain
Then picked Specific Text from the drop-down list
Added the word Green in this case
Set the format by clicking Format and going to the Fill tab to pick the colour.
Repeat for the other conditions
Go back and add the other two rules to the selected cells. Remember to change the criteria for each accordingly.
Now test your rules! Type one of the words into one of the cells that you selected when you started and watch the background colour change!
How did you find this tip? How will you use it? Leave me a comment to let me know.
To learn more about Excel you can take one of my Excel Courses, there is one for Windows and One for Mac.
I was recently asked about formatting cells in Excel, specifically about changing the colour of the cells. This made me think that perhaps it’s time to write a blog post about cell formatting, so here goes.
Formatting does several things:
Makes certain things stand out
Makes your spreadsheet easier to read
Makes things neat and tidy
What can I format?
Text or Cell Colour
In today’s post I will look at the top three on the list and come back to the rest in another post.
This is the font face, the size, the alignment, all the things in the Font Group on the Home Ribbon.
Now you can also create Styles in Excel just like In Word – well almost like in Word. The principle is the same. More on that later on.
To change the formatting, select the text or numbers to change and then make the change from the icons in the Font Group. You can see that my font is Arial and 12 points in size with nothing else added.
To change the colour choose the colour you want from the drop down list under the A and to add borders, choose the border style you want under the borders icon.
When you add a number to a cell and you want to use that number in a calculation, whether it is a simple number or a date, you need to use the right format so that Excel knows that it can work with that number.
When you add numbers to the cell they start off with a General Format. Now Excel will be able to do most things even with a General Format but if you have entered a date and want to work out the difference between two dates, or add 30 days to a date to find when an invoice is due for example, then it is very important to tell Excel that this number is in fact a date.
There is no need to type in notation such as Currency Symbols, these can all be controlled by the number format. This is a great time saver as you can just type in the numbers and then apply the formatting later. Or apply the formatting to the cells first and then as you type the notation is applied.
How do I tell Excel I have a date?
When you type in a date you can type it in several ways.
3rd July 2019
3 July 2019
All of these will change the number format to show Date. However, if you type in 3.7.2019 then Excel will not know that this is a date and will treat it as text. It is made up of numbers and full stops. None of the symbols that Excel will use to recognise a date format are present. If you try and add 30 days to this number, it just won’t work, and you will get an error message. You can of course select the cells and apply the Short Date or Long Date format to them and then as you type in the date it should show the format you have selected.
Now for the question I was asked: How do you change the background colour of a cell in Excel?
There are a couple of ways to do this.
Select the cells to change then click on the drop down under the Fill Colour icon and choose the colour to apply.
You can choose from the Theme colours or click More Colours where you can pick from a larger selection or add the RGB values for a specific colour.
Alternatively select the cells to change (1) Click the drop down under the Borders Icon (2) then click on More Borders (3) now make your selections (4)
Here you can choose to add a pattern style and also choose from Fill Effects.
Once you have made your selections, the cell colours will have changed.
Now that you know how to change the Cell Formatting in three of the ways, look out for another post from me, which will look at Borders, Alignment and Cell Styles in Excel.
Leave me a comment and let me know how this has helped.
To learn more about Microsoft Excel, take one of my Excel Courses – there is one for Windows and one for Mac and more are in the pipeline.
Do you use Excel to keep track of your time? Most VAs I know use some sort of time tracking software which notes what they do. It can be a professional online piece of software which does all kinds of things from tracking your time to monitoring which websites are distracting you!
Some VAs prefer a different approach. Simply keeping a timer on their desk – starting it up when they begin a task and stopping it when they are done. Then they can record the time spent in a notebook or an Excel Spreadsheet.
I get asked a lot – how do I make time add up?
First of all, you need to make sure that Excel knows you are adding time to the worksheet and not just random numbers or data. To do this select the cells where you will be adding in the time values and format them as Time.
On the Home Ribbon
Click the drop down in the Number Formats box
Now you won’t actually see anything on the worksheet, the cells will look like normal. It is only when you start to add numbers in that you will see the Time Format and then you need to type the numbers in correctly for the Time Format to work.
To see numbers as time, they need to follow the number format and you will need to type them in like this:
02 – hours
05 – minutes
00 – seconds
If you simply type in 2 then you will see 00:00:00 as Excel does not know whether the 2 is hours, minutes or seconds!
Next do a sum
Now that you have added the data to the spreadsheet and it is formatted correctly Excel will add it up using the Sum Function as normal.
Place the cursor in the cell where you want the answer to appear
Click on the AutoSum icon and select Sum
Now drag over the cells to include in the formula
You will see that Excel has added up the column of times and you have the correct answer. In this case 1 hour and 45 minutes.
What about working out the difference between the start and end times?
In this case, you will need to have a column for the Start Time and a column for the End Time. You can then enter the values as times and calculate End Time minus Start Time.
To calculate use the Cell References and the minus sign. So the formula reads =D2-C2 where D2 holds the End Time and C2 the Start Time. Next you can use Autofill to copy the formula down the column so that it is replicated in every row. You will now see the Time Spent total for each row.
Create a Total for All Time Spent
The next step is to create a total for the Time Spent. I did this in another column completely and included in the Sum all the possible rows in the calculation.
This calculation is =SUM(E2:E15) meaning that it will add up any numbers within the cells E2 to E15. If I were to add more rows in, then I will need to update the formula.
You can learn more about making things add up in my course Essential Excel Skills for VAs, there is both a Windows and a Mac version of the course and you can find them at https://courses.tomorrowsva.com and as a bonus for being one of my readers you get 20% off the list price of the course! Just add the Coupon Code BLOG20at the checkout.
When working in Microsoft Excel you may have noticed that the data you enter does not have a Number Format when you first enter it, rather it has a General Format. You may be wondering why it matters what kind of format the data has.
Excel spreadsheets are set out as a grid and can be used for many different purposes. Some people use them for lists, checklists, trackers etc. However, the most frequent use is for making things add up.
Excel can add up numbers that have a General Format however if you want to show Currency or decimals and get them adding up properly then you do need to apply one of the Numeric Formats.
The Number Group
On the Home Ribbon you will see the Number Group. This is where you choose the format for the data you are entering into your spreadsheet, or you can change the format after you have entered the data.
Click the drop-down arrow to see the immediately available options.
What it does
No specific format – will add up numbers and display text. Does not display decimals or currency notation
12.45 Displays a number with two decimal places
£12.45 Shows the currency symbol and two decimal places – the currency symbol is aligned close to the numbers
Shows the currency symbol and two decimal places but the currency symbol is aligned to the far left of the cell
12/08/2018 – displays the data like this
12 August 2018 is how a long date displays
12:08:34 displays time in hours minutes and seconds
12% shows a number as a whole number with a percent sign
Turns 1/4 into ¼
Long scientific numbers are displayed using this format
Anything that is absolutely Text should be formatted this way.
Get to even more formats and the ability to customise how certain formas look
Make your numbers look good
Number formats also help make the spreadsheet make sense so that when you first look at a sea of numbers you can differentiate between them. Everyone knows that £12.45 denotes money whereas 12.45 is simply a number.
The Number Format Icons
Just underneath the Number Format drop down, are five icons. Here is what they do.
What it does
Choose which currency format you wish to apply. However, be aware that this only displays the currency with the correct symbol, it won’t do any conversions!
The percentage format. This add a percent sign to a number. If you have a decimal like .5 it will turn into 50%.
The comma format. This applies a comma to separate the thousands. For example –
12344.00 will be 1,2344.00
Increase and decrease Decimal places. Choose how many decimal places you want to see by clicking on these icons.
Use Number Formats to make your spreadsheet make sense
When you need to present your spreadsheet to other people, using Number Formats can make all the difference between them understanding your worksheet or not.
To learn more about Number Formats and making your spreadsheets add up, head over to my course Essential Excel Skills for VAs – there is a Windows version and a Mac version. You will find them at https://courses.tomorrowsva.com/