maxresdefault (1)

How to Do a Lookup in Excel With Multiple Criteria

A VLOOKUP function in Excel can be an effective and easy way to pull in a value from a list. But what if you needed to base your lookup on multiple values? You could use helper columns to try and achieve that, but there’s another way you can do so, and it involves the LOOKUP function, which is similar to VLOOKUP, but it gives you a bit more flexibility.

For this example, I’m going to use the following data set, which has a list of expenses by employee.

Table of employee expenses in Excel.

The LOOKUP function takes the following arguments:

  • lookup_value
  • lookup_vector
  • results_vector

I’m going to create a couple of lookup fields, specifically for the employee name, date, and store. My formula is going to check the table against each one of these fields, with the goal being that any time the criteria is a match, a value of 1 is returned. Here’s what my criteria will look like when I’m looking for a combination of date, employee name, and store:

((Table1[Employee Name]=employeefield)(Table1[Date]=datefield)(Table1[Store]=storefield))

Where employeefield, datefield, and storefield are the values in my spreadsheet that I’m looking up that pertain to these specific columns. If there is a match, a value of 1 is returned each time. And so if all the criteria are met, then it becomes 1 x 1 x 1 = 1. If any one of the criteria is not met, however, then 0 is returned since anything multiplied by a 0 is a 0.

But I don’t want to return 0s and instead I want the values to be errors so that they don’t affect the result. To do this, I’m going to take 1 and divide it by all the above criteria. That way, if there is a 0 value, it returns a #DIV/0! error. This is what this portion of my formula looks like at this point:

1/((Table1[Employee Name]=employeefield)(Table1[Date]=datefield)(Table1[Store]=storefield))

The third part of the function requires the results vector to pull the values from. In this example, it’s the Amount field:

((Table1[Employee Name]=employeefield)(Table1[Date]=datefield)(Table1[Store]=storefield)),Table1[Dollar Amount])

Finally, for the first part of the formula, is the actual lookup value. I’m going to be searching for a value of 2, since that will ensure it pulls in the last match (in case there are multiple), as all the values will either be errors or 1 values. This is what the complete formula looks like:

=LOOKUP(2,((Table1[Employee Name]=employeefield)(Table1[Date]=datefield)(Table1[Store]=storefield)),Table1[Dollar Amount])

And here is how it all looks within my spreadsheet, with the input fields in yellow and the result in grey (which is where the above formula resides):

Looking up multiple fields in Excel.

If you liked this post on How to Do a Lookup in Excel With Multiple Criteria, please give this site a like on Facebook and also be sure to check out some of the many templates that we have available for download. You can also follow me on Twitter and YouTube. Also, please consider buying me a coffee if you find my website helpful and would like to support it.

MLB Playoff Template in Excel.

Free 2025 MLB Playoff Template for Excel

The MLB playoffs are approaching and I have created a template for you to track the games and also make predictions. The playoff picture and standings are as of today’s date, Sept. 26. However, I will update them at the end of the season and make any necessary changes, if necessary. This is how the template currently looks like:

MLB Playoff Template in Excel.

If you don’t want to wait for my updated file and the standings do change, you can adjust them yourself. Next to the playoff tree, there is a section where you can update the seeding and wild card positions.

Standings in the MLB playoff template.

The division winners are highlighted in blue for the American League and red for the National League. The seeding will determine who plays who in the template.

As for making predictions, simply enter the number of games you are predicting each team to win. The team with more games will highlight in green as the winner, and they will be displayed as the team that advances to the next round. Since there is no re-seeding that takes place, the bracket remains unchanged.

Making predictions in the MLB Playoff Template.

This template can be useful if you want to make predictions with your friends and compare how you did. You can just create copies of each person’s predictions and then compare how you did at the end of the playoffs.

Hope you enjoy and have fun.

Download the MLB Playoff Template here


If you liked this Free 2025 MLB Playoff Template for Excel, please give this site a like on Facebook and also be sure to check out some of the many templates that we have available for download. You can also follow me on Twitter and YouTube. Also, please consider buying me a coffee if you find my website helpful and would like to support it.

maxresdefault

Create Google Sheets Conditional Formatting Rules Based on Another Cell

Do you want to create conditional formatting rules in Google Sheets that are linked to specific cells? Below, I’ll show you how to do that, so that it’s easy to update, maintain, and see what conditional rules you have setup. This avoids having to set your values directly in the conditional formatting settings.

In this example, I have a list of stock tickers and their historical performances for a specific month of the year. I’m going to create rules to highlight cells based on their values.

You can follow along with my practice file here. Simply create a copy to see my conditional formatting settings or start from scratch.

Google Sheets table showing returns by stock for a specific month, broken out by years.

I will create three different cutoff points for my conditional formatting, a maximum value for the highest threshold, the average, and a minimum value for the lowest threshold. I’ll call refer to them as MAX, AVERAGE, and MIN.

For the MAX value, I’m going to set this to the third largest value, and multiply it by a factor of 0.5, just to ensure that the cutoff is low enough that it includes enough data points. My formula utilizes the LARGE function and is as follows:

=LARGE(Table1[[2024]:[2015]],3)*0.5

For the average, I’m going to simply calculate the average for the entire table:

=AVERAGE(Table1[[2024]:[2015]])

For the MIN value, I’ll use the same logic as for the largest value, except this time I’ll use the SMALL function so that I can get the third smallest value.

=SMALL(Table1[[2024]:[2015]],3)*0.5

You can obviously setup whatever cutoff points you want for your conditional formatting. But I just want to give you some ideas and ways where you can make your formatting rules a bit more dynamic, based on the data set. I have these cutoff points set up but I can adjust them as necessary:

Cutoff points setup for conditional formatting rules in Google Sheets.

Now, we can go and setup the conditional formatting rules, linking them to these cells. To do this, start by selecting all the values to apply conditional formatting to. In this example, I’m going to select the entire table. Then, go to Format and select Conditional Formatting.

For the first rule, I’m going to check the option to format cells if they are Greater than a specified value. Here is where instead of entering a value, you can reference a specific cell. My max value of 12.16% is in cell N5, and I’m going to enter that in my conditional formatting rule. Note that it’s important to freeze the cell to ensure every cell is looking at this same value.

Creating a conditional formatting rule in Google Sheets that links to a specific cell.

Next, click on the button below the conditional formatting rule that says + Add another rule. It will copy the settings and so now, for the next rule, all that’s necessary is to adjust the linked cell so that it’s referencing N7 (the minimum) rather than N5. And instead of greater then, I’ll select the option for Less than. I’ll also change the formatting so that it is red:

Creating a conditional formatting rule in Google Sheets that links to a specific cell.

Now, let’s create another rule, this time for the average. This rule will look at if a value is below the average and apply a lighter shade of red:

Creating a conditional formatting rule in Google Sheets that links to a specific cell.

The last rule I’ll setup is if the value is greater than the average, and apply a light green highlighting:

Creating a conditional formatting rule in Google Sheets that links to a specific cell.

In my example, the formatting rules are now applied based on which cutoff points they fall within:

Multiple conditional formatting rules applied to a table.

At this stage, I’ve created four conditional formatting rules:

Multiple conditional formatting rules setup in Google Sheets.

If your cells aren’t formatting properly, make sure to check the hierarchy. The most extreme rules which are greater than the maximum or lower then the minimum values should be at the top, followed by the ones that are simply higher or lower than the average. This order is important to ensure the rules are applied in the correct order.


If you liked this post on How to Create Google Sheets Conditional Formatting Rules Based on Another Cell, please give this site a like on Facebook and also be sure to check out some of the many templates that we have available for download. You can also follow me on Twitter and YouTube. Also, please consider buying me a coffee if you find my website helpful and would like to support it.

The conditional formatting menu in Excel.

How to Create Conditional Formatting Rules in Excel: The Ultimate Guide

Conditional formatting in Excel is one of the most powerful tools for making your spreadsheets more insightful and easier to read. Instead of manually scanning rows of numbers or text, conditional formatting automatically highlights the most important parts of your data based on rules that you set. With just a few clicks, you can spot trends, identify outliers, or flag potential issues—all without adding a single formula to your worksheet.

For example, imagine managing a budget where any expense over $1,000 turns red, or tracking project deadlines where tasks due this week are highlighted in yellow. Conditional formatting allows you to create these kinds of dynamic visual cues, making your data tell a story at a glance. Whether you’re a beginner just learning Excel or an advanced user building dashboards, mastering conditional formatting can transform how you work with spreadsheets.


What is Conditional Formatting in Excel?

Conditional formatting in Excel is a feature that applies formatting (such as colors, icons, or data bars) to cells based on specific conditions or rules. This helps in:

To access conditional formatting, navigate to Home > Conditional Formatting on the Excel ribbon.

The conditional formatting menu in Excel.

General Conditional Formatting Rules in Excel

Excel provides several built-in conditional formatting rules, which can be applied with just a few clicks:

Highlight Cells Rules

These rules apply formatting to cells based on their values.

Highlighting cells in Excel based on their values.
  • Greater Than / Less Than: Highlights numbers above or below a certain threshold. In the below data set, all the values that are greater than $500 are highlighted.
Values highlighted that are more than $500 in Excel using conditional formatting.
  • Equal To: Highlights cells that contain a specific value. In the example below, when the Vendor is equal to Office Depot, the cell is highlighted in yellow.
Values highlighted that where the vendor is Office Depot in Excel using conditional formatting.
  • Text That Contains: Applies formatting to cells that contain certain text. This is useful if you are looking for partial matches. In the below example, any Vendor which contains the word ‘Micro’ is highlighted in green.
Values highlighted that where the vendor contains 'Micro' in Excel using conditional formatting.
  • Dates Occurring: This is useful for highlighting recent, upcoming, or past dates. And the values are dynamic and will change based on the current date.
Conditional formatting rules in Excel where a user can highlight cells based on a dynamic date variable.
  • Duplicate Values: Conditional formatting can help with quickly identifying values in a range of data, showing when there are duplicates found. Below, I’ve highlighted any duplicate values in red.
Conditional formatting in Excel highlighting duplicates values.

Top/Bottom Rules

In addition to just highlighting specific values, duplicates, or ranges of dates, you can also use conditional formatting to analyze data for you. Here are some of the pre-set options you can highlight:

Conditional Formatting rules in excel for top and bottom rules.
  • Top 10 Items / Bottom 10 Items: This option highlights the highest or lowest values in a dataset. While it says the top or bottom 10, this can be modified to show a different number. Below, I’ve highlighted the top 50 largest values in green.
Conditional formatting rules in Excel are highlighting the top 50 values.
  • Top 10% / Bottom 10%: This highlights values that fall in the top or bottom 10%. While the default is to look at the top or bottom 10%, you can change this percentage to whatever cutoff point you want. In the below screenshot, I’ve set the cutoff to 25, to highlight the bottom 25% of values in the data set. By doing this, it’s easy to highlight the largest values without first having to calculate what that cutoff point is — Excel does it all.
Conditional formatting rules in Excel are highlighting the bottom 25% of values.
  • Above / Below Average: This highlights values above or below the dataset’s average. Below, all the values that are above average are highlighted in yellow. Here again, there’s no need to actually calculate what that cutoff point is. Excel determines the average and then highlights the values that are over that.
Conditional formatting rules in Excel are highlighting values that are above the average.

Data Bars, Color Scales, and Icon Sets

These options provide a graphical representation of data, and they can be a more powerful way to visualize your numbers.

  • Data Bars: Fill the cell with a bar proportional to its value. And with this conditional formatting, it’s easy to spot high and low values in relation to one another.
Conditional formatting in Excel using data bars to show large and small values.
  • Color Scales: Apply a gradient of colors based on value distribution. You can use three different colors, or you can use shades of a color, where larger values will appear darker while smaller ones will be lighter in color.
Conditional formatting in Excel using color scales to show large and small values.
  • Icon Sets: Display different icons (arrows, checkmarks, etc.) based on value thresholds. This does a similar job as the other options, but now you can utilize icons instead of just colors.
Conditional formatting in Excel using icons to show large and small values.

Creating your own rules

The pre-defined conditional formatting options can be useful, but you may prefer to make your own. By doing so, you can apply more customization to your rules. If you skip pass the first options on the conditional formatting menu, you’ll see an option to create a New Rule:

Creating a new conditional formatting rule in Excel from scratch.

From here, you’ll get similar options as to the pre-defined ones, including formatting them based on their values, top or bottom rankings, above or below average, and so on.

Formatting cells based on their values

For this rule, you can specify the type of color scale you want to use (2 colors, 3 colors, data bars, or icons)

Creating a conditional formatting rule based on its value, and adjusting the format style.

You can also change how the minimum and maximum values are determined, whether they are based on simply the lowest value in the range, a specific number, a percentage, formula, or percentile.

Choosing a conditional formatting option for the minimum value in Excel.

And you can also change the color scheme, to determine how you want the gradient to look, and how it will progress from the minimum to the maximum. By changing the drop downs, below I’ve changed the gradient to go from a light teal to a dark teal color.

Conditional formatting rules in Excel where the color values have been changed to light teal and dark teal.

If you select a 3-color scale, you’ll notice you’ll also have a midpoint option, where you can have a third color. If you’re dealing with values that are positive and negative, you may want to use a 0 value for the midpoint and make the color white. This is how I’d set it up for high and low values when there are negatives. The largest negative values will be in red and the highest positive values will be green, while anything close to 0 will be white.

Conditional formatting rules in excel showing how rules could be setup for a 3-color scale when there are negative values.

Here’s how this would look on a range of values between -100 and +100:

Conditional formatting rules that have been applied to positive and negative values.

If you select a data bar as your option, you’ll notice different settings for that. Not only can you specify the minimum and maximum values, but you can also adjust the appearance of the bar:

Conditional formatting rules for Excel when using a data bar.

In the below example, I’ve modified the data bar so that it is green with a black solid border:

Conditional formatting rules for Excel when using a data bar with custom color formatting applied.

If you have negative values, you can click on the Negative Value and Axis to modify how those values will show. By default, if they are negative, the fill color is set to red, but this too can be changed.

Setting up conditional formatting rules for data bars when values are negative.

TIP: If you don’t like the look of the above formatting because it looks messy, consider copying the values in the next column. Then, create the same conditional formatting rules but select the option to Show Bar Only next to the Data Bar option:

Selecting just the show bar only option when creating conditional formatting rules in Excel.

By doing this, you can have your values in one column, and then just the bar in the other column. When you show just the bar only, it doesn’t display the values anymore. In the below example, the values are in both columns, but with this formatting applied, they are no longer visible in the column on the right.

Conditional formatting setup in Excel that shows values alongside bar charts.

If you create a new rule using icon sets, you’ll get yet a different set of options:

Conditional formatting rules in Excel when using icon sets.

There are many different types of icons you can choose from, allowing you to be creative in how you want the formatting to be applied.

Selecting from different icon sets in the conditional formatting options in Microsoft Excel.

However, you can still mix and match. You aren’t locked into a specific set of icons. You can change the look of each icon by clicking on the drop-down option next to it.

Changing an individual icon for a conditional formatting rule in Excel.

Below, I’ve used a mix of various icons that don’t conform to any pre-defined style:

Using a mix of different icons for conditional formatting rules in Excel.

Although the default is to use a percent, you can also change this to formatting a value based on its numerical value, a formula, or a percentile.

Format only cells that contain certain values or text

This next section is a bit simpler in that there are fewer options. You specify how you want to format them based on what they contain, and if they meet a certain criteria:

Setting up conditional formatting rules in excel if their cells meet a specific criteria.

For the first drop-down option, you can specify if you’re looking for a certain value, text, date, or whether it’s a blank or error.

Conditional formatting rule drop-down in Excel that allows you to specify whether you're looking at a value, text, or other option.

Depending on what you select, the next drop-down option may change. But if you leave it to the default cell value, then you can also specify whether it’s within a range of values, greater than, equal to, or less than a certain value.

Creating a conditional formatting rule that's based on a cell value.

Since I’ve selected between, I need to enter multiple values, one being the start of the range and the other being the end. In the below example, I’m looking at values that are between 5 and 10.

Creating a conditional formatting rule that's looking at values between 5 and 10.

TIP: Anytime you see the up arrows, that means you can specify a certain cell to link the rule to. And when you do so, your rule becomes dynamic. As the value changes in the cell that you’ve specified, the formatting rule will update. This can be helpful because you can easily change the value without having to go into the conditional formatting settings.

In the example below, I’m no longer specifying exact values but instead referencing ranges, P2 and Q2:

Creating a conditional formatting rule that's looking at values in cells P2 and Q2.

In my spreadsheet, I can setup these cells accordingly, so that I know they are my min and max values for my conditional formatting rule:

A range of cells related to minimum and maximum values for conditional formatting.

But before any conditional formatting gets applied, I need to specify the formatting I want. Since I’m creating a rule type from scratch and not relying on pre-defined rules, I also have to set my formatting. To do this, I need to click on the Format button, which opens up the Format Cells options. And just like when you’re formatting cells in Excel, you can specify how you want the cell to look, including its font style, number formatting, border, and fill color.

The Format Cells window in Microsoft Excel.

In my example, I’ve created the rule so that it will apply a blue fill color, with a solid black outline, and bolded black text.

A custom conditional formatting rule setup in Excel that looks for values within a specified range, based on cells.

This is how it has been applied to my range of values:

Multiple conditional formatting rules applied in an Excel spreadsheet.

Format only top or bottom ranked values

This rule type is an even simpler one since we are only looking at the largest or smallest values. The first drop-down option allows you to choose from either Top or Bottom.

Creating a conditional formatting rule based on top or bottom ranked values.

The next field is where you specify the number of items. If I leave it to 10, then it will grab the 10 largest items in the range I’ve selected. But if I check off the option to say % of the selected range, then it will grab the top 10% of the values. For example, if in my range I select 26 values, it will highlight only the two largest values since that will mark the top largest ones, based on the size of the range. Here’s the difference in the two approaches:

Applying conditional formatting rules in Excel based on the top 10 values and top 10 percent.

Format only values that are above or below average

This option is similar to the one in the pre-defined conditional formatting rules. However, you have a bit more flexibility here in being able to also format them based on how many standard deviations they are away from the average.

Creating a conditional formatting rule in excel based on if it is above or below the average.

You will also need to set the formatting you want to apply. You could create one rule for if something is 1 standard deviation away and another one for if it is 2 standard deviations, etc.

Format only unique or duplicate values

With this option, there are the fewest choices to select from. You can either highlight duplicate values or unique values. And as is the case with other conditional formatting rules you create from scratch, you also have to specify your own formatting.

Creating conditional formatting rules based on unique or duplicate values.

Using Formulas in Conditional Formatting

The last section is the one which can allow for the most customization. Here, you can create your own custom formulas. This allows dynamic formatting based on complex conditions.

Creating a custom formula for a conditional formatting rule in Excel.

The key thing to remember is that you want the formula result to be either a TRUE or a FALSE value in the end. That will determine whether the criteria is met. A good strategy here is to set up your formulas first in your spreadsheet, and then copy them into the conditional formatting formula. Follow this guide to setup advanced conditional formatting rules like a pro.

Here’s a quick overview of what you can do:

  • Highlight Cells Based on Another Cell’s Value.
    • To highlight cells in column B if the corresponding cell in column A is greater than 100: =A1>100
  • Highlight Even Rows for Better Readability
  • Highlighting Expired Dates
    • To highlight dates in column A that are past today’s date: =A1<TODAY()
  • Highlight Cells Based on Text Values
    • To highlight all cells in column A that contain the word “urgent”: =SEARCH(“urgent”, A1)
  • Make Non-Zero Values Stand Out

These are just a few examples of what you can do with formulas but you have many more options with this approach.

Common issues with conditional formatting rules in Excel

Here are some of the most common issues you may encounter when creating conditional formatting rules in Excel.

Why are my conditional formatting rules being applied to the wrong cells?

This can happen for a couple of reasons. The first is that you haven’t selected the correct range when setting up your rule. If you go into the Conditional Formatting menu and select Manage Rules, you will see all the ones that are applicable (to your current selection).

Checking the range that a conditional formatting rule is applied to.

The current rule here applies to all the cells in column F. If I need to change that, I can either edit right within the Applies to box or I can click on the up arrow and select the range manually.

Another issue related to ranges can happen when there is a problem with the cells your formula is referencing. Take a look at the screenshot below and see if you can figure out why the formatting isn’t correctly applied. Even though the rule is simple and is just looking at whether the cell’s value is greater than 50, it is being applied to the wrong cells.

A conditional formatting rule in Excel that has been created using a formula.

Although the column is correct, the problem is the range. Notice that the rule is L1>50 but it is being applied to $L$2:$L$27. The first cell is off by 1 row, so the formula will always be offset by 1 row. That means that when it’s evaluating L2, it will look at L1. And when it is looking at L3, it is looking at L2. In the above example, because there is a text value it is not a number and thus meets the criteria. And the value of 40 is highlighted because the formula is looking at the value above it (78).

If I modify the formula so that it is changed to L2>50, now the conditional formatting is applied correctly.

A conditional formatting rule in Excel that has been created using a formula.

The rules won’t update, however, until you click the Apply button. This is necessary to do anytime you make changes to a conditional formatting rule.

Why are the wrong conditional formatting rules being applied?

If you have multiple conditional formatting rules in place, you may encounter an issue where the wrong ones are being applied. Consider the below example, where I have created a rule when a value is greater than 0 to be highlighted light green, and another one so that it is dark green when it is greater than 50.

Multiple conditional formatting rules created in Excel.

Since a cell can meet both criteria and be both higher than 50 and 0, it’s important to prioritize the rules correctly. To fix this issue, I need to select the bottom rule, and click on the up arrow to push it to the top. After doing this, and clicking apply, the values over 50 are filled in with the darker green color.

Multiple conditional formatting rules created in Excel after changing the order of the rules.

Why am I not able to find my conditional formatting rule?

If you’ve created a conditional formatting rule but can’t find it, it’s likely that you’ve selected a cell it isn’t applied to. If you go to the Conditional Formatting menu and select Mange Rules, you’ll see all the rules that you’ve created. But by default, this shows the rules that are applied to your current selection. You can, however, change the drop-down option to show rules for the entire sheet and anywhere else there are rules setup:

Changing the drop-down option to see which conditional rules are visible.


After changing it to This Worksheet, I now see all the rules that I’ve created on the worksheet.

The conditional formatting rules manager in Excel.

How do I delete a conditional formatting rule?

In some cases, you may find that you have too many conditional formatting rules and want to get rid of some. In this case, go back to the conditional formatting rules manager where you’ll see a list of all the rules you have created.

Managing conditional formatting rules in Excel.

From here, you can select any rules that you don’t need anymore, and click on the option to Delete Rule. Be sure to click on Apply afterwards to make sure your changes go into effect.


If you liked this post on How to Create Conditional Formatting Rules in Excel: The Ultimate Guide, please give this site a like on Facebook and also be sure to check out some of the many templates that we have available for download. You can also follow me on Twitter and YouTube. Also, please consider buying me a coffee if you find my website helpful and would like to support it.

RevPAR

How to Calculate RevPAR in Excel Using a Formula

Revenue per Available Room (RevPAR) is one of the most important metrics in the hospitality industry. It tells hotel owners and investors how efficiently a property is generating revenue from its available rooms. Whether you manage a small motel or analyze hotel stocks, knowing how to calculate and track RevPAR is an essential metric to know how a business is doing. It’s similar to the Average Daily Rate (ADR), but there are important differences to be aware of.

In this guide, I’ll cover:

  • What RevPAR and ADR are (and how they differ)
  • The formulas for each metric
  • How to calculate them in Excel
  • A real-world example dataset

Download the practice file here

How do you calculate RevPAR and ADR?

RevPAR stands for Revenue per Available Room. Unlike average daily rate (ADR), which only looks at occupied rooms, RevPAR takes into account all available rooms, giving you a more complete picture of overall performance.

The formula is as follows:

RevPAR = Room Revenue / Rooms Available

You can also calculate it an alternate way:

RevPAR = ADR x Occupancy Rate

Meanwhile, the formula for ADR is the following:

ADR = Room Revenue / Rooms Sold

As you can see, there is a close relationship between RevPAR and ADR, but each one gives you slightly different information.

A sample data set and calculation

In the below example, which is a sample projection, dates are filled in for 2026 with estimated rooms sold and room revenue. The hotel has 100 rooms available, which doesn’t change over the course of the year.

Hotel revenue in Excel showing dates, available rooms, rooms sold, and room revenue.

To calculate the ADR, we need to take the total room revenue and divide it by the number of rooms sold:

Hotel revenue in Excel showing dates, available rooms, rooms sold, room revenue, and ADR.

Now, to calculate RevPAR, we’ll take room revenue and divide it by rooms available:

Hotel revenue in Excel showing dates, available rooms, rooms sold, room revenue, ADR, and RevPAR.

An alternative way to calculate this would be to compute the occupancy rate for each date, and then multiply that by the ADR:

Hotel revenue in Excel showing dates, available rooms, rooms sold, room revenue, ADR, and RevPAR.

As you can see, unless there is full occupancy, the RevPAR will always be lower than the ADR, simply because its denominator is larger (rooms available versus rooms sold).

Analyzing the data

Now that you’ve setup a data set showing these metrics, you can analyze it in Excel in a couple of ways. One way is through the creation of a pivot table, where you can summarize data by months at a time. You can put the date in the Rows section and then group by months. And by putting the ADR, RevPAR, and Occupancy fields into the values section, and setting them to display the average (rather than the sum), you can have an easy way to summarize your key performance indicators:

Pivot table showing ADR, RevPar, and Occupancy rates for a hotel.

In addition, you could create a chart to compare ADR, RevPAR, and Occupancy, to identify trends and patterns in the data set. In the chart below, I’ve plotted all three items on line charts. I’ve put the occupancy on a secondary axis and adjusted the scale so that it fits firmly below the ADR and RevPAR figures, ensuring there is no overlap.

Excel chart comparing ADR, RevPAR, and Occupancy rates.

If you liked this post on How to Calculate RevPAR in Excel Using a Formula, please give this site a like on Facebook and also be sure to check out some of the many templates that we have available for download. You can also follow me on Twitter and YouTube. Also, please consider buying me a coffee if you find my website helpful and would like to support it.

Advanced Conditional Formatting Rules

How to Setup Advanced Conditional Formatting Rules in Excel Using Formulas

Conditional formatting rules can help highlight values and identify when certain criteria is met. You can also create advanced rules that include formulas. And I’ll walk you through how to to do so in a way where it’s easy to test your logic and ensure you setup your rules correctly.

Start with creating a formula in your spreadsheet

You might be tempted to jump right into the conditional formatting settings and create your rules. But you’re probably better off not doing that, because if you need to make an adjustment later on, it can be challenging to try to tweak the formula there.

Instead, start with creating a formula within your spreadsheet. The goal is to setup a formula so that it results in either a TRUE or FALSE result. If it’s TRUE, then your conditional formatting will get applied. Otherwise, it won’t.

In the below example, I’m using the NFL prediction template I created earlier. If you want to follow along, download that template and delete the conditional formatting rules that are already there.

I’m going to create a rule to track if teams I’m interested in are playing. If they are, I want to highlight those games.

Excel spreadsheet showing the NFL schedule.

In this template, I have a section for a watchlist, starting in row 14. I’m going to select a few teams I want to track.

Watchlist of teams in the NFL prediction template.

This watchlist is in the range A14:A21. I need to create a conditional formatting rule that meets two conditions:

  • If the home team is found in the watchlist, or
  • If the away team is found in the watchlist.

While this doesn’t sound complex, creating the conditional formatting rule for this can be a bit of a challenge. A good way to set this up is to create a formula in an adjacent column to see if it is calculating correctly.

Let’s start by using the MATCH function. This function will search through the watchlist to see if it finds the lookup value.

=MATCH($E4,$A$14:$A$21,0)>0

Column E is where the home team is listed. I’ve frozen column E since the search criteria shouldn’t change, regardless of which cell I’m in. This is important to ensure the entire row is highlighted.

Currently, how this formula works is if a value is found on the watchlist, it will result in a value of 1 or more, and that will return a value of TRUE. However, if the team isn’t found, then the formula results in an #N/A error. To fix this, I’m going to put the entire formula within the IFERROR function:

=IFERROR(MATCH($E4,$A$14:$A$21,0)>0,0)

Next, I need to also setup the formula to check if the away team is found in the watchlist. This is the exact same formula, except instead of referencing column E I’m referencing column I, which is where the away team is listed.

=IFERROR(MATCH($I4,$A$14:$A$21,0)>0,0)

Now, I’ll combine the two formulas within the OR function:

=OR(IFERROR(MATCH($E4,$A$14:$A$21,0)>0,0),IFERROR(MATCH($I4,$A$14:$A$21,0)>0,0))

Now, I’m going to copy this formula down to confirm it is calculating correctly:

NFL schedule with conditional formatting rules setup in the spreadsheet.

On the right-hand side, you can see the values being returned as either TRUE or FALSE. And the TRUE values are showing for the teams in my watchlist (Carolina, Tampa Bay, Seattle, and Green Bay). This confirms that the conditional formatting rules are setup correctly.

Adjust the starting range for your conditional formatting formula

When I initially setup the conditional formatting rules I referenced row 4, since that was where the first game was. But when I setup my conditional formatting rule, I need to change it to row 1, since I’m going to select columns B:L, and thus, I need to start from row 1 to ensure my conditional formatting is not being offset by any number of rows.

Thus, the formula I’m going to copy into the conditional formatting is as follows:

=OR(IFERROR(MATCH($E1,$A$14:$A$21,0)>0,0),IFERROR(MATCH($I1,$A$14:$A$21,0)>0,0))

Create the conditional formatting rule

With columns B:L selected, I’m going to go into the Conditional Formatting menu and select New Rule. And I’m going to select the option to use a formula, which is where I will paste the above formula into:

Using a formula in the conditional formatting rules in Excel.

I have also set the formatting so that the fill color is yellow and the font color is black. Now, I’ll click on OK. Initially, it looks as though my conditional formatting rules are incorrectly applied:

Conditional formatting that is incorrectly applied on my NFL template.

Double-check your conditional formatting rule and change it if necessary

I’m going to go back into the conditional formatting settings, where I see Excel has modified my starting row:

Conditional formatting rules in Excel showing the incorrect row selected.

Since I selected the entire columns, Excel has selected the very last row, 1048576, which is clearly not what I wanted. This can happen when you select an entire column and so it’s always important to go back in and double check the formatting once it has been setup. I’m going to have to manually go into here and adjust the formula so the first cells in the MATCH functions are $E1 and $I1 again.

Corrected conditional formatting rules in Excel.

This is a one-time fix that’s necessary. And after doing so, now I can see that my conditional formatting is correctly applied, and the values that show TRUE in the far right column are indeed highlighted.

Conditional formatting correctly applied in the NFL Excel template.

With the conditional formatting correctly applied, I can now clear the formulas I setup earlier in the column that is checking if the condition is met (where the TRUE and FALSE values are showing).

To use formulas in conditional formatting, it’s a good idea to first test your logic within your spreadsheet. That way, it’s easier to confirm it’s evaluating correctly and easier to make adjustments as necessary.


If you liked this post on How to Setup Advanced Conditional Formatting Rules in Excel Using Formulas, please give this site a like on Facebook and also be sure to check out some of the many templates that we have available for download. You can also follow me on Twitter and YouTube. Also, please consider buying me a coffee if you find my website helpful and would like to support it.

NFLTemplate4

NFL Schedule and Prediction Template in Excel (Free)

The NFL season is approaching and I have created a free template in Excel that will make it easy to keep track of your favorite teams. You can also use it to make predictions and compete against your friends and colleagues. It has now been updated for the 2026 schedule:

Download the NFL Schedule and Prediction Template in Excel here

Here’s a look at how the template works.

NFL schedule and prediction sheet template.

Updating scores, the schedule, and your time zone

On the Master.Schedule tab, you’ll see a list of games for the NFL season. As the games are played, this is where you can update the scores. You can also update the schedule. Currently the Week 18 schedule is still to be determined, and while the matchups are known, the dates and times of those games won’t be set until towards the end of the season, after Week 17.

There is a time field showing when all the games are scheduled, which by default is set to ET. However, if you’re in a different time zone you can select your preferred time zone from the drop-down option on the left. You can change to PT, MT, or CT.

Changing the preferred time zone in the NFL schedule and prediction sheet template.

If your time zone isn’t listed here, then you can delete the selection, and change the time zone in the GMT offset section below:

The GMT-offset adjustment in the NFL schedule and prediction sheet template.

This value will only apply if the preferred time zone is cleared out. After updating your time zone settings, you’ll see that in the Your Local Time field, the time of the games will be updated to reflect your local time zone.

You can also specify a watchlist of teams you’re interested in following. You can select multiple teams, and upon doing so, the schedule will update to highlight the games they are involved in:

Highlighted teams from the watchlist are showing in the NFL schedule and prediction sheet template.

Viewing a complete schedule for a full team

If you just want to track the games involving a specific team, you can do that on the Team.Schedule tab. From the drop-down on the left-hand side, you can select the team you’re interested in, and their schedule will update, including their bye week.

Team schedule shown on the NFL schedule and prediction sheet template.

This page is formatted to make it easy to print out on a single sheet of paper, in landscape mode.

Viewing the full week schedule

If you prefer to see the list of games for the full week, you can utilize the Weekly.Schedule tab to do that. Similar to the team tab, here you’ll update the week with the Week number. You can also use the watchlist to track teams you are interested in, just as on the Master.Schedule tab.

Weekly schedule shown on the NFL schedule and prediction sheet template.

Viewing the entire NFL season on a grid format

On the Schedule.Grid tab, you have a list of the entire games by team, for the entire season. Here, you can see the opponents they are playing, as well as their bye weeks.

Grid schedule showing on the NFL schedule and prediction sheet template.

There are also different settings you can apply, such as a watchlist to show any key matchups you are interested in. You can highlight the schedule for an entire team, highlight Monday night games, Thursday night games, international games, and Christmas Day games. Below, I’ve flagged games involving Buffalo, New England, and Miami. I’ve also highlighted the full schedule for Green Bay, and have checked off the option for any Monday night games.

List of options checked off for the grid schedule in the NFL schedule and prediction sheet template.

This results in various cells being highlighted on the grid:

Grid schedule showing with many games being highlighted.

The red highlighted cells are for any games involving the teams on the watchlist. These cells will only highlight if two of the teams from the watchlist are playing. In this example, any games involving a combination of Buffalo, New England, and Miami will be highlighted. It won’t simply highlight any games involving them.

The dark blue highlighted cells are for Monday night games. And the cells are green when an entire team is selected. Yellow highlighting will apply for Thursday night games, while cells will highlight in purple if you want to see international games. Christmas Day games will highlight in green with a red font color.

Standings will update as you enter results

As you update the scores on the Master.Schedule tab, the Standings tab will also update, showing you the ranking of each division.

Standings on the NFL schedule and prediction sheet template.

If at the end of the season, the standings are very tight and tiebreakers need to be applied, you may need to use the Override tab to manually put the correct standings. This is only if the positioning is incorrect on the Standings tab. While some tiebreakers are factored in, it won’t account for every possible scenario.

Ranking override tab on the NFL prediction and schedule template.

By entering values 1 through 4 on the Ranking Override column, you will assign specifically where those teams should rank. They are grouped by division. As the column name suggests, it will override the rankings here. To ensure no issues, if you use this column, enter all the rankings for any division where the standings are not correct.

Making predictions on the NFL template

On the Weekly.Predictions tab, you’ll see a list of the week’s games, similar to the Weekly.Schedule tab. But in addition to the schedule, you’ll also have an area to determine scoring rules for your predictions. You can specify the number of points awarded for a correct result, correct # of total points, if the exact score is correct, if the person beat the spread, if they got the over/under correct, and if there was a push on either the spread or the over/under.

If you are making predictions based on the spread and the over/under, you will need to manually update those columns .

The prediction sheet on the NFL prediction and schedule template.

On the other side of the sheet, there is an area for players to make their predictions for each game.

Predictions on the NFL prediction and schedule template.

You can change the names from Player 1, Player 2, etc. to the actual names of the people making the predictions. The sheet supports up to 25 players. If you don’t need that many, simply delete the values in those cells for the names.

The points will total once both predictions are made and there are actuals that have been entered on the Master.Schedule tab (those values will populate on the Weekly.Prediction tab).

Lastly, on the Leaderboard tab, you can copy the results for the current week into the actuals section. The current week’s scores will populate below the row highlighted in yellow, which indicates that there are formulas below:

Weekly point totals from the weekly prediction sheet populating on the leaderboard tab.

Copy these values above to the corresponding week, in the Actuals section:

The actuals section on the leaderboard tab in the NFL prediction template.

As data is entered and updated, the cumulative results and chart at the top will update. However, to update the chart, you will need to refresh the data. This can be done by going into the Data tab and clicking Refresh Data.

The chart and standings in the leaderboard tab.

If you have any feedback or suggestions on the template, I’m always happy to hear them as I’m always looking for ways to make the template as best as it can be!


If you liked this NFL Schedule and Prediction Template, please give this site a like on Facebook and also be sure to check out some of the many templates that we have available for download. You can also follow me on Twitter and YouTube. Also, please consider buying me a coffee if you find my website helpful and would like to support it.

ParetoChart

How to Make a Pareto Chart in Excel

A Pareto chart is a useful tool for identifying the most significant factors in a dataset. It’s based on the Pareto principle—also known as the 80/20 rule—which suggests that roughly 80% of outcomes come from 20% of causes. While that may not always be the case, the chart can help you focus your efforts on the most important items in your data.

Start with preparing your data

To begin, you’ll need a dataset with categories and their frequency or values. In the table below, there are various customer issues, and the frequency of them.

Table in Excel showing issues and related frequencies.

You should aim to sort the data in descending order for frequency, as that will make it easier to read and interpet the chart.

Insert the Pareto chart from the Histogram section

With your data prepared, you can now go ahead and create the chart. Start by selecting one of the values from your data and go to the Insert tab. Click on the small arrow to open up all the available charts to choose from. Then, under the All Charts tab, navigate to Histogram section and select Pareto, which shows column charts and a red line going across.

Inserting a Pareto chart in Excel.

This now produces the following chart:

Pareto chart in excel showing frequency of issues.

The red line chart represents the cumulative count of all the frequency items, starting from left to right. This is the advantage of sorting the data beforehand, as it makes it easier to identify the major issues. From this chart, we can see that the five largest issues (shipping errors, damaged items, wrong product, late delivery, and missing parts) account for 80% of the total issues. This analysis can help focus your efforts on the issues which come up the most often.

Create a Pareto chart to track sales

We can do a similar analysis when looking at sales. In the following table, we have a list of highest-selling products, also sorted in descending order.

Table of top-selling products in Excel.

By creating a Pareto chart from this, data, we can see the following trend:

Pareto chart in Excel showing top-selling items.

This chart shows similar information, but rather than frequency, it displays cumulative sales, telling that roughly 60% of sales come from four items.


If you liked this post on How to Make a Pareto Chart in Excel, please give this site a like on Facebook and also be sure to check out some of the many templates that we have available for download. You can also follow me on Twitter and YouTube. Also, please consider buying me a coffee if you find my website helpful and would like to support it.

EPL Template

English Premier League Prediction Template in Excel and Google Sheets (Free Download) — 2026-27 Update

New Template Available for the 2026-27 Season

Are you looking for a free English Premier League Prediction Template to track matches, make weekly predictions, and see how your forecasts stack up against your friends’? This all-in-one spreadsheet is perfect for EPL fans who want an easy way to manage the 2026-27 season.

What’s Included in the EPL Template?

This English Premier League prediction spreadsheet has six main tabs:

  • Master.Schedule
  • Team.Schedule
  • Weekly.Schedule
  • Weekly.Predictions
  • Leaderboard
  • Schedules

Master.Schedule: The Core of the EPL Template

This is the main tab where you view all fixtures and results. Update scores in columns I and K, and adjust for your time zone using the fields in column A if you want the time and date to update in column F for the schedule.

EPL Excel tracker screenshot of the match schedule.

Want to follow your favorite clubs? Use the watchlist starting at cell A12 to highlight one or more teams. This affects other tabs like Weekly.Schedule, helping you quickly spot the matches that matter most to you.

EPL Excel spreadsheet tracking multiple teams.

As you update the results, the standings update automatically. If necessary, you can manually set tiebreaker positions in column AK, should the tiebreakers get to that point.

Team.Schedule: View Fixtures for a Single Team

In this tab, pick your team from the dropdown in cell A3, and their schedule auto-populates in columns B:M. It’s a clean, filtered view for tracking just one EPL team. No manual editing is required—this tab pulls directly from the master schedule tab.

EPL Excel spreadsheet tracking a specific club.

Weekly.Schedule: Focus on One Week at a Time

In this tab, select a week in cell A3, and the tab will display all fixtures for that week. Matches involving any teams in your watchlist are highlighted for quick reference. Again, no need to manually enter anything—scores flow from the master tab.

EPL Excel spreadsheet tracking a specific week.

Weekly.Predictions: Compete with Friends

Want to run a weekly EPL prediction game? This tab lets up to 25 players make predictions and earn points. And with this, you can specify the week you want to make predictions for — there’s no worry if you start late or haven’t been making predictions since the start.

  • Enter the week number in cell A3.
  • Customize the scoring system (e.g., 1 point for the correct result, 2 for correct goals, 3 for exact score).
  • Add player names in row 2 and enter predictions starting in column P. There is room for 25 players. If you don’t need them, just delete the names, and they won’t populate on the leaderboard tab.
  • Scores will auto-update based on the scores from Master.Schedule – do not make changes and enter actual results on this sheet.
EPL Excel spreadsheet tracking predictions for a specific week.

Leaderboard: Track Your Prediction Results

The current week’s results will populate on the leaderboard, in row 72:

Weekly prediction results for the English premier league prediction template.

When the week is complete, copy the values to the table above, which is where you can update the points per week, in the actuals section.

The actuals for the English premier league prediction template in Excel.

In the above example, I’ve filled in values 1 through 25 for each of the players. You will override this with your own prediction results for week 1. And then, as the following week completes, copy the scores (from row 72) to the correct section on the actuals.

The data will then populate above, giving you a cumulative score for each player, along with a chart showing the results visually.

Leaderboard showing prediction results for the English premier league prediction template in Google Sheets.

On the Google Sheets version, the chart will automatically update. However, on Excel, since a pivot table is used to show only the active players, you will need to Refresh the data (from the Data tab). Otherwise, the chart will not update. There is a reminder on the Excel workbook to do this refresh.

English premier league prediction template standings in Excel.

NEW! Track Multiple Competitions

In this latest version, I’ve created a new tab, called SCHEDULES, where you can make changes to the schedule and add matches from other competitions, such as the FA Cup and Champion’s League.

Schedules tab in the English Premier League prediction template.

If you need to make changes to the Premier League schedule, do so in columns A:F. For tracking any other competitions, enter those details in columns H:M. The schedules will be consolidated in columns O:T (do not make changes there). This consolidated schedule will now flow through to the other tabs, allowing you to track multiple competitions while also making predictions for them.

Download the English Premier League Prediction Template

If you’re ready to go and want to give the template a try, you can get started right now:

When you click on the link, you’ll be prompted to make a copy of the file. This is to ensure that you have your own unique version of the file to work with.

This Premier League Prediction Template for Excel and Google Sheets is completely free to use and customize.

If you have any comments, questions, or suggestions about the template, please contact me!


If you liked this English Premier League Prediction Template for Excel and Google Sheets, please give this site a like on Facebook and also be sure to check out some of the many other templates that we have available for download. You can also follow me on Twitter and YouTube. Also, please consider buying me a coffee if you find my website helpful and would like to support it.

H2EThumbnail AltmanZScore

How to Calculate the Altman Z Score in Excel

The Altman Z Score is a financial formula that evaluates a company’s financial health by analyzing key balance sheet and income statement ratios. In simple terms, it produces a single number (“Z-score”) that helps predict the probability that a company will go bankrupt.

A low Z-score can alert you that a company is at high risk of insolvency before obvious signs of distress appear. Since it relies on objective financial data, the Z-score offers an unbiased measure of a company’s stability.

What are the five key ratios in the Altman Z Score Formula?

The Altman Z Score is calculated from five financial ratios, each capturing a different aspect of a firm’s financial health:

  • A: Working Capital / Total Assets: This measures liquidity by comparing net working capital (current assets minus current liabilities) to total assets. It indicates the company’s short-term financial stability and ability to cover its short-term obligations. A higher ratio means the firm has more liquid assets relative to its size, which is a positive sign.
  • B: Retained Earnings / Total Assets: This profitability ratio shows the cumulative profits that a company has retained (not paid out as dividends) relative to its total assets. It reflects the company’s long-term earning power and age – older, profitable firms will have large retained earnings.
  • C: EBIT / Total Assets: EBIT stands for Earnings Before Interest and Taxes, essentially the operating profit. This ratio measures operating efficiency – how effectively the company’s assets generate earnings. Higher values mean the company’s core business operations are very profitable relative to its asset base.
  • D: Market Value of Equity / Total Liabilities: This leverage ratio compares the company’s market capitalization (market value of all shares) to its total liabilities. It introduces a market perspective on leverage. A larger value suggests investors value the company’s equity highly relative to its debts, implying more of a buffer to absorb losses.
  • E: Sales / Total Assets: This is an asset turnover ratio indicating how efficiently the company generates revenue from its assets. It varies by industry, but generally a higher Sales/Assets ratio means the company is using assets effectively to drive sales.

Each of these five ratios captures one dimension of financial performance – liquidity, retained profitability, operating performance, market leverage, and asset productivity respectively. Altman’s insight was that a weighted combination of these ratios could reliably distinguish healthy firms from those likely to fail.

What the different Z-score values mean

Once you calculate a company’s Z-score, it falls into one of three risk categories (zones) originally defined by Altman:

  • Z > 2.99 – “Safe” Zone: A score above 2.99 is considered safe. The company is likely in solid financial health and at low risk of bankruptcy in the near term. Investors can take comfort if a firm’s Z-score is around 3 or higher – it suggests the business is financially stable.
  • 1.81 <= Z <= 2.99 – “Grey” Zone: A score between 1.81 and 2.99 falls into a grey zone. This is an ambiguous middle range indicating some moderate risk. The company isn’t obviously about to fail, but there are enough warning signs that it’s not completely safe either. Investors should be cautious and perhaps investigate further – the firm could go either way over time.
  • Z < 1.81 – “Distress” Zone: A score below 1.81 signals the company is in distress and has a high risk of bankruptcy. In Altman’s study, companies with Z < 1.81 often did go bankrupt within a couple of years. Such a low score is a glaring red flag for investors to be extremely careful – it suggests the company’s financial foundations are very weak.

Setting up the Altman Z Score Calculation in Excel

To calculate the Altman Z Score in Excel, we can set up some inputs to make it easy to enter data. And from there, formulas can be setup to take care of the remaining calculations. We’ll need inputs for the balance sheet, income statement, along with the current share price. Here’s a look at what the inputs look like on my sheet:

Inputs for the Altman Z-score calculation in Excel.

The point of these inputs is for the user to easily plug in values from the income statement and balance sheet, without having to worry about setting up the formulas. Those will be done on the following cells:

Calculated cells on the altman z-score template in Excel.

For item A, the working capital balance will be calculated by taking the current assets and deducting the current liabilities, and then taking that result and dividing it by the total assets.

For item D, we need to multiply the shares outstanding by the stock price to get the market value of the equity, and then dividing that by total liabilities.

For all other items, the calculations should be self explanatory as they are referencing different values from the input cells.

There is also a weighting that gets applied (multiplied) to the cells, and this lookup table can also be setup on the worksheet:

Weighting for the Altman z-score in Excel.

The Altman Z Score weighting is designed primarily for manufacturing companies but there are other variations. And by setting a place where you can change the weighting, you can easily customize the weighting should you need to.

Let’s also setup a lookup table for the different thresholds. If the Z-score is below 1.81, for instance, then the business is in distress. If it’s 3.00 or more, then it’s considered safe. Anything else falls into the Grey zone. The following lookup table will enable us to do a lookup to determine which zone a company falls within:

Lookup table for z-score Altman scores.

The above table can be used with a VLOOKUP function and by setting it up for approximate matches (rather than exact ones), it will ensure the correct classification is applied based on the Z-score value.

Now, to pull it all together, what we need to do is to calculate the Z-score. And this can be done by tallying up the calculated fields. And next to the output, I’ll setup a VLOOKUP formula to determine which classification it falls under: distress, grey, or safe.

Altman Z-score calculation and lookup value in Excel.

Now, let’s try it out by entering the following values for a manufacturing company, Caterpillar. These values are pulled from Yahoo Finance for 2024:

Altman Z-Score inputs for Caterpillar.

Based on my Excel spreadsheet, this produces the following values and related Z-Score:

Altman Z-Score values for Caterpillar.

I’ve added conditional formatting to help highlight the cell based on its value and the category that it falls in. You can download the template that I’ve created here if you want to compare your formulas to mine, or if you just want one that is ready to use.


If you liked this post on How to Calculate the Altman Z Score in Excel, please give this site a like on Facebook and also be sure to check out some of the many templates that we have available for download. You can also follow me on Twitter and YouTube. Also, please consider buying me a coffee if you find my website helpful and would like to support it.