#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Master List

Many thanks to: Ron Coderre, Peo Sjoblom, CLR Pete_UK and Rick Rothstein
(MVP-VB)
I'm trying out ALL of your suggestions.
I've obviously come to the right place.
Thanks again.
-Kevin

"Rick Rothstein (MVP - VB)" wrote in
message ...
Although not what you asked for, you may want to consider this alternative
approach. Instead of flagging invalid numbers with the word "Invalid",
what about if you highlight invalid entries by shading the cell it is
in... or, perhaps, changing the color of its text. Give this a try...
highlight the range of cells A1:A24 and click on...

Format/Conditional Formatting

in Excel's menu. Select "Formula Is" in the first drop-down box and paste
this formula...

=AND(NOT(COUNTIF(MasterList,A1)),A1<"")

in the next field. Now, click the Format button and pick a method of
display you want to see for your invalid values. For example, to turn the
text for invalid entries red, click the Font tab and pick a red color from
the Color drop down. (You can experiment with the other possible cell
formats in case you don't like the text color option.) Okay your way back
to the spreadsheet. Now, enter valid and invalid entries in the A1:A24 to
see the effect.

Rick


"Kevin" wrote in message
...
Dear NG:

Is there any way to have Excel check numbers being entered into a range
against a master list of numbers.

Lets say the master list is a named range MasterList (=Sheet1!$H$1:$H$10)
consisting of 10 sequential numbers from 70 thru 79.

Any data entered into named range PartNumberList (=Sheet1!$A$1:$A$24)
must be checked against the master list.

Any number entered into PartNumberList that IS listed in MasterList is
just displayed normally as the number itself.

Any number entered into PartNumberList that is NOT in MasterList is
displayed as the number itself but ammended with "Invalid"

I'm sensing some sort of convoluted IF statement.

Thanks for any help with this.

-Kevin




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
How do I make a master look-up list in Excel? Paco3517 New Users to Excel 6 April 23rd 07 01:54 PM
create a master list from other sheets ADK Excel Worksheet Functions 0 April 17th 07 08:05 PM
Reference every 4th row from a master list of modifiable length RiotLoadTime Excel Discussion (Misc queries) 2 August 2nd 06 04:52 PM
Update master list with other lists Chab Excel Worksheet Functions 0 August 4th 05 03:46 PM
Is it possible to setup a self-updating master list? my brain hurts Excel Discussion (Misc queries) 1 July 29th 05 07:17 PM


All times are GMT +1. The time now is 11:25 AM.

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"