Faster way to edit formulas?

81shelly

New Member
Joined
Jul 25, 2007
Messages
24
Hi

Just wondering if ther is a quick way to change a number of the same cell references in one go? for exampe in this formula below i want to change the $C$5 to another one like $F$5 but the way I'm doing it at the moment is to type it in 8 times... Anyone know if could change all 8 instances of it in one go?

=IF(Sheet2!E7=$C$5,2,IF(Sheet2!E7=$C$5+1,1,IF(Sheet2!E7=$C$5-1,3,IF(Sheet2!E7=$C$5-2,4,IF(Sheet2!E7=$C$5-3,5,IF(Sheet2!E7=$C$5-4,6,IF(Sheet2!E7=$C$5-5,7, IF(Sheet2!E7>$C$5+1,0))))))))

Thanks in advance..
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Have a look at Edit|Replace...|Options|Look in: Formulas
 
Upvote 0

Forum statistics

Threads
1,218,845
Messages
6,144,801
Members
450,567
Latest member
Mplz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top