Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 86
Default Highlight same part numbers with high price varies among themselv

I have the same parts but part pricing vary. It's ok if the price varies but
more than or equal to $20.00. I want to highlight the same part and part
price to highlight by itself.

Example 11111 I dont want highligts because the pricing is similar. But
8888 i want highlights because more than $20.00

Part Number Part Price
11111 20.00
11111 20.00
11111 21.00
11111 22.00
88888 20.00
88888 45.00
88888 22.00
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Highlight same part numbers with high price varies among themselv

Try this:

Assume this data is in the range A2:B8

11111 20.00
11111 20.00
11111 21.00
11111 22.00
88888 20.00
88888 45.00
88888 22.00


Select the range A2:A8
Goto the menu FormatConditional Formatting
Select: Formula Is
Enter this formula** in the box on the right:

=MAX(IF(A$2:A$8=A2,B$2:B$8))-MIN(IF(A$2:A$8=A2,B$2:B$8))=20

Click the Format button
Select the style(s) desired
OK out

** If your price range might include empty cells use this version of the
formula:

=MAX(IF(A$2:A$8=A2,B$2:B$8))-MIN(IF((A$2:A$8=A2)*(B$2:B$8<""),B$2:B$8))=20

--
Biff
Microsoft Excel MVP


"CYNTHIA" wrote in message
...
I have the same parts but part pricing vary. It's ok if the price varies
but
more than or equal to $20.00. I want to highlight the same part and part
price to highlight by itself.

Example 11111 I dont want highligts because the pricing is similar. But
8888 i want highlights because more than $20.00

Part Number Part Price
11111 20.00
11111 20.00
11111 21.00
11111 22.00
88888 20.00
88888 45.00
88888 22.00



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 86
Default Highlight same part numbers with high price varies among them

Hi,

Thanks for responding to my question.

I tried and the formula doesn't work. Nothing happens.

"T. Valko" wrote:

Try this:

Assume this data is in the range A2:B8

11111 20.00
11111 20.00
11111 21.00
11111 22.00
88888 20.00
88888 45.00
88888 22.00


Select the range A2:A8
Goto the menu FormatConditional Formatting
Select: Formula Is
Enter this formula** in the box on the right:

=MAX(IF(A$2:A$8=A2,B$2:B$8))-MIN(IF(A$2:A$8=A2,B$2:B$8))=20

Click the Format button
Select the style(s) desired
OK out

** If your price range might include empty cells use this version of the
formula:

=MAX(IF(A$2:A$8=A2,B$2:B$8))-MIN(IF((A$2:A$8=A2)*(B$2:B$8<""),B$2:B$8))=20

--
Biff
Microsoft Excel MVP


"CYNTHIA" wrote in message
...
I have the same parts but part pricing vary. It's ok if the price varies
but
more than or equal to $20.00. I want to highlight the same part and part
price to highlight by itself.

Example 11111 I dont want highligts because the pricing is similar. But
8888 i want highlights because more than $20.00

Part Number Part Price
11111 20.00
11111 20.00
11111 21.00
11111 22.00
88888 20.00
88888 45.00
88888 22.00




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Highlight same part numbers with high price varies among them

Tell me exactly what you did, how you did it and where you did it. Post the
*exact* formula you tried. This does work!

--
Biff
Microsoft Excel MVP


"CYNTHIA" wrote in message
...
Hi,

Thanks for responding to my question.

I tried and the formula doesn't work. Nothing happens.

"T. Valko" wrote:

Try this:

Assume this data is in the range A2:B8

11111 20.00
11111 20.00
11111 21.00
11111 22.00
88888 20.00
88888 45.00
88888 22.00


Select the range A2:A8
Goto the menu FormatConditional Formatting
Select: Formula Is
Enter this formula** in the box on the right:

=MAX(IF(A$2:A$8=A2,B$2:B$8))-MIN(IF(A$2:A$8=A2,B$2:B$8))=20

Click the Format button
Select the style(s) desired
OK out

** If your price range might include empty cells use this version of the
formula:

=MAX(IF(A$2:A$8=A2,B$2:B$8))-MIN(IF((A$2:A$8=A2)*(B$2:B$8<""),B$2:B$8))=20

--
Biff
Microsoft Excel MVP


"CYNTHIA" wrote in message
...
I have the same parts but part pricing vary. It's ok if the price
varies
but
more than or equal to $20.00. I want to highlight the same part and
part
price to highlight by itself.

Example 11111 I dont want highligts because the pricing is similar.
But
8888 i want highlights because more than $20.00

Part Number Part Price
11111 20.00
11111 20.00
11111 21.00
11111 22.00
88888 20.00
88888 45.00
88888 22.00






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
CF to highlight lowest price in row kale Excel Worksheet Functions 5 December 1st 06 07:45 PM
Replace Old Part Numbers with New Part Numbers in a Macro. Jeffery Keown Excel Discussion (Misc queries) 5 October 17th 06 03:45 PM
How do I formulate a high price column Lou New At Excel Excel Discussion (Misc queries) 1 April 18th 06 01:31 AM
Recording a high price on a worksheet Lou New At Excel Excel Worksheet Functions 1 April 16th 06 04:30 PM
Highlight in Excel When I Use High Contrast Black Windows Color Sc montgomerymouse Excel Discussion (Misc queries) 2 March 7th 06 04:18 AM


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