Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Check for list of 3 values (alpha) in a column


I have rotas on Excel sheets and need to check set cells in columns (ie
B3:B15) to check that there is a 'L' a 'N' and a 'E' in the cells to
show there is minimum cover for the shifts. A tick or something to show
yes no etc is what I am after.
I cant work out a macro to do this and I have no VB experience. If this
is already covered elsewhere, (I looked but cant find it.) I apologise
and please point me in the direction of that post.
Thanks in advance.
Col


--
GeeSexAah
------------------------------------------------------------------------
GeeSexAah's Profile: http://www.excelforum.com/member.php...o&userid=16720
View this thread: http://www.excelforum.com/showthread...hreadid=319271

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Check for list of 3 values (alpha) in a column

Hi Col

personally, i'ld use Conditional Formatting for this as it's very "visible"

select the range (B3:B15) and choose format / conditional formatting
choose
formula is
and type in the box
=OR(COUNTIF($B$3:$B$15,"L")=0,COUNTIF($B$3:$B$15," N")=0,COUNTIF($B$3:$B$15,"E")=0)
click on the format button, go to the patterns tab and choose a background
colour which you want to display when you don't have a L N or E in the
range (you can also set the font colour under the font tab)

click Ok twice.

Hope this helps
Cheers
JulieD

"GeeSexAah" wrote in message
...

I have rotas on Excel sheets and need to check set cells in columns (ie
B3:B15) to check that there is a 'L' a 'N' and a 'E' in the cells to
show there is minimum cover for the shifts. A tick or something to show
yes no etc is what I am after.
I cant work out a macro to do this and I have no VB experience. If this
is already covered elsewhere, (I looked but cant find it.) I apologise
and please point me in the direction of that post.
Thanks in advance.
Col


--
GeeSexAah
------------------------------------------------------------------------
GeeSexAah's Profile:
http://www.excelforum.com/member.php...o&userid=16720
View this thread: http://www.excelforum.com/showthread...hreadid=319271



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Check for list of 3 values (alpha) in a column

GeeSexAah wrote:
I have rotas on Excel sheets and need to check set cells in columns (ie
B3:B15) to check that there is a 'L' a 'N' and a 'E' in the cells to
show there is minimum cover for the shifts. A tick or something to show
yes no etc is what I am after.
I cant work out a macro to do this and I have no VB experience. If this
is already covered elsewhere, (I looked but cant find it.) I apologise
and please point me in the direction of that post.


I don't know what rotas are, but maye you can use this:
=IF(ISNUMBER(MATCH(B3,{"L","N","E"},0)),"Yes","No" )
in the worksheet (copy down for 13 answers).x


----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
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
1 column alpha list in excel to print to 2 columns AngelWorks Excel Worksheet Functions 1 April 1st 08 04:23 AM
Formula to check against a list of valid values Barb W[_2_] Excel Worksheet Functions 3 March 4th 08 06:51 PM
Check 2 different list get associated value from a column deja Excel Worksheet Functions 1 April 20th 06 04:11 AM
Check for Alpha characters TimE Excel Discussion (Misc queries) 4 November 10th 05 12:31 AM
How do I check for values in a list in an if statement? DJC Excel Discussion (Misc queries) 1 July 27th 05 07:13 PM


All times are GMT +1. The time now is 03:44 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"