Indirect function and quotation marks.

Eamonn100

Board Regular
Joined
Nov 12, 2015
Messages
156
I'm using the indirect function with this formula, =INDIRECT($A$3&"$NKW4")

$A$3 is a reference to a sheet name and "$NKW4" is a reference to a cell on that sheet.

Is there a way that I can put "$NKW4" into the formula without the quotation marks "". I'm looking for this because when I drag the formula to other cells it stays the same because of the quotation marks.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Sorry, no it's correct the way it is, thanks. It's rows I want to increment.

I'm a little dislexic and when using F4 always lock columns when I want cells, hahaha.
 
Upvote 0
It's still not all that clear - but try this in X2 which will adjust as you drag either across or down.

=INDIRECT($A$3&ADDRESS(ROWS(X$2:X2)+3,COLUMNS($X2:X2)+9772) )
 
Upvote 0
It's still not all that clear - but try this in X2 which will adjust as you drag either across or down.

=INDIRECT($A$3&ADDRESS(ROWS(X$2:X2)+3,COLUMNS($X2:X2)+9772) )

No the first formula can be dragged all ways. =INDIRECT($A$3&ADDRESS(ROW($NKW4),COLUMN($NKW4))). It's fine, other than when you incert or delete columns.
 
Upvote 0
No the first formula can be dragged all ways. =INDIRECT($A$3&ADDRESS(ROW($NKW4),COLUMN($NKW4))). It's fine, other than when you incert or delete columns.

Hi, can you try and comment on the formula in post 13.
 
Upvote 0
Wait, something is going on. When I drag to the left it reverse the order of dragging right, as though that first cell is the anchor. The first formula could be dragged left.
 
Upvote 0
The first formula could be dragged left.

Replace the X2 cell references for the top left hand cell where the formula will be entered (i.e. the first cell you are going to enter the formula in) and then drag right and down as required.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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