LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default rks Data Validation

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 he
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 he
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.

RKS wrote:

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


--

Dave Peterson
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
How do I get a Data validation list to select another validation l langston35 New Users to Excel 1 September 28th 09 08:38 AM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


All times are GMT +1. The time now is 05:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"