Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default How to hide day

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


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default How to hide day

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.

--
Biff
Microsoft Excel MVP


"sureshift" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 461
Default How to hide day

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.

"sureshift" wrote:

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



  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default How to hide day

=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


On Fri, 8 Feb 2008 16:00:05 +1100, "sureshift" wrote:

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


  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default How to hide day

Using the default 1900 date system

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

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
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.

--
Biff
Microsoft Excel MVP


"sureshift" wrote in message
...
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







  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default How to hide day

Thanks for your help it worked..
"sureshift" wrote in message
...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide Unhide Hide again DTTODGG New Users to Excel 1 February 15th 06 03:22 PM
Hide #N/A Scott Excel Discussion (Misc queries) 2 October 18th 05 07:42 PM
hide #VALUE! Jim Excel Worksheet Functions 1 January 10th 05 04:25 PM
How do I hide a worksheet in Excel and use a password to un-hide . Dchung Excel Discussion (Misc queries) 3 December 2nd 04 06:24 AM
how to hide #N/A's? Todd Excel Worksheet Functions 11 November 8th 04 04:34 PM


All times are GMT +1. The time now is 11:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"