ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Changing Range with Months (https://www.excelbanter.com/excel-programming/338059-changing-range-months.html)

T De Villiers[_2_]

Changing Range with Months
 

=countif(Y9:BV9,"S")

I need this range to vary with changing months, many thanks

so in Sep it becomes =countif(Y9:BV9,"S")
so in Oct it becomes =countif(AA9:BV9,"S")
so in Nov it becomes =countif(AE9:BV9,"S")
so in Dec it becomes =countif(AH9:BV9,"S")




--
T De Villier
-----------------------------------------------------------------------
T De Villiers's Profile: http://www.excelforum.com/member.php...fo&userid=2647
View this thread: http://www.excelforum.com/showthread.php?threadid=39816



All times are GMT +1. The time now is 02:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com