I have over 2000 columns with 5 rows, one of the rows has a number and on another row it has either a,b,c,d,e. I want to get the average depending if their row contains a,b,c.. So i could end up with the averages from the ones with a and averages of b, etc. I have a code but it gives me #DV/0! since its not taking the number as a number, the only way for some reason if click the cell of the number and it turns it into a number but I don't want to click though the whole column one by one. Thanks!