Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
1 column alpha list in excel to print to 2 columns | Excel Worksheet Functions | |||
Formula to check against a list of valid values | Excel Worksheet Functions | |||
Check 2 different list get associated value from a column | Excel Worksheet Functions | |||
Check for Alpha characters | Excel Discussion (Misc queries) | |||
How do I check for values in a list in an if statement? | Excel Discussion (Misc queries) |