Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent Excel Worksheet from displaying formula bar 6

Status
Not open for further replies.

aug4570

Technical User
Jul 6, 2000
74
US
Hi,

Does anyone know how to prevent the formula bar from being viewed by the user? The protect worksheet does not work for this feature.

Also anyone have a formula to convert a calendar date to a Julian date?

Thanks
 
Additional clarification: I want to prevent the user from acessing Tools/Options and selecting the formula bar status.

Thanks again.
 
If, before protecting the worksheet, you Format Cells, select the Protection tab and check the Hidden checkbox, any formulas should be invisible once the worksheet is protected.

A.C.
 
Thanks Acron,
That works.

Now does anyone have a formula that will convert a calendar date to a julian date?
 
Hello Aug,

The following formula will convert a standard Excel date in A1 to a Julian Date:

=RIGHT(YEAR(A1),2)&TEXT(A1-DATE(YEAR(A1),1,0),"000")

I hope this helps.

-Bob in California
 
To insert the current day in "Julian" format, with a two-digit year, enter the following formula.

=TEXT(TODAY(),"yy")&TEXT((TODAY()-DATEVALUE("1/1/"&TEXT(TODAY(),"yy"))+1),"000")

To insert the current day in "Julian" format, with a four-digit year, enter the following formula.

=TEXT(TODAY(),"yyyy")&TEXT((TODAY()-DATEVALUE("1/1/"&TEXT(TODAY(),"yy"))+1),"000")

To convert the date in cell A1 to "Julian" format, with a two-digit year, enter the following formula.

=TEXT(A1,"yy")&TEXT((A1-DATEVALUE("1/1/"&TEXT(A1,"yy"))+1),"000")

To convert the date in cell A1 to "Julian" format, with a four-digit year, enter the following formula.

=TEXT(A1,"yyyy")&TEXT((A1-DATEVALUE("1/1/"&TEXT(A1,"yy"))+1),"000")

 
Thanks Bob and Hasit, that helped me. Appreciate the info, your help, and definitely this valuable site!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top