Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default case sensitivity check for List values

hi,

i have a list of values something like this..
"Priority"----this is the header.
Blocking
High
Medium
Low
i have deifned a name for this list. A column of cells can contain
only these values, user have been provided dropdown for selecting from
this list.

but the problem is...if a user types "blocking" instead of selecting
"Blocking" from the dropdown, the cell takes a value as "blocking"
and never prompt it as an error. I have written a perl script that
reads these values and puts them in the database. the database
integrity goes for a toss if this value is put in it.
Is there a way or a macro(that can be written)to provide a check for
case sensitivity...?
I also have other lists that dont fit the PROPER, UPPER OR LOWER case
the list can be a mixture of all these..

to make matters worse i am new to using excel and have very faint idea
about writing excel macros..
Please HELP...

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default case sensitivity check for List values

You could try a formula in the DV like so

=EXACT(L1,INDEX(O:O,MATCH(L1,O:O,0)))

where L1 is the DV cell, O is where the list is held.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



wrote in message
ups.com...
hi,

i have a list of values something like this..
"Priority"----this is the header.
Blocking
High
Medium
Low
i have deifned a name for this list. A column of cells can contain
only these values, user have been provided dropdown for selecting from
this list.

but the problem is...if a user types "blocking" instead of selecting
"Blocking" from the dropdown, the cell takes a value as "blocking"
and never prompt it as an error. I have written a perl script that
reads these values and puts them in the database. the database
integrity goes for a toss if this value is put in it.
Is there a way or a macro(that can be written)to provide a check for
case sensitivity...?
I also have other lists that dont fit the PROPER, UPPER OR LOWER case
the list can be a mixture of all these..

to make matters worse i am new to using excel and have very faint idea
about writing excel macros..
Please HELP...



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
Case sensitivity of functions in Excel Raj[_2_] Excel Worksheet Functions 2 June 2nd 10 03:12 AM
Differentiating Case Sensitivity in a Vlookup Cadders Excel Discussion (Misc queries) 4 September 3rd 09 04:23 PM
Case Sensitivity in Lookup Functions TISI-84601 Excel Worksheet Functions 4 July 22nd 08 10:57 PM
VLookup & Case Sensitivity KHogwood-Thompson Excel Worksheet Functions 4 August 11th 06 09:29 AM


All times are GMT +1. The time now is 01:13 AM.

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"