P. 1
EXCEL Advanced Lessons - Collection 1

EXCEL Advanced Lessons - Collection 1

Ratings: (0)|Views: 319|Likes:
Published by banglecowboy
This covers some advance lessons in MS EXCEL
This covers some advance lessons in MS EXCEL

More info:

Published by: banglecowboy on Mar 13, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

12/10/2012

pdf

text

original

 
Putting a DropDown ListBox in a Cell
A single cell (
or even an entire column
) can be given a data
validation
setting so that,when selected, a dropdown list appears with a finite list the possible entries for thatrange.To create a dropdown list, restricting entries in a range to those values, follow thesesteps:1.Select the range that is to contain the validation dropdown listbox. This may beeither a single cell or a larger range, such as an entire column.2.From the
Data
menu, choose
Validation
.3.On the
Settings
tab, in the
Allow
dropdown list, select
List
.4.The
Source
box can refer to a range of cells for its values, or it can contain themdirectly.
o
... a
direct
list :You may type the source list directly in the
Source
box.In this example, the list is simply days of the week, separated by commas. Notice there are no quotes around the text.
 
o
... a
referenced
list :Click in the
Source
box, and then either type a range reference manually[ preceded by an = (
equals
) sign ] or use the mouse to select a range on thesame worksheet that has the source list of possible entries.If a user tries to manually enter anything other than these values, a stop message appearsand will not allow the cell to keep the invalid entry. The only options for the user will beto
Retry
or 
Cancel
.It will be possible to make valid entries (i.e., MON, TUE, WED,
etc
.) manually in a cellto which this validation setting has been applied; a user is not required to actually selectthese values from the list.Some Possible "
Gotchas
"
 
Validation does not look at what is already in the cell.
It is not case sensitive:
WED
,
Wed
, or 
wed
, are all treated the same.
It does not look at entries made through VBA procedures.
If users copy or autofill data in restricted cells, error messages don't appear, andincorrect data may be placed in the cells.If a range is pasted over this way, it's validation properties are removed.Locking the range and protecting the worksheet help prevent this problem.
An error will occur when selecting a validation dropdown if all of the followingconditions are present:
o
the cell containing the validation dropdown is locked;
o
the worksheet is protected;
o
the source values for the validation dropdown is a direct list.... Possible workarounds are:
o
unlock the range containing the validation dropdown list
o
set the validation dropdown list to refer to a range for its source values,instead of a direct list.It helps as much as anything is to employ this feature in ways where the user is apt toenter data directly. Properly applied, validation dropdown lists can be used to enable easeand consistancy of data entry.

Activity (27)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
ammargeol liked this
Rishendy liked this
Aman Singh liked this
vamsidhar_1978 liked this
abdollah vaezi liked this
mld54321 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->