palaeontology
Active Member
- Joined
- May 12, 2017
- Messages
- 444
- Office Version
- 2016
- Platform
- Windows
I would like to have a 6x6 range (eg: E3:J8) where some cells are filled black, and some are filled white ... I would, however, like each corner cell to have no choice but to be black.
To produce multiples of these 6x6 ranges on the one A4 page, I could write a basic formula into each cell .... =randbetween(1,2) and conditionally format each cell to fill black if "1", and white if "2".
However, two problems :
1. I would like to produce hundreds of these 6x6 grids but each with a UNIQUE pattern of black and white.
2. Using Randbetween has the issue that the value can change when a worksheet is recalculated after entering a formula or data into a different cell.
Is there a formula or some vba code I could use to create 1000 of the more than 4 billion possible combinations of patterns possible ?
I'd like to have these 1000 grids all visible on the one worksheet.
Is this possible ?
Kind regards,
Chris
To produce multiples of these 6x6 ranges on the one A4 page, I could write a basic formula into each cell .... =randbetween(1,2) and conditionally format each cell to fill black if "1", and white if "2".
However, two problems :
1. I would like to produce hundreds of these 6x6 grids but each with a UNIQUE pattern of black and white.
2. Using Randbetween has the issue that the value can change when a worksheet is recalculated after entering a formula or data into a different cell.
Is there a formula or some vba code I could use to create 1000 of the more than 4 billion possible combinations of patterns possible ?
I'd like to have these 1000 grids all visible on the one worksheet.
Is this possible ?
Kind regards,
Chris