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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
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:

[TABLE="width: 460"]
<colgroup><col span="6"><col></colgroup><tbody>[TR]
[TD]Payment Date[/TD]
[TD]Payment Date[/TD]
[TD]Payment Date[/TD]
[TD]Payment Date[/TD]
[TD]Payment Date[/TD]
[TD]Payment Date[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5/1/2017[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]5/1/2017[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]1/0/1900[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]1/0/1900[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]1/0/1900[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]1/0/1900[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]1/0/1900[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]1/0/1900[/TD]
[/TR]
[TR]
[TD]5/1/2017[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]5/1/2017[/TD]
[/TR]
</tbody>[/TABLE]
 
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,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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