Format change

Deadly48

New Member
Joined
Jun 14, 2006
Messages
19
How do I change the format of a range of cells dependant on a single cell contents. Conditional formating only changes that cell.

Deadly48
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
55,762
Office Version
  1. 365
Platform
  1. Windows
Deadly48

Welcome to the Mr Excel board!

Can you explain in more detail just what you have and what you want to happen?
 

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
Hi Deadly48

Welcome to the Board!

It depends on how you write the Formula Is expression within the Conditional Formatting. For example:

Type a 1 into cell A1, now highlight the entire row (ie select it). Then go Format> Conditional Formatting, change to Formula Is and type:

$A1=1

and set the format you want.

If you return to Excel, you should see the entire row is now formatted as you specified.

Best regards

Richard
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,351
Office Version
  1. 365
Platform
  1. Windows
Deadly48

That's incorrect.:)

You can use conditional formatting to format other cells by using formulas as Richard has indicated.
 

Deadly48

New Member
Joined
Jun 14, 2006
Messages
19
Richard,
Thanks but this still only changes the format of the cell being eddited. I want to change the format of a range of cells ie. A1:A10 to have fill colour dependant on the contents of cell B1 = 1.

Deadly48
 

Deadly48

New Member
Joined
Jun 14, 2006
Messages
19
Richard,
Sorry I was a bit hasty with my reply it does work with a range.

Thanks
Deadly48
 

Forum statistics

Threads
1,171,463
Messages
5,875,657
Members
433,145
Latest member
nzltrippa

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
Top