Copy Down & Auto increment formula

NeoSez

Board Regular
Joined
Aug 14, 2020
Messages
151
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
I hav a spreadhset with columns of different formulas similar to this formula
Excel Formula:
=IFERROR(__xludf.DUMMYFUNCTION("GoogleFinance($A2+1)"),52.4)
The problem is when I copy the formulas down, the $A2 should be changing to $A3, $A4, $A5 etcetera. I tried dragging it down, Goto and none of it is working. I don't want to manually change this for hundreds of rows and cells and columns.
How do I get the cell reference to change?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Yongle

Well-known Member
Joined
Mar 11, 2015
Messages
6,977
Office Version
  1. 365
Platform
  1. Windows
Try

Excel Formula:
=IFERROR(__xludf.DUMMYFUNCTION("GoogleFinance(" &$A2& "+1)"),52.4)
 
Solution

NeoSez

Board Regular
Joined
Aug 14, 2020
Messages
151
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
Try

Excel Formula:
=IFERROR(__xludf.DUMMYFUNCTION("GoogleFinance(" &$A2& "+1)"),52.4)
Thank you Yongle
I had tried the formula as
Excel Formula:
=IFERROR(__xludf.DUMMYFUNCTION("GoogleFinance(" &$A2&+1)),52.4)
but it failed. Those "" get me every time.
 

Watch MrExcel Video

Forum statistics

Threads
1,130,181
Messages
5,640,637
Members
417,159
Latest member
Mayozero

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
Top