Thanks for all the help and Ken thanks for that link about Pivot Tables. I think that would definitely be more appropriate for what I’m doing. I’ll have to have a read of that later. JE McGimpsey, thanks also for pointing out I don’t need the sheet name before each item in the range. I think I’ll leave everything as it is for now but it will be good to know if future.
I’m all done now but for one final statistic which I can’t get, so last question I promise
I want to get the average of some data that’s between 0 and 100 values but this just gives 0:
=AVERAGE(IF(AND(Results!AF73:Results!AF65000>0,Results!AF73:Results!AF65000<100),Results!AF73:Results!AF65000))
This will work fine and will give me the average of values greater than 0:
=AVERAGE(IF(Results!AF73:Results!AF65000>0,Results!AF73:Results!AF65000))
And this works fine and gives the average of values less than 100:
=AVERAGE(IF(Results!AF73:Results!AF65000<100,Results!AF73:Results!AF65000))
But when I introduce the AND to get the average of values between 0 and 100 it just gives me 0. Any idea what’s going wrong?
Sorry to keep asking things. After my last stupid question I’ve looked over this carefully to make sure it’s not just a stupid mistake like not pressing Ctrl+Shift+Enter but I can’t work out what’s wrong.
Thanks again.
Bookmarks