This is one of the coolest tricks I have seen in Excel, as there are countless times wherein I had a hard time understand formulas. Especially long and complex ones!

Excel provides the way to evaluate your formula, and break it down step by step so that you can understand it!

Let us take the formulas I’ve created below in the IS THE VALUE IN BETWEEN column . We will see how this formula is resolved in a series of steps:

evaluate-formulas-01

DOWNLOAD EXCEL WORKBOOK

 

STEP 1: You can see our formula uses both the If formula and the Median formula. 

The goal of this formula is to evaluate if a value (VALUE TO BE EVALUATED) is in between the range (START OF RANGE to VALUE TO BE EVALUATED)

For example: Is 50 the median of the range 20; 60; 50?

=IF(C7=MEDIAN(A7:C7), “Yes”, “No”)

To start understanding our formula, highlight the formula, then go to Formulas > Evaluate Formula:

evaluate-formulas-02

 

STEP 2: Our formula is now shown on screen, and the part that is underlined is the one to be evaluated first.  Click Evaluate.

evaluate-formulas-03

 

STEP 3: C7 has been evaluated to 50.  Click Evaluate.

evaluate-formulas-04

 

STEP 4:  The median of the values from A7 to C7 (20, 60, 50) is evaluated as 50.  Click Evaluate.

evaluate-formulas-05

 

STEP 5:  Is 50 equal to 50?

Excel has evaluated it to TRUE.  Click Evaluate.

evaluate-formulas-06

 

STEP 6:  Since the If formula received a TRUE, Excel evaluated it as a Yes end result. We have seen how the formula gave us the result in a few easy steps!

evaluate-formulas-07

evaluate-formulas

HELPFUL RESOURCE:

How to Combine VLOOKUP and IFERROR to Replace the #N/A Error in Excel

 

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Pinterest

Share on Facebook

Facebook

Tweet about this on Twitter

Twitter

Share on LinkedIn

Linkedin

Share on Google+

Google+

Related Posts

In-Cell Bar Charts with the REPT Function When you are creating an Excel Dashboard and are limited by space and do not want to insert a chart, you can easily create an in-cell bar chart using the RPT (repeat) function. The RPT function uses the vertical bar character | as the first argument: text and references the va...
Total Bonus Due With An Array Lookup Formula The LOOKUP function has three arguments, it is a like a simplified VLOOKUP function: What does it do? It looks up a value (lookup_value) in one range (lookup_vector) and returns a value from the same position in a second range (result_vector) Formula breakdown: =LOOKU...
Vlookup in Multiple Excel Sheets What does it do? Searches for a value in the first column of a table array and returns a value in the same row from another sheet´s column (to the right) in the table array. Formula breakdown: =VLOOKUP(lookup_value, table_array, col_index_num, ) What it means: =VLO...
INDEX Function with Data Validation To make the INDEX function in Excel interactive we can add a Data Validation drop down list. By referencing the second argument in the INDEX function - the Row Number - to a data validation list, will allow a user to choose the nth position of a list and return their respectiv...