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>
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,713
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
781
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,713
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,217
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,217
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,485
Messages
5,831,965
Members
430,098
Latest member
bemmelen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top