Solved

Trying to make a formula blank.

Posted on 2016-09-13
9
28 Views
Last Modified: 2016-09-13
If the following Ln on a sheet, grabs a value and that value is a Date.

ActiveWorkbook.Names.Add Name:="ColI", RefersToR1C1:="=" & Me.Name & "!R" & Target.Row & "C9" ' LnReqDelDate

however if the cell it is grabbing in column 9 from, is blank it returns:  1900-01-00

I use the formula on =ColI on another sheet to put that value in.
Is there another way to write the formula  =ColI so that if it returns 1900-01-00 (meaning blank) , it can make it ""     ??
0
Comment
Question by:RWayneH
  • 5
  • 4
9 Comments
 
LVL 28

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41796370
Custom format the formula cell with dd/mm/yyyy;; to hide 1900-01-00.
0
 

Author Comment

by:RWayneH
ID: 41796486
I cannot do that.. the required format is yyyy-mm-dd  because if it is not blank it needs to stay and use the date and in that specific reformat.
0
 
LVL 28

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 500 total points
ID: 41796493
That's not the beg deal, you can custom format it with yyyy-mm-dd;;
0
 

Author Comment

by:RWayneH
ID: 41796495
it is already....  I need it to be blank without the 1900-01-00 showing   ""
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:RWayneH
ID: 41796501
any other value is acceptable > today.  I am having issue making the cell = ""
0
 

Author Comment

by:RWayneH
ID: 41796513
ohhhh  hello the suffix of ;;  that worked.  I feel tiny.
0
 
LVL 28

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41796535
Okay I made them bold so that you don't miss the complete syntax.
Glad it worked at last for you.
0
 

Author Closing Comment

by:RWayneH
ID: 41796579
Thanks
0
 
LVL 28

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41796580
You're welcome. Glad to help.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now