Excel formula for blank cell

Sivas

New Member
Joined
Aug 29, 2018
Messages
20
Need a help on Excel Formula.

I have 2 columns, Column A & Column B.

Column A has date in it as 3/5/2019. if there is date, Column B should return as 05-Mar. If Column A is blank, Column B should be blank.

I have a formula as

=IF(ISBLANK(A10)," ",IF(A10="Yes","No"))

but it is not giving correct answer. Can anyone help on this formula.


<tbody>
</tbody>
 

Some videos you may like

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,110
Office Version
  1. 365
Platform
  1. Windows
Presuming its just formatting in column B that changes the look of the date its:

=IF(A10="","",A10)
 

Sivas

New Member
Joined
Aug 29, 2018
Messages
20
Thank you for the reply.

But if Column A is blank, the column B is not getting blank.
 

tyija1995

Well-known Member
Joined
Feb 26, 2019
Messages
766
Office Version
  1. 365
Platform
  1. Windows
Try this in B10:

=IF(ISBLANK(A10),"",A10)

Then format B10 in dd-mmm format
 

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,110
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

Thank you for the reply.

But if Column A is blank, the column B is not getting blank.

What does that mean? What is in A10 and what is the formula producing?
 

pedro-egoli

Well-known Member
Joined
Apr 25, 2004
Messages
1,200
Office Version
  1. 2016
Platform
  1. Windows
What is cell A10 with the date 3/5/2019 formatted as?
In Australia that date is equivalent of 3rd of May .
You probably need to play around with custom formatting.
 

pedro-egoli

Well-known Member
Joined
Apr 25, 2004
Messages
1,200
Office Version
  1. 2016
Platform
  1. Windows
I have assumed your exercise is in cells A10 and B10.
Excel Workbook
AB
103/05/20193-May
Sheet1



A10 is formatted simply as DATE
B10 is custom formatted as d/mmm
 

Watch MrExcel Video

Forum statistics

Threads
1,108,923
Messages
5,525,651
Members
409,658
Latest member
Yardcell

This Week's Hot Topics

Top