PC Review


Reply
 
 
=?Utf-8?B?d2lsZGF1aw==?=
Guest
Posts: n/a
 
      7th Nov 2006
HI, I have a spread sheet where I key in a letter in each day against some
ones name I.E. H for Hol S for Sick, What I would like to do is when I key in
five S's, the fith S turns red. any one got any Ideas?.

Thanks in advance Wildauk
 
Reply With Quote
 
 
 
 
Ken Puls
Guest
Posts: n/a
 
      8th Nov 2006
I'd use a conditional format to do that.

Just to illustrate, assume that you are working in A1:E1 (I'll let you
port it to the exact range.)

Select Cell E1 and then go to the Format menu. Choose "Conditional
Formatting". In the box that pops up, change the Condition1 to be
"Formula Is" and enter the following formula:
=COUNTIF(D3:H3,"S")=5

Next, click the Format tab and change the font colour to Red. Click
Okay till you're out.

Enter an S in each cell from A1:E1. As soon as you enter the 5th, E1
should turn red.

Note that this is case sensitive, so you'll need to adjust the formula
if you want to evaluate lower case s's or a mixture. Personally, I'd
throw some data validation on the cells to force my users to enter only
choices that I wanted though.

HTH,

Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca

wildauk wrote:
> HI, I have a spread sheet where I key in a letter in each day against some
> ones name I.E. H for Hol S for Sick, What I would like to do is when I key in
> five S's, the fith S turns red. any one got any Ideas?.
>
> Thanks in advance Wildauk

 
Reply With Quote
 
=?Utf-8?B?d2lsZGF1aw==?=
Guest
Posts: n/a
 
      8th Nov 2006
Thanks Ken I'll Give it a go tomorrow. wildauk

"Ken Puls" wrote:

> I'd use a conditional format to do that.
>
> Just to illustrate, assume that you are working in A1:E1 (I'll let you
> port it to the exact range.)
>
> Select Cell E1 and then go to the Format menu. Choose "Conditional
> Formatting". In the box that pops up, change the Condition1 to be
> "Formula Is" and enter the following formula:
> =COUNTIF(D3:H3,"S")=5
>
> Next, click the Format tab and change the font colour to Red. Click
> Okay till you're out.
>
> Enter an S in each cell from A1:E1. As soon as you enter the 5th, E1
> should turn red.
>
> Note that this is case sensitive, so you'll need to adjust the formula
> if you want to evaluate lower case s's or a mixture. Personally, I'd
> throw some data validation on the cells to force my users to enter only
> choices that I wanted though.
>
> HTH,
>
> Ken Puls, CMA - Microsoft MVP (Excel)
> www.excelguru.ca
>
> wildauk wrote:
> > HI, I have a spread sheet where I key in a letter in each day against some
> > ones name I.E. H for Hol S for Sick, What I would like to do is when I key in
> > five S's, the fith S turns red. any one got any Ideas?.
> >
> > Thanks in advance Wildauk

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Look Up challenge Guntars Microsoft Excel Worksheet Functions 3 25th May 2009 04:12 AM
A challenge for you... Steve Microsoft Access 2 19th Oct 2005 09:44 AM
A challenge for you... Steve Microsoft Access Queries 2 19th Oct 2005 09:44 AM
Challenge - Please Help! couger77 Microsoft Excel Worksheet Functions 5 30th Dec 2003 10:17 PM
Re: A Challenge Vince Averello [MVP-Outlook] Microsoft Outlook Calendar 0 23rd Aug 2003 09:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:32 PM.