Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2007

Tip: Looking for answers? Try searching our database.

Defauls Values In Empty Cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chrysler265 - 16 Feb 2007 11:04 GMT
How do I set a default value which has no data imported into it?
JLatham - 16 Feb 2007 15:10 GMT
Explain a little more about your needs, please.

By definition a cell with no data imported into it has no value.  It is
Empty.  You cannot control Excel's default cell contents, as when a new sheet
is entered.

There are things that can be done via macros, and some things that can be
done with worksheet functions, such as putting this formula in a cell (it
could go into any cell except B1 itself:
=IF(B1=9,"B1 is 9","B1 is not 9")
you can substitute other phrases for what is in that example, or even
values, as:
=IF(B1=9,14,"")
which would display 14 when cell B1 has 9 in it, and not display anything
when B1 does not have 9 in it.  You can even use the contents of other cells
as either of the parameters, like this:
=IF(B1=9, H4, J12)
so when B1=9, the cell with this formula in it would display the contents of
H4 otherwise it would display the contents of J12.

You can mix and match text, values and cell references within the IF
statement.

> How do I set a default value which has no data imported into it?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.