Combo of ISBLANK and MIN formula

johns99

Board Regular
Joined
Jun 11, 2013
Messages
223
Office Version
  1. 365
Platform
  1. Windows
Hello,

I used the below formula to pull in the earliest date found in different cells:

=IF(AND(ISBLANK(BC112),ISBLANK(AY112),ISBLANK(AU112),ISBLANK(AQ112),ISBLANK(AM112),ISBLANK(AK112),ISBLANK(AG112),ISBLANK(AC112),ISBLANK(Y112),ISBLANK(U112),ISBLANK(S112),ISBLANK(O112),ISBLANK(M112),ISBLANK(I112)),"",MIN(BC112,AY112,AU112,AQ112,AM112,AK112,AG112,AC112,Y112,U112,S112,O112,M112,I112))

To clarify, this formula works, but I'm wondering if there was an easier way to do this versus doing several ISBLANK formulas.

Thanks in advance,

John
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
what is the purpose of the isblank()s?
 
Upvote 0
So I'm trying to capture the earliest date from the cells referenced in the formula, some of these cells are blank. If I don't use the ISBLANK forumla the earliest date that pulls in is 1/1/1900. So I want to ignore the cells that are blank and only pull the ones that have dates.
 
Upvote 0
the min() function should ignore blank cells and 1/1/1900 equal = 1, not zero.

so, you must have a value of 1 within the range you're applying the min() function.
care to post the data that give the 1/1/1900 ?
 
Upvote 0
Sure, here you go:

Payment DatePayment DatePayment DatePayment DatePayment DatePayment Date
5/1/2017 5/1/2017
1/0/1900
1/0/1900
1/0/1900
1/0/1900
1/0/1900
1/0/1900
5/1/2017 5/1/2017

<colgroup><col span="6"><col></colgroup><tbody>
</tbody>
 
Upvote 0
this is what I got


Book1
ABCDEFG
1Payment DatePayment DatePayment DatePayment DatePayment DatePayment Date
205/01/201705/01/2017
31/0/1900
41/0/1900
51/0/1900
61/0/1900
71/0/1900
81/0/1900
904/01/201705/01/2017
10
1104/01/2017
Sheet1
Cell Formulas
RangeFormula
A11=MIN(A2:G9)
 
Upvote 0

Forum statistics

Threads
1,215,764
Messages
6,126,750
Members
449,335
Latest member
Tanne

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