Hi,
hopefully this is straightforward but I can't think of a way round it.
In cell E21 I have the following formula: =IF(COUNTIF($C21,"*")+(COUNTIF(D21,"*"))=2,IF(D21=$C$21,5,0),"")
essentially looking for a return value of either 5 or 0 as long as there is text in cells C21 and D21
my issue is this causes an error in cell E23 which has the following formula: =IF(SUM(E12:E15,E17:E19)=35,45,IF(SUM(E12:E15)=20,25+SUM(E17:E19),IF(SUM(E17:E19)=15,20+SUM(E12:E15),SUM(E12:E15,E17:E19))))+E21
If I change the formula in E21 to IF(D21=$C$21,5,0), the error clears however by removing the COUNTIF it allows a 5 value to be returned when it shouldn't.
Any help would be appreciated.
Thanks,
EMcK
hopefully this is straightforward but I can't think of a way round it.
In cell E21 I have the following formula: =IF(COUNTIF($C21,"*")+(COUNTIF(D21,"*"))=2,IF(D21=$C$21,5,0),"")
essentially looking for a return value of either 5 or 0 as long as there is text in cells C21 and D21
my issue is this causes an error in cell E23 which has the following formula: =IF(SUM(E12:E15,E17:E19)=35,45,IF(SUM(E12:E15)=20,25+SUM(E17:E19),IF(SUM(E17:E19)=15,20+SUM(E12:E15),SUM(E12:E15,E17:E19))))+E21
If I change the formula in E21 to IF(D21=$C$21,5,0), the error clears however by removing the COUNTIF it allows a 5 value to be returned when it shouldn't.
Any help would be appreciated.
Thanks,
EMcK
Last edited: