conditional formating

Tyre

Board Regular
Joined
Feb 17, 2002
Messages
79
can I use conditional formating to do the following:

in cell E2 (for example) I have a dropdown box with several choices, one of which is 'cancel'
I want to format the whole row in red IF the cell=cancel

I tried conditional formating, but cannot seem to apply it to the whole row....

ideas?

thanks
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
60,755
Office Version
  1. 365
Platform
  1. Windows
Highlight the whole row when you set the conditional formatting. If using a formula, you may need to lock the column with a $ sign, i.e.

=$E2="Cancel"

Edit: Actually, I think if you are doing a whole row based on one column in that row, you need to use "Formula is" and the formula I provided above instead of "Cell Value is".
 

Tyre

Board Regular
Joined
Feb 17, 2002
Messages
79
perfect, thanks (I tried something like that but got the formula wrong)
thanks again
 
Learn Excel from Bill Jelen

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

Forum statistics

Threads
1,151,560
Messages
5,765,085
Members
425,258
Latest member
brentmitchell

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