**Learn How to Get Minimum Difference If Not Blank in Microsoft Excel **

The main purpose of this formula is to calculate the minimum difference between two sets of values, ignoring cases where either value is blank.

Here we will learn how to get the minimum difference, if not blank, in the given data range in the workbook in Microsoft Excel. That implies, with the help of a formula based on the MIN and IF functions, you can able to calculate the minimum difference between two sets of values, ignoring cases where either value is blank.

So, with the help of this formula, you can able to get the minimum difference, if not blank, in the given data range in the workbook in Microsoft Excel.

**General Formula to Get Minimum Difference If Not Blank**** **

**{=MIN(IF((rng1<>””)*(rng2<>””),rng1-rng2))}**

**The Explanation to Get Minimum Difference If Not Blank**

So we know that with the help of the given formula above, you can able to calculate the minimum difference between two sets of values, ignoring cases where either value is blank. Here we will learn how to get the minimum difference, if not blank, in the given data range in the workbook in Microsoft Excel.

As we know that the array here acts as a filter. In cases where the value is 1 IF function allows values to pass through to MIN. Here, the motive is to calculate the minimum difference between sales minus cost.

Only when both values have been entered. If either value is blank, the result should be ignored. So now you have learned how to get the minimum difference, if not blank, in the given data range in the workbook in Microsoft Excel.