Pookiemeister
Well-known Member
- Joined
- Jan 6, 2012
- Messages
- 626
- Office Version
- 365
- 2010
- Platform
- Windows
Since our I.T. announced that macros can no longer be used, I have to tried to write this code in the formula line using nested "if" statements but I get the error message stated in the Subject line. Here is what I have written.
Q13 contains this code
Thank you
Excel Formula:
=IF(Q13=1,COUNTIF('WO Week 1'!B:B,"Support Order (ZM08)"),Q13=2,COUNTIF('WO Week 2'!B:B,"Support Order (ZM08)",Q13=3,COUNTIF('WO Week 3'!B:B,"Support Order (ZM08)",Q13=4,COUNTIF('WO Week 4'!B:B,"Support Order (ZM08)",Q13=5,COUNTIF('WO Week 5'!B:B,"Support Order (ZM08)")))
Q13 contains this code
Excel Formula:
=ROUNDUP(DAY(NOW()) / 7, 0)
Thank you