Excel Forum



Excel Magic Trick # 252: Text Cell Range In A Function


See how to use a cell range typed into a cell in a function. If I was counting the number of times the word "Rad" was in the range B13:B20, and B13:B20 was in cell C10, I could use this formula: COUNTIF(INDIRECT(C10),"Rad")
The INDIRECT function takes text that represents a reference and converts it to a reference.
The COUNTIF counts the Number of "RAD"s in the range





Got a Question? Ask it Here in the Forum.