Conditional Formating??

Davers

Well-known Member
Joined
Sep 17, 2002
Messages
1,165
Hi all...I submitted this same problem yesterday, but I didn't explain myself very well, and the example I had was horrible. So here is my second attempt...
Book1
ABCDEFGHIJKLMNOPQ
1
2JanFebMarAprMayJunJulAugSepOctNovDec
31
42EnterStartRow:3
53EnterEndRow7
64
75
86
97
108
119
1210
13
Sheet1


This is what the sheet would look like after I typed 3 into cell P4, and 7 into cell P5. The formula I need would change what range of cells are highlighted based on what you would put in cell P4 and cell P5. It was suggested that I try conditional formatting, but I couldn't get it to work....any other suggestions??

Thanks,

Dave M.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Juan Pablo González

MrExcel MVP
Joined
Feb 8, 2002
Messages
11,959
On 2002-11-07 10:47, Davers wrote:
Hi all...I submitted this same problem yesterday, but I didn't explain myself very well, and the example I had was horrible. So here is my second attempt...

...table here...

This is what the sheet would look like after I typed 3 into cell P4, and 7 into cell P5. The formula I need would change what range of cells are highlighted based on what you would put in cell P4 and cell P5. It was suggested that I try conditional formatting, but I couldn't get it to work....any other suggestions??

Thanks,

Dave M.

Ok, select A:M, go to Conditional Formatting, and use this formula:

=(ROW(A1)>=$P$4)*(ROW(A1)<=$P$5)
 

Juan Pablo González

MrExcel MVP
Joined
Feb 8, 2002
Messages
11,959
If you only need to color the range A3:M12 then don't select the entire column but this range, and change the formula where it reads A1 for A3.
 

Davers

Well-known Member
Joined
Sep 17, 2002
Messages
1,165
PERFECT!!!!! Exactly what I needed...I wonder why I couldn't get it to work yesterday....:-/

Thanks again Juan, you save me!!! :)
 

Forum statistics

Threads
1,147,818
Messages
5,743,382
Members
423,792
Latest member
travisds

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