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

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
49,508
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,300
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,137,060
Messages
5,679,376
Members
419,824
Latest member
Mercy kiara

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