How to convert a static reference into a dynamic reference

Peterw_2506

Board Regular
Joined
Jan 28, 2011
Messages
78
Hi All,

I am having a little problem turning a static reference into a dynamic reference.

This formula, =LOOKUP(2,1/('[_Credit Card Expense.xlsx]Aug. 20'!$E:$E<>""),'[_Credit Card Expense.xlsx]Aug. 20'!$E:$E) works properly as a static reference.

This formula, =INDIRECT("'["&K1&"]"&C73&"'!"&M64), works correctly also with K1 referring to the workbook and C73 referring to the correct worksheet.

However, M64 is still a static cell reference when I need to reference the last cell in Column E that contains a numeral.

Can somebody show me how to convert this functioning static address into a dynamic address please.

Thank you in advance.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Replace the static reference with INDEX(E:E,MATCH(9.99999999999999E+307,E:E))
 
Upvote 0
Dear Arthur, thank you for your help. Can I ask you to write the entire formula out as I seem to be stuffing this up somewhere when pasting you answer in as it returns #ref! answer
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,397
Members
449,081
Latest member
JAMES KECULAH

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