Alternative to find/replace for multiple column references

Gem1979

New Member
Joined
Aug 28, 2014
Messages
19
Hi, hoping you clever people can help please.

I have a long formula in a report that looks at values in a particular column that is specific to months. On the 1stof the following month I have to roll the formula forward so that each column value increases by 1 i.e. AD becomes AE, AE becomes AF etc. I do this with a find an replace at the moment starting with the furthest column. This works ok but bit time consuming and not easy to ask someone else to update. Can you suggest a quicker, more fool proof way of doing this? Only columns that don't change are C and D. Would be happy to use VBA. Here is an example of the formula. Thank you for any suggestions :)

=IFERROR(IF(SUM($C7:$D7)>=SUM(AD7:AL7),"9.00+",IF(SUM($C7:$D7)>SUM(AD7:AK7),8+((SUM($C7:$D7)-SUM(AD7:AK7))/AL7),IF(SUM($C7:$D7)>SUM(AD7:AJ7),7+((SUM($C7:$D7)-SUM(AD7:AJ7))/AK7),IF(SUM($C7:$D7)>SUM(AD7:AI7),6+((SUM($C7:$D7)-SUM(AD7:AI7))/AJ7),IF(SUM($C7:$D7)>SUM(AD7:AH7),5+((SUM($C7:$D7)-SUM(AD7:AH7))/AI7),IF(SUM($C7:$D7)>SUM(AD7:AG7),4+((SUM($C7:$D7)-SUM(AD7:AG7))/AH7),IF(SUM($C7:$D7)>SUM(AD7:AF7),3+((SUM($C7:$D7)-SUM(AD7:AF7))/AG7),IF(SUM($C7:$D7)>SUM(AD7:AE7),2+((SUM($C7:$D7)-SUM(AD7:AE7))/AF7),IF(SUM($C7:$D7)>AD7,1+((SUM($C7:$D7)-AD7)/AE7),SUM($C7:$D7)/AD7))))))))),"")
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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