Use MIN for a non-range when there can be blanks

JustHooch

New Member
Joined
May 17, 2018
Messages
44
I am looking to find the Min date from 3 cells that are not a range. I thought to use MIN, however, there are cases where the at least one of the 3 cells are blank.

Example: =MIN(J23,I97,I78)

Cells J23, I97, I78 are all populated by formulas which can sometimes have a blank ("") results.

My problem is that if any of the cells in the MIN formula (cells J23, I97, I78) are blank I get a #VALUE error.

Is there a way to make MIN work with blanks for non-ranged values or is there something I can do to get the same result?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
MIN will ignore text and blank values.

Do you perhaps have #VALUE ! errors in any of those cells that might be hidden by conditional formatting?
 
Upvote 0
I figured out the issue. It was not with the MIN formula but with the WORKDAY formulas I had nested.

What I did have: =MIN(WORKDAY(J23,-1,Holidays!$B$5:$B$34),WORKDAY(I97,-1,Holidays!$B$5:$B$34),WORKDAY(I78,-1,Holidays!$B$5:$B$34))

I changed it to: =WORKDAY(MIN(J23,I97,I78),-1,Holidays!$B$5:$B$34) and it is now working as it should.
 
Upvote 0

Forum statistics

Threads
1,214,515
Messages
6,119,970
Members
448,933
Latest member
Bluedbw

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