This is the solution i found.
Press Ctrl + ` (back quote) in the sheet. This will make all the formulas visible.
Copy the formula into notepad.
Ctrl + H and follow the normal find and replace.
Copy the new formula back into the work sheet and press Ctrl + ` again.