Pull data from another sheet based on row number / last row

surkdidat

Well-known Member
Joined
Oct 1, 2011
Messages
582
Office Version
  1. 365
Hi

I have the following formula -
Excel Formula:
='[Tracker.xlsm]In Progress'!$A$55&" - "&'[Tracker.xlsm]In Progress'!$B$55

How can I amend this so either the row number specified (in this case Row 55) - is (preferably) a specified row number input in another cell, or (alternatively) the last row with data in on the "Tracker" sheet please?

I think the first option would be best, but I would be extremely grateful for both solutions (if possible) so I can see which woks best in reality / implement both
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
How about
Excel Formula:
=LOOKUP(2,1/('[Tracker.xlsm]In Progress'!$A:$A<>""),'[Tracker.xlsm]In Progress'!$A:$A)&" - "&LOOKUP(2,1/('[Tracker.xlsm]In Progress'!$B:$B<>""),'[Tracker.xlsm]In Progress'!$B:$B)
 
Upvote 0
For the other option try
Excel Formula:
=INDEX('[Tracker.xlsm]In Progress'!$A:$A,B1)&" - "&INDEX('[Tracker.xlsm]In Progress'!$B:$B,B1)
where B1 has the row number
 
Upvote 0
Solution
Apologies for the delay in being able to test and come back to you, both of those moore than meet what I need! Thank you!
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,052
Messages
6,122,878
Members
449,097
Latest member
dbomb1414

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