Dynamic use of Indirect Formula

MUKESHY12390

Well-known Member
Joined
Sep 18, 2012
Messages
901
Office Version
  1. 2013
  2. 2011
  3. 2010
  4. 2007
Platform
  1. Windows
Hi All -

Is there any way if I can make "D2" dynamic. I mean while pasting it to other Row or other Column "D2" should change to D3 or E2 ( Bascially I want to adjust Relative Reference concept while pasting.)


=INDIRECT("Sheet1!"&"$D2").

Any help would be appreciated.

Thanks!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
That is easiest done with R1C1 references

=INDIRECT("Sheet1!R[1]C[1]",FALSE)

The numbers is square brackets are an offset from the cell with the formula (sheet doesn't matter, only cell position). R[0]C[0] is same row and same column, positive numbers move down or right, negative numbers move up or left.
 
Upvote 0
Wow!!! it worked thanks!!

Is there any other way just curious.
 
Upvote 0
You could use something like

=OFFSET(INDIRECT("Sheet1!D2),ROWS(D$1:D1)-1,COLUMNS($D1,D1)-1)

or

=INDIRECT(ADDRESS(ROW(D2),COLUMN(D2),4,1,"Sheet1"))

There might be other ways as well, those are the first that come to mind.
 
Upvote 0
Thanks again.... Actually I was trying with INDIRECT and Address earlier.

3 solutions are more than enough.:)
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,215
Members
452,618
Latest member
Tam84

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