another excel question

chearn

New Member
Joined
Jan 24, 2005
Messages
14
Again, probably something simple so here it goes!

I have 2 columns, if the data in column 2 is greater that 50 I need the data in the 1st column to be shaded.

My mind is gone this morning, and I cannot think of the formula.

thanks
C
:rolleyes:
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Use conditional formatting for th cells you want to change the colour of, with the criteria

Condition 1 Formula is =B2>50 (for example)

Hope this helps.
 
Upvote 0
Use Conditional Formatting:

Select the range in column A you want shaded then go Format>Conditional Formatting and select "Formula Is" then type

=B1>50

and then select whatever format you want to apply. You will have to adjust the row reference (ie here B1) to whatever is your first row in your selection.

Best regards

Richard
 
Upvote 0
Why not use conditional formatting?

1 Select the first cell in Column 1
2 Open the Conditional Formatting Menu
3 Select Formula is
4 In the Formula box type: =B1>50 (I'm assuming your Columns are A & B)
5 Select the format you wish to apply
6 Click OK
7 Copy and Paste Special Formats to the remaining cells in Column 1
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,718
Members
448,986
Latest member
andreguerra

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top