Create an AR Aging Heat Map in Google Sheets

Published on

In a heat map, color intensities represent different values. For an accounts receivable (AR) aging heat map, these color intensities will reflect the aging of invoices from their due dates. This tutorial explains how to create an AR aging heat map in Google Sheets.

A heat map in Google Sheets, also known as a color scale, is readily available under the Conditional Formatting menu, and applying a basic colorful heat map is straightforward.

However, creating a custom AR aging heat map requires using some custom formulas.

Before diving into how to create a custom AR heat map, here are the steps for applying a regular heat map in Google Sheets:

Heat Map in Google Sheets

Heat map (color scale) in Google Sheets

Assume we have sales values for three months in the range B2:D7.

  1. Select the Range: Highlight the range B2:D7.
  2. Open Conditional Formatting: Go to Format > Conditional Formatting > Color Scale.
  3. Set Color Scale:
    • Set the “Min value” to Yellow.
    • Set the “Max value” to Green.
    • Set the “Midpoint” to None (or adjust as needed).

Note: You can choose any colors of your choice, but ensure all colors are distinct.

Now let’s move on to creating the custom AR aging heat map.

Example: Creating an AR Aging Heat Map in Google Sheets

Creating an AR aging heat map in Google Sheets

Creating an Accounts Receivable (AR) heat map in Google Sheets involves visualizing the aging of invoices using conditional formatting.

  1. Prepare Your Data:

Create a table with your AR data, including columns for Customer, Invoice Number, Invoice Date, Due Date, and Amount.

For example, your data might look like this (in range A1:E10):

CustomerInvoice NumberInvoice DateDue DateAmount
Customer A00115/04/202430/04/20242050.00
Customer A00220/05/202404/06/202425279.10
Customer B00317/07/202401/08/202412500.00
Customer B00430/05/202414/06/20241800.00
Customer B00517/06/202402/07/20242500.00
Customer C00829/06/202414/07/20241654.00
Customer C00917/07/202401/08/20242489.00
Customer D01020/03/202404/04/20242489.00
Customer D00115/05/202430/05/2024500.00
  1. Define Aging Intervals:

Use the following formulas within Conditional Formatting to highlight invoices based on aging, as detailed in the third step below:

  • Current: =DAYS(TODAY(), $D2) < 1 (Invoices that are not past due)
  • 1-30 days: =DAYS(TODAY(), $D2) < 31 (Invoices that are 1-30 days past due)
  • 31-60 days: =DAYS(TODAY(), $D2) < 61 (Invoices that are 31-60 days past due)
  • 61-90 days: =DAYS(TODAY(), $D2) < 91 (Invoices that are 61-90 days past due)
  • 90+ days: =$D2 > 90 (Invoices that are more than 90 days past due)
  1. Apply Conditional Formatting:
  • Select the Range: Highlight the range E2:E10 (where you want to apply the aging heat map).
  • Open Conditional Formatting: Click Format > Conditional Formatting.
  • Set Up Formatting Rules:
    • Rule 1: Under “Format cells if”, select “Custom formula is” and enter =DAYS(TODAY(), $E2) < 1. Choose a fill color such as Light Red 3. (You can pick your color, but ensure color intensity increases with each step.)
    • Add Another Rule: Enter =DAYS(TODAY(), $E2) < 31. Choose a fill color such as Light Red 2 and set the text color to White.
    • Add Another Rule: Enter =DAYS(TODAY(), $E2) < 61. Choose a fill color such as Light Red 1 and set the text color to White.
    • Add Another Rule: Enter =DAYS(TODAY(), $E2) < 91. Choose a fill color such as Dark Red 1 and set the text color to White.
    • Add Another Rule: Enter =$E2 > 90. Choose a fill color such as Red and set the text color to White.
  • Finish: Click Done.

Your AR aging heat map is now ready.

Resources

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Lookup Values Under Categories in Excel and Google Sheets

We can use a combination of XLOOKUP and VLOOKUP in both Excel and Google...

Extract Items Under a Category from the Same Column in Excel

In Excel, you can use a combination of the XLOOKUP and DROP functions to...

How to Create a Searchable Table in Excel Using the FILTER Function

Finding specific records, or rows containing the required information, is straightforward in Excel using...

Time Sequences in Excel by Minute, Hour, or Second Increments

Creating time sequences, whether by hour, minute, or second increments in Excel, can be...

More like this

XMATCH Row by Row: Finding Values Across a Range in Google Sheets

Using the BYROW function with XMATCH in Google Sheets allows us to match values...

Limit Formula Expansion to a Specific Row in Google Sheets

In this tutorial, I’ll explain how to limit the expansion of an array formula...

3-D Referencing Structured Data Tables in Google Sheets

When you have several tables within a single sheet—not across multiple sheets in a...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.