In reply to DaveN:
Thanks for replying, I found what I was looking for elsewhere and after some fiddling adapted it to my needs
=SUM(COUNTIFS(E31:E35,{"lead","toprope","boulder","solo" , "second"},D31
35,"6a")) - Anyway this bit of code would scan column D for the route grade 6a, and if it had been lead, toproped, bouldered, solo'd or seconded then it would count it towards the total of 6a routes I had freed, and exclude dogged or unfinished climbs.
Pretty much the same as yours except written differently I think, though excel is just a nightmare sometimes. I don't think I will ever understand the logic of it intuitively, once i see an example of something that is the same situation as mine it's fine but I just can't do it on the fly. Grrr.
even though it drives me crazy, I love excel.