Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 391
Default Data Validation Again

why are you using a cutom enrty?
You simply want someboy to choose a value form the list,
so set the datavalidation to LIST and in the source type

=valList


Patrick Molloy
Microsoft Excel MVP

-----Original Message-----
Hi all,

I have the following Data Validation as per a reply to

my
ptrev query

Step1:
Create a defined name for the list on sheet2
(for the example i made it a dynamic name, but it could
be fixed )
valList =OFFSET(IncomeData!$D$1,1,0,COUNTA(IncomeData!
D:D)-1)


Step2:
Define Validation on Sheet Income for Cell $c$7 as

custom:
=COUNTIF(valList;$D$7)=0

and I have error Message to say "That Number already
entered"

when I enter a number which already exists in my ValList
it gives me my custom error mesage with two buttons "OK"
and "CANCEL" and when I select Ok it accepts the number
and moves to the next cell instead of not accepting that
number ..???!!!!

what would be the possible cause?

TIA
Soniya



.

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
custom data validation on cells with data validation values AKrobbins Excel Worksheet Functions 2 June 21st 11 04:20 PM
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
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 02:02 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"