Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default If a column contains only 1 lowest score...

Please help me do the following...

If a column data contains only 1 "lowest value", then change that cell
"background color" to "yellow" and the font to "red bold", else do "nothing".


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default If a column contains only 1 lowest score...

Jerry,

Select your cell:-

Format|conditional formula|Cell value is|Equal to
enter a 1 in the next field
Set you cell colour, font colour and bold by pressing the Format button.

This format can be painted into other rcells using the format painter.

Mike

"JerryW" wrote:

Please help me do the following...

If a column data contains only 1 "lowest value", then change that cell
"background color" to "yellow" and the font to "red bold", else do "nothing".


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default If a column contains only 1 lowest score...

Try this:

Select the range of cells to be impacted
(I'll assume A1:A10, with A1 as the active cell)

From the Excel main menu:
<format<conditional formatting
Formula is: =AND(COUNTIF($A$1:$A$10,MIN($A$1:$A$10))=1,A1=MIN( $A$1:$A$10))
Click the [format] button and set the pattern and font
Click the [OK] buttons

Adjust range references to suit your situation.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"JerryW" wrote:

Please help me do the following...

If a column data contains only 1 "lowest value", then change that cell
"background color" to "yellow" and the font to "red bold", else do "nothing".


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default If a column contains only 1 lowest score...

In playing with various combinations of numbers, blanks and text, my posted
CF formula can fail.

This one works much better:
=AND(A1=MIN(A$1:A$10),A1<"",COUNTIF(A$1:A$10,A1)= 1)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Ron Coderre" wrote:

Try this:

Select the range of cells to be impacted
(I'll assume A1:A10, with A1 as the active cell)

From the Excel main menu:
<format<conditional formatting
Formula is: =AND(COUNTIF($A$1:$A$10,MIN($A$1:$A$10))=1,A1=MIN( $A$1:$A$10))
Click the [format] button and set the pattern and font
Click the [OK] buttons

Adjust range references to suit your situation.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"JerryW" wrote:

Please help me do the following...

If a column data contains only 1 "lowest value", then change that cell
"background color" to "yellow" and the font to "red bold", else do "nothing".


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default If a column contains only 1 lowest score...

What do you mean by "lowest value"? Do you mean if there is only one
minimum in the range then colour it, but if there are, say, 3 cells
which are all minima then don't bother?

Pete

On Jul 4, 8:58 pm, JerryW wrote:
Please help me do the following...

If a column data contains only 1 "lowest value", then change that cell
"background color" to "yellow" and the font to "red bold", else do "nothing".





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default If a column contains only 1 lowest score...

Try this:

Assume the range of interest is A1:A10
Select the range A1:A10
Goto the menu FormatConditional Formatting
Formula Is:
=AND(ISNUMBER(A1),COUNTIF(A$1:A$10,A1)=1,A1=MIN(A$ 1:A$10))
Click the Format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP


"Pete_UK" wrote in message
oups.com...
What do you mean by "lowest value"? Do you mean if there is only one
minimum in the range then colour it, but if there are, say, 3 cells
which are all minima then don't bother?

Pete

On Jul 4, 8:58 pm, JerryW wrote:
Please help me do the following...

If a column data contains only 1 "lowest value", then change that cell
"background color" to "yellow" and the font to "red bold", else do
"nothing".





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default If a column contains only 1 lowest score...

Ooops!

Replied to the wrong post!

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try this:

Assume the range of interest is A1:A10
Select the range A1:A10
Goto the menu FormatConditional Formatting
Formula Is:
=AND(ISNUMBER(A1),COUNTIF(A$1:A$10,A1)=1,A1=MIN(A$ 1:A$10))
Click the Format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP


"Pete_UK" wrote in message
oups.com...
What do you mean by "lowest value"? Do you mean if there is only one
minimum in the range then colour it, but if there are, say, 3 cells
which are all minima then don't bother?

Pete

On Jul 4, 8:58 pm, JerryW wrote:
Please help me do the following...

If a column data contains only 1 "lowest value", then change that cell
"background color" to "yellow" and the font to "red bold", else do
"nothing".







  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default If a column contains only 1 lowest score...

Thanks to all of you that replied to my 1st ever, excel posting. Based on
your responses I think that your answers were very helpful. However, I
believe that I need to make my question clearer and more detailed. What I
believe I need here is to create a FUNCTION. So here goes my description€¦

What I have here is a €śgolf score sheet€ť which does many, many tasks. In
this current task, I need to identify the €ślowest score€ť on any of the 18
holes, which are NOT equaled by any of the other 32 players in the field.
(Two tie€¦ All tie.)

If no other player has €śtied€ť the €ślowest€ť score on any given hole, then I
need to highlight that cell by changing the €śbackground€ť color and increase
the font size and also change it to €śred€ť.

There are €śalways€ť 32 rows of players, (Not more OR less.), followed by
columns 1-9, €śskip€ť a column, and then holes 10-18. (Some lower column cells
may be €śblank€ť, due to less than 32 palyers.)

The following function (NOT WRITTEN BY ME), is used to compute €śCalcutta
Points€ť, (This may give you a general idea as to what the spreadsheet looks
like.) and is based on the following values:

2 under par or better = 8 pts.
1 under par = 5 pts.
Par = 3 pts.
Bogey = 2 pts.
And Double Bogey = 1 pt.
Any other scores greater than Double Bogey = 0 pts.

+++++++++++++++++++++++++++++++++++++++++
Function CalcuttaCalc(FrontNine As Range, BackNine As Range) As Integer
Dim points As Integer
Dim score As Integer
Dim hole As Integer

'FrontNine.
For score = 1 To 9
points = points + CalculatePoints(FrontNine.Cells(1, score), _
Sheet1.Cells(3, score + 26))
Next score

'BackNine.
For score = 1 To 9
points = points + CalculatePoints(BackNine.Cells(1, score), _
Sheet1.Cells(3, score + 36))
Next score

CalcuttaCalc = points
End Function

Private Function CalculatePoints(iScore As Integer, iPar As Integer)
'If the entered score is 0 or not entered, return 0 and exit.
If iScore = 0 Then
CalculatePoints = 0
Exit Function
End If

Dim score As Integer
Dim points As Integer
score = iScore - iPar

Select Case score
Case Is <= -2 'Eagle or better
points = 8
Case -1 'Birdie
points = 5
Case 0 'Par
points = 3
Case 1 'Bogey
points = 2
Case 2 'Double Bogey
points = 1
Case Else 'Anything else
points = 0
End Select
CalculatePoints = points
End Function
++++++++++++++++++++++++++++++++

But wait€¦ Theres more that needs to be done€¦

Hole pars are in listed €śabove€ť EACH column in row #3. If a player €świns€ť a
hole with a birdie €śor better€ť then he gets credit for €śtwo€ť skins rather
than €śone€ť skin. Total Number of skins are TOTALED in (R5,CZ:R36,CZ) to the
left of the first column of hole #1.

What are your thoughts€¦?

Thanks,
Jerry

(If there is someplace that I can €śpost€ť the actual spreadsheet, please let
me know where and how I can do it.)
+++++++++++++++++++

"JerryW" wrote:

Please help me do the following...

If a column data contains only 1 "lowest value", then change that cell
"background color" to "yellow" and the font to "red bold", else do "nothing".


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
Make a sheet to enter score and score is copy to the proper cell.. Yan Excel Worksheet Functions 0 June 8th 07 02:41 PM
Dropping the lowest score from a gradebook Stockeyd Excel Worksheet Functions 2 August 8th 06 03:09 PM
2 Dimensional Lookup by column & rows to return score grade loscherland Excel Discussion (Misc queries) 2 April 18th 06 12:05 PM
How do you add the three lowest numbers in a column? Bearkat Excel Worksheet Functions 2 April 6th 06 05:07 PM
Average Grades and drop the lowest score Kahlan Excel Worksheet Functions 0 October 10th 05 11:04 PM


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