Hey all! I'm looking for a code in my macro that will search out a text in a given range and replace it with a formula. For example:
In column G, I want to find and replace every instance of the word "Total" (a stand-alone word, not part of a formula) with a formula similar to =SUMIF(O:O,"Total"&N17,G:G)
Now, I say similar to because, the N17 is a relative reference, which is effectually saying I want the word "Total," in this formula, to concatenate with the cell that's 2 rows up and 7 columns over from the cell that's being evaluated
Any ideas?
In column G, I want to find and replace every instance of the word "Total" (a stand-alone word, not part of a formula) with a formula similar to =SUMIF(O:O,"Total"&N17,G:G)
Now, I say similar to because, the N17 is a relative reference, which is effectually saying I want the word "Total," in this formula, to concatenate with the cell that's 2 rows up and 7 columns over from the cell that's being evaluated
Any ideas?