Copying formula

Jchab

New Member
Joined
Sep 14, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello excel gurus

Would love your help.

I am trying to copy a formula across cells, but I can't seem to find a way for it do what I want. I don't want to have to manually change 50 formulas across each cell and over 10 worksheets....can anyone help??

The first formula in the cell is =IF($B7>0,$B5,0)
I then want the next one to be =IF($B7>1,$B5, IF($J8=2,$B8,0)) the next one to be =IF($B7>2,$B5, IF(J8=3,B8,0)), and so on
but when I copy it I have to manually change the numbers in (bolded text) =IF($B7>3,$B5, IF(J8=4,B8,0)), =IF($B7>5,$B5, IF(J8=6,B8,0)),

Looking forward to your answers :)

Cheers

Jade
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
If you copy this "=IF($B7>0,$B5,0)", you will not get "=IF($B7>1,$B5, IF($J8=2,$B8,0))"
Also, in your last line you jump by 2 although you seem to want to just increase by one. ($B7>3 and next one is $B7>5)
Let us know what it needs to be.
 
Upvote 0

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

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