How to hide day

S

sureshift

I have this equation.
=Text(f1,"DDDD") Which comes out as 3/1/08 Thursday.
How do I get it to come up blank till I put in a date.
At the moment it comes up like this.
3/1/08 Thursday
Friday
Friday
Thanks in advance Larry
 
T

T. Valko

Hmmm...

To answer your question, try it like this:

=IF(F1="","",TEXT(F1,"dddd"))

You must be using a date format of d/m/yy. Also, you must be using the 1904
date system. Using the default 1900 date system an empty cell will evaluate
to weekday Saturday. Using the 1904 system an empty cell evaluates to
weekday Friday.
 
A

akphidelt

Try this, im assuming you are using that formula and dragging it down across
multiple rows... so in F1 put the formula

=IF(OR(F1=0,F1=""),"",TEXT(F1,"dddd"))

Then drag and drop that formula.
 
G

Gord Dibben

=IF(F1="","",TEXT(F1,"DDDD"))

BTW "DDDD" will show Thursday only

If you want 3/1/08 Thursday, use "d/m/yy DDDD"


Gord Dibben MS Excel MVP
 
T

T. Valko

Using the default 1900 date system

That would be for Wintel machines. I guess the 1904 date system is the
default for Macs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top