Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Arvi Laanemets
 
Posts: n/a
Default Excel2000: Data Validation to restrict entries

Hi

Somehow I get out of ideas!
I have a table on sheet Normatives:
ArticleNo ValidFrom ValidTo Normative
(CharNum) (Date) (Date) (Time)

The article column uses data validation, so I can't restrict there anything.
But I want to limit entries into columns ValidFrom and ValidTo and Normative
columns.
1. When ArticleNo is empty, no entries into ValidTo or ValidFrom is allowed;
2. When ValidFrom is empty, no entry into ValidTo is allowed;
3. ValidTo is always = ValidFrom, or empty. The last means, that the
normative is valid now (when ValidFrom is not empty), or that the normative
isn't determined (when ValidFrom is empty);
4. When same ArticleNo exist in table, an entry into ValidFrom is allowed
only, when for all other instances of article, ValidTo is not empty (all
other normatives must be 'closed');
6. When entering a new value into ValidFrom, it must not fall into any
ValidFrom-ValidTo date interval for other instances of same article (when
there is empty ValidTo with non-empty ValidFrom present, then ValidTo is
counted as TODAY());
7. The same as p.6 for ValidTo
8. No entry into Normative is allowed, until there is some non-empty value
in ValidFrom, and there is only one empty ValidTo, for this article.

To make it short - no overlaying normative intervals are allowed for same
article.

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


Reply
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
Effect of Conditional Formatting, Data Validation Bill Sturdevant Excel Discussion (Misc queries) 1 January 25th 05 11:50 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Data Validation Window? Ken Excel Discussion (Misc queries) 1 January 11th 05 10:48 PM
Excel2000: Custom data validation and named ranges Arvi Laanemets Excel Discussion (Misc queries) 9 December 10th 04 07:05 PM
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? Arvi Laanemets Excel Discussion (Misc queries) 0 December 2nd 04 11:29 AM


All times are GMT +1. The time now is 01:58 PM.

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

About Us

"It's about Microsoft Excel"