Conditional Formatting change only sheet number

georgegram

New Member
Joined
Apr 17, 2016
Messages
33
Hello everyone,

I got a workbook, where i have 31 sheets (one for each day of the month). Then there is a final sheet where i got a column with every day of the month.
When i set a formula in the 1st of the month to read a specific text from the 1st sheet, everything goes ok.
Instead of doing that for every day, is there a way to auto fill the following days by changing only the sheet number?

Sheets are named like: 01,02,03,04...31

The formula i use in conditional formatting is =COUNTIF('01'!$C$19:$AG$19;"*"&$AC$32&"*")>0
All i ask if there is a way to keep everything the same and change the '01' to '02','03' etc.

Thanks in advance,
George
 
wow i just did it, and it stayed! Thanks a lot , this forum has given me 3 times so far the best solutions from every site around the internet ! :)
i thanked you for every respond :D
 
Last edited:
Upvote 0

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,636
Latest member
laura12345

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