Hi
I'm in the process of building a sheet for the guys at work.
Part of the sheet requires me to take a range of cells, convert them using hlookup into either straight values or text and then average the resulting range.
Doing this as a two step process fine, but nesting the text returns from the hlookup into the average function is returning ###.
I've tried this every way I can think of, so I though someone might be able to help.
I've put a sample of the original data, converted data and latest formula below;
Original: 3a, 3c, -
Converted through hlookup on its own: 3.3, 3.1, -
Latest formula; =AVERAGE(IF(ISNUMBER(HLOOKUP(DK14,'Grade Boundaries'!$G$30:$AB$31,2,FALSE)),HLOOKUP(DK14,'Grade Boundaries'!$G$30:$AB$31,2,FALSE),""),IF(ISNUMBER(HLOOKUP(DM14,'Grade Boundaries'!$G$30:$AB$31,2,FALSE)),HLOOKUP(DM14,'Grade Boundaries'!$G$30:$AB$31,2,FALSE),""))
I've tried changing the "-" to a blank and I've tried using a range on the lookup to cut things down a bit, but to no avail.
Any help would be great.
Cheers
I'm in the process of building a sheet for the guys at work.
Part of the sheet requires me to take a range of cells, convert them using hlookup into either straight values or text and then average the resulting range.
Doing this as a two step process fine, but nesting the text returns from the hlookup into the average function is returning ###.
I've tried this every way I can think of, so I though someone might be able to help.
I've put a sample of the original data, converted data and latest formula below;
Original: 3a, 3c, -
Converted through hlookup on its own: 3.3, 3.1, -
Latest formula; =AVERAGE(IF(ISNUMBER(HLOOKUP(DK14,'Grade Boundaries'!$G$30:$AB$31,2,FALSE)),HLOOKUP(DK14,'Grade Boundaries'!$G$30:$AB$31,2,FALSE),""),IF(ISNUMBER(HLOOKUP(DM14,'Grade Boundaries'!$G$30:$AB$31,2,FALSE)),HLOOKUP(DM14,'Grade Boundaries'!$G$30:$AB$31,2,FALSE),""))
I've tried changing the "-" to a blank and I've tried using a range on the lookup to cut things down a bit, but to no avail.
Any help would be great.
Cheers