ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Date Formula Problem - Leave date blank if Null (https://www.excelbanter.com/excel-worksheet-functions/140264-date-formula-problem-leave-date-blank-if-null.html)

Gayla

Date Formula Problem - Leave date blank if Null
 
I have a multiconditional formula which finds the earliest date of all
entries where all these conditions are met. If an entry does not consist of
all these conditions, I just want the cell left blank. How do I do that? I
have tried putting ,"" at the end of the formula but it still doesnt work.
Any help will be greatly appreciated.
MIN(IF((report!$D$2:$D$3001=$A$3)*(report!$I$2:$I$ 3001=$A$11)*
(report!$J$2:$J$3001=$A14)*(report!$K$2:$K$3001=$A 15)*
(report!$B$2:$B$30010),report!$B$2:$B$3001))

T. Valko

Date Formula Problem - Leave date blank if Null
 
You might be better off using conditional formatting to "hide" the zero. You
could write the blank into the formula but then it'll be twice as long.

=IF((cond1)*(cond2)*(cond3)*(cond4)*(cond5),MIN((c ond1)*(cond2)*(cond3)*(cond4)*(cond5)*rng),"")

Conditional Format:

Select the cell with the formula
Goto FormatConditional Formatting
Formula Is: =cell_ref=0
Set the Font color to be the same as the fill color
Ok out

Biff

"Gayla" wrote in message
...
I have a multiconditional formula which finds the earliest date of all
entries where all these conditions are met. If an entry does not consist
of
all these conditions, I just want the cell left blank. How do I do that?
I
have tried putting ,"" at the end of the formula but it still doesnt work.
Any help will be greatly appreciated.
MIN(IF((report!$D$2:$D$3001=$A$3)*(report!$I$2:$I$ 3001=$A$11)*
(report!$J$2:$J$3001=$A14)*(report!$K$2:$K$3001=$A 15)*
(report!$B$2:$B$30010),report!$B$2:$B$3001))




T. Valko

Date Formula Problem - Leave date blank if Null
 
Eh!

Disregard that formula! See what happens when you're in a hurry to go to
dinner!

Biff

"T. Valko" wrote in message
...
You might be better off using conditional formatting to "hide" the zero.
You could write the blank into the formula but then it'll be twice as
long.

=IF((cond1)*(cond2)*(cond3)*(cond4)*(cond5),MIN((c ond1)*(cond2)*(cond3)*(cond4)*(cond5)*rng),"")

Conditional Format:

Select the cell with the formula
Goto FormatConditional Formatting
Formula Is: =cell_ref=0
Set the Font color to be the same as the fill color
Ok out

Biff

"Gayla" wrote in message
...
I have a multiconditional formula which finds the earliest date of all
entries where all these conditions are met. If an entry does not consist
of
all these conditions, I just want the cell left blank. How do I do that?
I
have tried putting ,"" at the end of the formula but it still doesnt
work.
Any help will be greatly appreciated.
MIN(IF((report!$D$2:$D$3001=$A$3)*(report!$I$2:$I$ 3001=$A$11)*
(report!$J$2:$J$3001=$A14)*(report!$K$2:$K$3001=$A 15)*
(report!$B$2:$B$30010),report!$B$2:$B$3001))






T. Valko

Date Formula Problem - Leave date blank if Null
 
Try it like this (array entered):

=IF(SUM((cond1)*(cond2)*(cond3)*(cond4)*(cond5)),M IN(IF((cond1)*(cond2)*(cond3)*(cond4)*(cond5),rng) ),"")

Biff

"T. Valko" wrote in message
...
Eh!

Disregard that formula! See what happens when you're in a hurry to go to
dinner!

Biff

"T. Valko" wrote in message
...
You might be better off using conditional formatting to "hide" the zero.
You could write the blank into the formula but then it'll be twice as
long.

=IF((cond1)*(cond2)*(cond3)*(cond4)*(cond5),MIN((c ond1)*(cond2)*(cond3)*(cond4)*(cond5)*rng),"")

Conditional Format:

Select the cell with the formula
Goto FormatConditional Formatting
Formula Is: =cell_ref=0
Set the Font color to be the same as the fill color
Ok out

Biff

"Gayla" wrote in message
...
I have a multiconditional formula which finds the earliest date of all
entries where all these conditions are met. If an entry does not
consist of
all these conditions, I just want the cell left blank. How do I do
that? I
have tried putting ,"" at the end of the formula but it still doesnt
work.
Any help will be greatly appreciated.
MIN(IF((report!$D$2:$D$3001=$A$3)*(report!$I$2:$I$ 3001=$A$11)*
(report!$J$2:$J$3001=$A14)*(report!$K$2:$K$3001=$A 15)*
(report!$B$2:$B$30010),report!$B$2:$B$3001))








Gayla

Date Formula Problem - Leave date blank if Null
 
Thanks for the info. I used your first suggestions about the conditional
formatting. I did not think of that. So I just used the option if cell
value =0 then I formatted the font color to match the cell background and it
works great!
Thanks again.

"T. Valko" wrote:

Try it like this (array entered):

=IF(SUM((cond1)*(cond2)*(cond3)*(cond4)*(cond5)),M IN(IF((cond1)*(cond2)*(cond3)*(cond4)*(cond5),rng) ),"")

Biff

"T. Valko" wrote in message
...
Eh!

Disregard that formula! See what happens when you're in a hurry to go to
dinner!

Biff

"T. Valko" wrote in message
...
You might be better off using conditional formatting to "hide" the zero.
You could write the blank into the formula but then it'll be twice as
long.

=IF((cond1)*(cond2)*(cond3)*(cond4)*(cond5),MIN((c ond1)*(cond2)*(cond3)*(cond4)*(cond5)*rng),"")

Conditional Format:

Select the cell with the formula
Goto FormatConditional Formatting
Formula Is: =cell_ref=0
Set the Font color to be the same as the fill color
Ok out

Biff

"Gayla" wrote in message
...
I have a multiconditional formula which finds the earliest date of all
entries where all these conditions are met. If an entry does not
consist of
all these conditions, I just want the cell left blank. How do I do
that? I
have tried putting ,"" at the end of the formula but it still doesnt
work.
Any help will be greatly appreciated.
MIN(IF((report!$D$2:$D$3001=$A$3)*(report!$I$2:$I$ 3001=$A$11)*
(report!$J$2:$J$3001=$A14)*(report!$K$2:$K$3001=$A 15)*
(report!$B$2:$B$30010),report!$B$2:$B$3001))








T. Valko

Date Formula Problem - Leave date blank if Null
 
Yeah, I think that was your best option.

Thanks for the feedback!

Biff

"Gayla" wrote in message
...
Thanks for the info. I used your first suggestions about the conditional
formatting. I did not think of that. So I just used the option if cell
value =0 then I formatted the font color to match the cell background and
it
works great!
Thanks again.

"T. Valko" wrote:

Try it like this (array entered):

=IF(SUM((cond1)*(cond2)*(cond3)*(cond4)*(cond5)),M IN(IF((cond1)*(cond2)*(cond3)*(cond4)*(cond5),rng) ),"")

Biff

"T. Valko" wrote in message
...
Eh!

Disregard that formula! See what happens when you're in a hurry to go
to
dinner!

Biff

"T. Valko" wrote in message
...
You might be better off using conditional formatting to "hide" the
zero.
You could write the blank into the formula but then it'll be twice as
long.

=IF((cond1)*(cond2)*(cond3)*(cond4)*(cond5),MIN((c ond1)*(cond2)*(cond3)*(cond4)*(cond5)*rng),"")

Conditional Format:

Select the cell with the formula
Goto FormatConditional Formatting
Formula Is: =cell_ref=0
Set the Font color to be the same as the fill color
Ok out

Biff

"Gayla" wrote in message
...
I have a multiconditional formula which finds the earliest date of all
entries where all these conditions are met. If an entry does not
consist of
all these conditions, I just want the cell left blank. How do I do
that? I
have tried putting ,"" at the end of the formula but it still doesnt
work.
Any help will be greatly appreciated.
MIN(IF((report!$D$2:$D$3001=$A$3)*(report!$I$2:$I$ 3001=$A$11)*
(report!$J$2:$J$3001=$A14)*(report!$K$2:$K$3001=$A 15)*
(report!$B$2:$B$30010),report!$B$2:$B$3001))











All times are GMT +1. The time now is 11:10 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com