Recent posts

Petrol heads
5 Car Preparation Tips for a Long Road Trip
11 January 2021

Hit the Road
5 Best Road Trips In And Around Dubai
09 January 2021

Shopaholics
Contact Numbers Makro Stores In South Africa
08 January 2021

Talent Agents
How To Plan A Corporate Team Building Trip
08 January 2021
Popular posts
Extravaganza
Trending Music Hashtags To Get Your Posts Noticed
24 August 2018
Fashionista
Trending Fashion Hashtags To Get Your Posts Noticed
05 April 2018
Beauty Basics
Trending Beauty Hashtags To Get Your Posts Noticed
05 July 2018
Extravaganza
Trending Wedding Hashtags To Get Your Posts Noticed
18 September 2018
How to heatmap data with conditional formatting colour scales (row by row)
11 April 2017 | 0 comments | Posted by Shamima Ahmed in nichemarket Advice
If you have ever worked with the advanced conditional formatting you'll know it can be a bit of a challenge, especially if you in a rush and all you want to is finish your excelling so you can actually analyse your data! In the data-driven world of analytics, we work with boatloads of data each day and sometimes analysing these trends in quick and obvious ways can be less tedious than you think.
One of my favourite tricks is applying a heat map to a range of data by row so you can analyse when each variable performs at its best - like this:
This can easily be done using the conditional formatting colour-scales feature for a single row. The problem comes in when your data set is hundreds of variables long and applying this method to all of them will take you a better part of the day (hours of your life which you will never get back!) which can be used more constructively! The good news is that as always, I have a trick up my sleeve! Here are two much more efficient ways to apply colour scales to your data to each row independently.
- Copy and Paste
- First format the first row using the colour scales gradient you prefer, I usually choose the Green - Yellow - Red gradient.
- Highlight the first row and copy
- Highlight the second row and past special, values only.
- Now copy both rows and paste special to rows 3 and 4.
- Now copy 4 and paste 4, and continue like this until all cells have been covered.
- Using Macros
- Apply the formatting to the first row.
- Highlight all the unformatted rows (only the cells you want to format)
- Run the macro
- Sit back and enjoy your coffee while the magic happens!
Yes, the answer is as simple as copy and paste. The easiest way to achieve this is to:
While this is the easiest way, it's still not the fastest way if you working with a large dataset.
The good news is if you familiar with macros there is an easier way. The macro below will copy the conditional formatting you applied to the first row of data and apply it to each row you select (independently).
Just REPLACE B1: M1 and reference the first row of your table.
Sub nicheCF()
Range("B1:P1").Copy
For Each r In Selection.Rows
r.PasteSpecial (xlPasteFormats)
Next r
Application.CutCopyMode = False
End Sub
How to use:
The bulk formatting usually goes quite fast, but the time it takes is directly dependant on the size of the dataset.
That's it! You're done!
Contact us
If you have any questions or would like to know more about conditional formatting, comment below or feel free to contact us here!
You might also like
10 Sites Bloggers Can Use For Self Syndication
03 February 2019
Posted by Che Kohler in nichemarket Advice
We know getting your content in front of users can be tough with SEO and Social Media so try leveraging websites with established audiences and self-...
Read moreHow To Bend An Image Using Photoshop
18 February 2019
Posted by Che Kohler in Geek Chic
How to take an image and upload it into photoshop and bend the image or text in unique ways using your mouse pointer as a guide for the curvature
Read more
{{comment.sUserName}}
{{comment.iDayLastEdit}} day ago
{{comment.iDayLastEdit}} days ago