A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Multiple values in a single cell, and validation



 
 
Thread Tools Display Modes
  #1  
Old December 5th, 2003, 07:51 PM
Harlan Grove
external usenet poster
 
Posts: n/a
Default Multiple values in a single cell, and validation

"=?Utf-8?B?SWx5YSBCYWltZXRvdg==?=" wrote...
My worksheet represents a list of entities E1, anb each E1 can have multiple
of other entities E2 associated withit. The most straight-forward way to do it
would be to have multiple values in cell - something like {e21, e22, e23,
e24}. Te problem I have is validation - I want to validate user's input so
that e2x can only be one of the E2 entities defined in another worksheet. So
far, I was nto able to come up with validation formula that validates an array
of values.


You'll find it MUCH SIMPLER to work with these sorts of entries if you use
multiple adjacent columns to hold separate, individual entity codes. Parsing
multiple entity codes out of a single cell is difficult (not impossible), and
trying to apply validation to such entries would be even more difficult,
especially if you try to use Data Validation to do so because that facility
can't tell users which of possibly several entries are invalid.

If you care about making your users' lives easier, never deviate from one entry
per cell - ever.

--
Never attach files.
Snip unnecessary quoted text.
Never multipost (though crossposting is usually OK).
Don't change subject lines because it corrupts Google newsgroup archives.
  #2  
Old December 5th, 2003, 07:58 PM
Peo Sjoblom
external usenet poster
 
Posts: n/a
Default Multiple values in a single cell, and validation

Just put each value in a separate cell, name the range and refer to it under
allowlist,assume you select the range and call it MyRange, then in
datavalidation on the other sheet use allowlist and in the list source box
put

=MyRange




--

Regards,

Peo Sjoblom


"Ilya Baimetov" wrote in message
...
My worksheet represents a list of entities E1, anb each E1 can have

multiple of other entities E2 associated withit. The most straight-forward
way to do it would be to have multiple values in cell - something like {e21,
e22, e23, e24}. Te problem I have is validation - I want to validate user's
input so that e2x can only be one of the E2 entities defined in another
worksheet. So far, I was nto able to come up with validation formula that
validates an array of values.

- Ilya



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.