Balancing Assumptions

Jeffrey Mahoney

Well-known Member
Joined
May 31, 2015
Messages
2,758
Office Version
  1. 365
Platform
  1. Windows
In my life I have struggled with assumptions. They are an evil necessary. When I was younger, I questioned everything and refused to be nailed down on any idea; to the point of not being able to get things done. Some scientists rely on this heavily.

As I grew older I found that I needed to rely more and more on assumptions. The more times we are proven right, the bolder the assumptions become, and the harder it is to let them go even when presented with harsh truths.

I know that in my little Excel world this means nothing in the scheme of things, but I must share nonetheless.

The assumption I made was that formulas like =MIN() and =MAX() DO NOT take blank cells into the equation. I assumed that a blank cell would return zero. It sadly does not. As I look back over the last 30 years working with spreadsheets, I used to know this. What changed? Why is there not a MINB().

In this example where cell A1=3 and Cell B1 is blank and I want to get the minimum (assuming blanks are zero), I would have to tweak it like this:
=MIN(A1-0,B1-0) = 0
Otherwise the result would be:
=MIN(A1:B1) = 3

How do I break up the stony, crusty, calcium encrusted assumptions and get back to a free thinking youth I once was? Is this really about Excel?

Humbled, that is all.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Most functions make assumptions about blanks among other data; MIN and MAX ignore them, AND treats them as TRUE, PRODUCT treats them as 1, arithmetic operations treat them as 0 ...

I find the assumptions pretty intuitive.
 
There is a shorter way you could make that tweak to MIN though and would be more helpful if you had larger ranges.

=MIN(--(A1:B1))
Confirm with CTRL-SHIFT-ENTER instead of just Enter.
 

Forum statistics

Threads
1,214,386
Messages
6,119,215
Members
448,874
Latest member
b1step2far

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top