Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Conditional Formatting Multiple Columns

I am comparing two sets of numbers and would like to format the cell if the
difference is within a certain range - as follows (where ABC and HIJ are the
columns, Length Width Height are in Row 1):

A B C
Length Width Height
12.9 11.0 4.0
7.3 7.0 4.8
23.5 3.5 3.5
12.8 11.0 6.0

H I J
Length Width Height
12.90 10.92 5.58
7.60 7.00 5.10
23.30 3.60 3.60
12.20 9.90 4.60

When the difference between H2 and A2 is .5 (positive or negative) I would
like to shade the cell in H, I, or J. In the above example, J2 would be
shaded, H2 and I2 would not and so on.

I'm not sure how to capture the variance.

Can this be acheived using conditional formatting?
Thanks in Advance!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Conditional Formatting Multiple Columns

I think you actaully meant to say "if the variance is greater than 0.5" Put
this conditional format into H2

Formula is:
=ABS(H2-A2)=0.5

Select H2, Copy, then select all your other cells you want formatted.
Right-click, paste special, formatting only.

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"JessP27" wrote:

I am comparing two sets of numbers and would like to format the cell if the
difference is within a certain range - as follows (where ABC and HIJ are the
columns, Length Width Height are in Row 1):

A B C
Length Width Height
12.9 11.0 4.0
7.3 7.0 4.8
23.5 3.5 3.5
12.8 11.0 6.0

H I J
Length Width Height
12.90 10.92 5.58
7.60 7.00 5.10
23.30 3.60 3.60
12.20 9.90 4.60

When the difference between H2 and A2 is .5 (positive or negative) I would
like to shade the cell in H, I, or J. In the above example, J2 would be
shaded, H2 and I2 would not and so on.

I'm not sure how to capture the variance.

Can this be acheived using conditional formatting?
Thanks in Advance!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Conditional Formatting Multiple Columns

Luke,
This didn't seem to work. I tried a couple of variations and each one has a
different result.
You are correct - I am trying to note a "variance greater than .5"

Any other suggestions?
Thanks,
Jessica

"Luke M" wrote:

I think you actaully meant to say "if the variance is greater than 0.5" Put
this conditional format into H2

Formula is:
=ABS(H2-A2)=0.5

Select H2, Copy, then select all your other cells you want formatted.
Right-click, paste special, formatting only.

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"JessP27" wrote:

I am comparing two sets of numbers and would like to format the cell if the
difference is within a certain range - as follows (where ABC and HIJ are the
columns, Length Width Height are in Row 1):

A B C
Length Width Height
12.9 11.0 4.0
7.3 7.0 4.8
23.5 3.5 3.5
12.8 11.0 6.0

H I J
Length Width Height
12.90 10.92 5.58
7.60 7.00 5.10
23.30 3.60 3.60
12.20 9.90 4.60

When the difference between H2 and A2 is .5 (positive or negative) I would
like to shade the cell in H, I, or J. In the above example, J2 would be
shaded, H2 and I2 would not and so on.

I'm not sure how to capture the variance.

Can this be acheived using conditional formatting?
Thanks in Advance!

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
Conditional Formatting - 2 columns hamilton_heff[_2_] Excel Worksheet Functions 2 January 3rd 09 07:48 PM
Conditional Formatting Non-Adjacent Columns Al Avery Excel Worksheet Functions 10 October 1st 08 03:29 AM
conditional formatting- same value, different columns wynand Excel Discussion (Misc queries) 4 January 30th 08 12:03 PM
conditional formatting for key-value columns kang New Users to Excel 8 August 27th 07 05:35 PM
Conditional Formatting 4 Columns David Excel Discussion (Misc queries) 14 April 12th 06 10:42 AM


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