rks Data Validation

R

RKS

Hi
I am entered 4 digit number in cell A2. i wnts when i entered number in cell
a2 its asked the number which catageory like abc, if a then show number*, if
b thn number show in cell number** otherwise normal number which i type.
witout selection cant go other cell. how is possible, pls help me
RKS
 
D

Dave Peterson

I bet you could do something like this, but I wouldn't.

Instead, I'd use multiple columns.

The 4 digit number goes into column A (say A2), the category goes into column B
(B2) and the results (or warning message) goes into column C (C2).

The formula in C2 would be:
=IF(A2="","",IF(B2="","Error: Please enter a category in column B",
IF(OR(B2={"a","b","c"}),B2,A2)))

You could use Data|Validation (xl2003 menus) to limit the choices in both column
A and column B.

Debra Dalgleish has some notes on data|validation starting here:
http://contextures.com/xlDataVal01.html

And you could use Format|Conditional formatting to make the error message show
up in big, bold, red letters.

Debra has some notes here:
http://contextures.com/xlCondFormat01.html

=======
ps. If the list of categories gets large, you may be better using another
formula in column C.

Maybe you could create a table somewhere and check the values that should be
used instead of the real number.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

sumif with multiply-rks 7
very urgent (advance filter) 5
more condition 2
Conditional 1
Data Validation 6
Data Validation? 2
Refresh - Value not refresh (URGENT) 3
Validation 3

Top