I have about 120 formulas primarily spread across three columns and 40 or so rows. The data that they are referencing are spread across rows. So, I believe there is not a way to drag down (or fill or whatever) and have the references update across columns. (In other words if my formula references b2 and I drag to the cell below, it will not say c2 it will say b3.) Additionally, while the formulas have the same structure, each one is referencing a different column. So, the first formula in cell c21 is:
=IF(COUNTIF('Personal Bests'!$C$2:$C$193,">"&C20)+1<11,COUNTIF('Personal Bests'!$C$2:$C$193,">"&C20)+1,"p"&PERCENTRANK.EXC('Personal Bests'!$C$2:$C$193,C20,2)*100)
The formula in the cell "below" that (actually in C23) is:
=IF(COUNTIF('Personal Bests'!$D$2:$D$193,">"&C22)+1<11,COUNTIF('Personal Bests'!$D$2:$D$193,">"&C22)+1,"p"&PERCENTRANK.EXC('Personal Bests'!$D$2:$D$193,C22,2)*100)
And so on across numerous cells. I have already gotten all of those created. I then figured out that I needed to add the additional conditional in the event that the number I am looking at is 0. I need to add that to all of my formulas. In a different circumstance, I could just search for "If(Countif" and replace it with "IF(C20=0,"-",IF(COUNTIF" and then manually update the references to C20 to reference the correct cell. However, If I try to do that search and replace, it fails because the formula becomes invalid as it is missing the close parenthesis ")" corresponding to the end of the new "If". If I were manually typing in the formula and did not add the close, it would suggest that correction and I could accept it. In a search and replace, it does not give that option, it just fails. So, I was wondering if I could use wildcards in the search and replace so that I could fix the front end and the back end of the formula at the same time.
I am using Office 365.