ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Show day or empty cell (https://www.excelbanter.com/excel-discussion-misc-queries/199170-show-day-empty-cell.html)

KrisP

Show day or empty cell
 
Hello,
Im using the formula =TEXT(A1, "ddd") to show the day from a date. How can
I make it show an empty cell if there is nothing in cell A1?
Sorry for the simply question, I'm new to this!

Many thanks in advance

Mike H

Show day or empty cell
 
try,

=IF(A1="","",TEXT(A1, "ddd"))

Mike

"KrisP" wrote:

Hello,
Im using the formula =TEXT(A1, "ddd") to show the day from a date. How can
I make it show an empty cell if there is nothing in cell A1?
Sorry for the simply question, I'm new to this!

Many thanks in advance


joel

Show day or empty cell
 
=if(A1<"",TEXT(A1, "ddd"),"")


"KrisP" wrote:

Hello,
Im using the formula =TEXT(A1, "ddd") to show the day from a date. How can
I make it show an empty cell if there is nothing in cell A1?
Sorry for the simply question, I'm new to this!

Many thanks in advance


Mike H

Show day or empty cell
 
You may wish to consider this formula instead of what you are using. It has
the advantage of being easier to perform calculations on

=IF(A1="","",WEEKDAY(A1))

Mike

"Mike H" wrote:

try,

=IF(A1="","",TEXT(A1, "ddd"))

Mike

"KrisP" wrote:

Hello,
Im using the formula =TEXT(A1, "ddd") to show the day from a date. How can
I make it show an empty cell if there is nothing in cell A1?
Sorry for the simply question, I'm new to this!

Many thanks in advance


KrisP

Show day or empty cell
 
Thanks to both of you, thats great.

"KrisP" wrote:

Hello,
Im using the formula =TEXT(A1, "ddd") to show the day from a date. How can
I make it show an empty cell if there is nothing in cell A1?
Sorry for the simply question, I'm new to this!

Many thanks in advance



All times are GMT +1. The time now is 06:40 PM.

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