Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Member
 
Posts: 89
Default Formula Needed for lowest three values in a Column

I need a formula that will find the lowest three values in a given row or column. I would like to be able to highlight them in different colors.

Any/all assistance is greatly appreciated.

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Formula Needed for lowest three values in a Column

Use conditional formatting, and a formula like:
=a1=small(a:a,1)

Regards,
Fred

"frankjh19701" wrote in message
...

I need a formula that will find the lowest three values in a given row
or column. I would like to be able to highlight them in different
colors.

Any/all assistance is greatly appreciated.

Thank you




--
frankjh19701


  #3   Report Post  
Member
 
Posts: 89
Default

Quote:
Originally Posted by Fred Smith[_4_] View Post
Use conditional formatting, and a formula like:
=a1=small(a:a,1)

Regards,
Fred



"frankjh19701" wrote in message
...

I need a formula that will find the lowest three values in a given row
or column. I would like to be able to highlight them in different
colors.

Any/all assistance is greatly appreciated.

Thank you




--
frankjh19701
Thank you for responding
Ummm, O.K. how would I accomplish this with multiple cells from around the spreadsheet?
I think I need a little bit more help.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Formula Needed for lowest three values in a Column

Let's assume you want to find the lowest three numbers in column A, starting
in A1, and you are using XL2007. In the future, if you want more specific
instructions, provide sufficient information so we don't have to make
assumptions.

Select A1.
Click Conditional FormattingNew Rule...Use a formula to determine which
cells to format
In the box Format values where this formula is true, enter:
=a1=small(a:a,1)
Click Format...Fill, choose a color, click OK.
Do this again for the second smallest, using the formula:
=a1=small(a:a,2), and choose a different color.
For the third smallest, use:
=a1=small(a:a,3), and its color.

Now copy this formatting to the rest of the cells in your range. The easiest
way to do this is to right-drag the fill handle down the column. When you
release the mouse button, choose Fill Formatting Only.

Regards,
Fred


"frankjh19701" wrote in message
...

'Fred Smith[_4_ Wrote:
;930040']Use conditional formatting, and a formula like:
=a1=small(a:a,1)

Regards,
Fred



"frankjh19701" wrote in message

...-

I need a formula that will find the lowest three values in a given

row
or column. I would like to be able to highlight them in different
colors.

Any/all assistance is greatly appreciated.

Thank you




--
frankjh19701 -


Thank you for responding
Ummm, O.K. how would I accomplish this with multiple cells from around
the spreadsheet?
I think I need a little bit more help.




--
frankjh19701


  #5   Report Post  
Member
 
Posts: 89
Default

Sorry about that. Here's what I have and what I need:

I have values in Cells

A12 D16 G12 K16 A24 D22 E22

I need to find the lowest three values and color code them in three different colors to tell them apart.

I've been using Conditional Formatting with the formula =A12=MIN(A12:A12, D16:D16, G12:12, K16:K16, A24:A24, D22:D22, E22:E22)

And this only works to find the lowest.

Also,
on another note:

I need to come up with a way to show the different values of stock prices when purchased. For example,

You start off with 12 items at a cost of $2.00 each, as you sell items, you replace the inventory, but the cost goes up or down. You sell off five items and receive a delivery of 8 more at a cost of $2.13. How can I show the different "Layers" of cost of the inventory?

Thank you again for all of your assistance.
Quote:
Originally Posted by Fred Smith[_4_] View Post
Let's assume you want to find the lowest three numbers in column A, starting
in A1, and you are using XL2007. In the future, if you want more specific
instructions, provide sufficient information so we don't have to make
assumptions.

Select A1.
Click Conditional FormattingNew Rule...Use a formula to determine which
cells to format
In the box Format values where this formula is true, enter:
=a1=small(a:a,1)
Click Format...Fill, choose a color, click OK.
Do this again for the second smallest, using the formula:
=a1=small(a:a,2), and choose a different color.
For the third smallest, use:
=a1=small(a:a,3), and its color.

Now copy this formatting to the rest of the cells in your range. The easiest
way to do this is to right-drag the fill handle down the column. When you
release the mouse button, choose Fill Formatting Only.

Regards,
Fred


"frankjh19701" wrote in message
...

'Fred Smith[_4_ Wrote:
;930040']Use conditional formatting, and a formula like:
=a1=small(a:a,1)

Regards,
Fred



"frankjh19701" wrote in message

...-

I need a formula that will find the lowest three values in a given

row
or column. I would like to be able to highlight them in different
colors.

Any/all assistance is greatly appreciated.

Thank you




--
frankjh19701 -


Thank you for responding
Ummm, O.K. how would I accomplish this with multiple cells from around
the spreadsheet?
I think I need a little bit more help.




--
frankjh19701


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Formula Needed for lowest three values in a Column

You could have saved yourself a lot of time by posting this information from
the very beginning.

First, when you post a formula, *always* copy and paste it. *Never* just
type it in to your message. When you type it, typos creep in. Some of them
are innocuous (like your G12:12), but others can cause problems which result
in lost time or bad advice, or both.

Second, you don't need to repeat your cell addresses if there's only one in
the range.
=A12=MIN(A12,D16,G12,K16,A24,D22,E22)
would work just as well.

Third, in order to get the 2nd smallest, you need to use the Small function.
Because you have disparate cells, you need to define a name for them. For
example, define the name Results as cells A12,D16,G12,K16,A24,D22,E22. Then
use the formula:
=A12=SMALL(Results,1) to get the smallest,
=A12=SMALL(Results,2) to get the 2nd smallest, and
=A12=SMALL(Results,3) to get the 3rd smallest

Finally, on your inventory question, why maintain the "layers"? Why not just
calculate the average cost and use it?

Regards,
Fred



"frankjh19701" wrote in message
...

Sorry about that. Here's what I have and what I need:

I have values in Cells

A12 D16 G12 K16 A24 D22 E22

I need to find the lowest three values and color code them in three
different colors to tell them apart.

I've been using Conditional Formatting with the formula
=A12=MIN(A12:A12, D16:D16, G12:12, K16:K16, A24:A24, D22:D22, E22:E22)

And this only works to find the lowest.

Also,
on another note:

I need to come up with a way to show the different values of stock
prices when purchased. For example,

You start off with 12 items at a cost of $2.00 each, as you sell items,
you replace the inventory, but the cost goes up or down. You sell off
five items and receive a delivery of 8 more at a cost of $2.13. How can
I show the different "Layers" of cost of the inventory?

Thank you again for all of your assistance.
'Fred Smith[_4_ Wrote:
;933870']Let's assume you want to find the lowest three numbers in
column A, starting
in A1, and you are using XL2007. In the future, if you want more
specific
instructions, provide sufficient information so we don't have to make
assumptions.

Select A1.
Click Conditional FormattingNew Rule...Use a formula to determine
which
cells to format
In the box Format values where this formula is true, enter:
=a1=small(a:a,1)
Click Format...Fill, choose a color, click OK.
Do this again for the second smallest, using the formula:
=a1=small(a:a,2), and choose a different color.
For the third smallest, use:
=a1=small(a:a,3), and its color.

Now copy this formatting to the rest of the cells in your range. The
easiest
way to do this is to right-drag the fill handle down the column. When
you
release the mouse button, choose Fill Formatting Only.

Regards,
Fred


"frankjh19701" wrote in message

...-

'Fred Smith[_4_ Wrote:-
;930040']Use conditional formatting, and a formula like:
=a1=small(a:a,1)

Regards,
Fred



"frankjh19701" wrote in

message

...--

I need a formula that will find the lowest three values in a

given-
row-
or column. I would like to be able to highlight them in different
colors.

Any/all assistance is greatly appreciated.

Thank you




--
frankjh19701 ---

Thank you for responding
Ummm, O.K. how would I accomplish this with multiple cells from

around
the spreadsheet?
I think I need a little bit more help.




--
frankjh19701 -





--
frankjh19701


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
Create formula to; sum the lowest 10 cells in a column PCat Excel Worksheet Functions 3 September 22nd 09 04:22 PM
Formula to add 4 lowest numbers from a column of 6 Mike Excel Worksheet Functions 4 September 29th 08 06:15 PM
formula help needed (if values) [email protected] Excel Discussion (Misc queries) 3 January 19th 07 08:38 PM
Formula to higlight highest and lowest values in row michelle Excel Worksheet Functions 4 November 20th 06 09:51 PM
How can I average certain number of lowest values in a column? Philcw New Users to Excel 1 September 13th 05 05:58 PM


All times are GMT +1. The time now is 10:56 AM.

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"