G
Guest
If A1 > 0 AND SUM(B1:L1) = 0 then A13 = Jan
If B1 > 0 AND SUM(C1:L1) = 0 then A13 = Feb
If D1 > 0 AND SUM(E1:L1) = 0 then A13 = March
etc.etc.
Rather than just using nested Ifs which is cumbersome I am trying:
Function Month(Integer)
Select Case Integer
Case a1>0,sum(B1:L1)=0
Month = "Jan"
etc....
help is much appreciated - thanks
If B1 > 0 AND SUM(C1:L1) = 0 then A13 = Feb
If D1 > 0 AND SUM(E1:L1) = 0 then A13 = March
etc.etc.
Rather than just using nested Ifs which is cumbersome I am trying:
Function Month(Integer)
Select Case Integer
Case a1>0,sum(B1:L1)=0
Month = "Jan"
etc....
help is much appreciated - thanks