MIN formula leave blank if range of cell is empty

jessamarie

New Member
Joined
Apr 26, 2018
Messages
6
Hi everyone,

Hope anyone can help me with my problem.
I want my A1 cell to be blank if the range of A2:A6 has no value..
My existing formula is just this =MIN(A2:A6) it works when there is a date specified in the cell, but when it does not have a date specified therein it my A2 cell only reflect 00 Jan 1990.

Thank you all in advance. :):)
 
You may also try the following one
Code:
=TEXT(MIN(A2:A6),"0;;")
 
Upvote 0
Thank you! It works perfectly. I but I have another problem encountered after using the formula,
In my A1 cell (Actual Date Started), and B1 (Actual End ) and in C1 (# actual days),

Below is my formula;

A1 Formula: =if(min(a2:a6)=0,"",min(a2:a6))
B1 Fo
rmula: =if(max(b2:b6)=0,"",max(b2:b6))
C1 Formula: =
=IF(OR(ISBLANK(a1),ISBLANK(b1)),"",b1-a1+1)

It works perfectly fine when the cells in A2:A6 and B2:B6 has dates, but when it does not have any dates specified therein, the cell in C1 just appears #VALUE !

Hope to hear from you soonest.
 
Upvote 0
Thank you! It works perfectly. I but I have another problem encountered after using the formula,
In my A1 cell (Actual Date Started), and B1 (Actual End ) and in C1 (# actual days),

Below is my formula;

A1 Formula: =if(min(a2:a6)=0,"",min(a2:a6))
B1 Fo
rmula: =if(max(b2:b6)=0,"",max(b2:b6))
C1 Formula: =
=IF(OR(ISBLANK(a1),ISBLANK(b1)),"",b1-a1+1)

It works perfectly fine when the cells in A2:A6 and B2:B6 has dates, but when it does not have any dates specified therein, the cell in C1 just appears #VALUE !

Hope to hear from you soonest.
 
Upvote 0
Thank you, If it's not too much to ask, please help me with one more problem.

I want to compute the percentage of the ff.
A1- Plan Start (date)
B1- Plan End (Date)
C1- Actual Start (Date)
D1- Actual End (Date)

I want to make a formula wherein I can compute the percent of Progress of my project
 
Upvote 0
Thank you,

You are welcome.

If it's not too much to ask, please help me with one more problem.

I want to compute the percentage of the ff.
A1- Plan Start (date)
B1- Plan End (Date)
C1- Actual Start (Date)
D1- Actual End (Date)

I want to make a formula wherein I can compute the percent of Progress of my project

Care to provide an example how it is manually computed?
 
Upvote 0
This is the formula i use, and I am not sure if its correct coz sometimes the percentage exceeds to 100%
=SUMPRODUCT(A10:B16)/SUMPRODUCT(C10:D16) . I wanted to email you my excel format as I cannot explain thoroughly, I dont know how to attached image on this thread.
 
Upvote 0

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