Way to highlight a specific number of cells based on number entered in another cell

Affo01

New Member
Joined
Jul 1, 2016
Messages
18
Hi,

Is there any way that if for you enter a number in cell A1 for example that the corresponding number of cells will highlight in column B?

eg - Cell A1 - 4 is entered. Any way then that this then highlights cells B1-4 in any way (by colour, border, number, letter or anything)?
Cell A1 - 2 is entered so B1 and B2 are highlighted in some way.

Been racking my brain and searching but not found anything. Last hope before I decide it can't be done is the fine folk on here.

Thank you.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Conditional format is the way I would go....
Book1
AB
14
2
3
4
5
6
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B1:B20Expression=ROW()<=$A$1textYES


Book1
AB
12
2
3
4
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B1:B20Expression=ROW()<=$A$1textYES
 
Upvote 0
Solution

Forum statistics

Threads
1,214,918
Messages
6,122,255
Members
449,075
Latest member
staticfluids

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