HELP! Getting the last cell in a range from a different tab

Dylbus

New Member
Joined
Nov 6, 2014
Messages
8
Hi all,

I hope you can help. I have read these forums for a long time but just signed up as this is the first time I haven’t been able to find an answer on here!

I am looking for a formulae to get the last cell in a range from a different tab.

The range is B9, G9 L9 Q9, V9, AA9, AF9 on the worksheet 'New Monitoring'. I need to show the last used cell from this range in a cell on a different tab/worksheet.

I have tried to name the range as 'TestRange' and have tried this formulae - INDEX(TestRange,MATCH(9.99999999999999E+307,TestRange)) But it doesn’t return the value.

I am scratching my head and have hit a brick wall. Any help would be hugely appreciated.
 
I have edited the formulae to read like this:

=LOOKUP(2,1/(($B$5:$AF$5=D$4)*(ISNUMBER($B9:$AF9))),$B9:$AF9)

D4 is on tha main tab/sheet and I have inputted this formulae in that cell.

All the other data is on a tab called 'New Monitoring'. How would I amend this formulae to show that B9 to AF9 are on the other tab? I know I need to put something like ='New Monitoring'! but I cant work out where!

I hope that makes sense.
 
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
D4 is on tha main tab/sheet and I have inputted this formulae in that cell.
You can't put the formula in D4, because it refers to D4, that would be a circular reference.
D4 is supposed to be a cell containing the color you're looking for (green red amber etc..)

Other than that
You have to add the sheet reference to all 3 ranges that exist on the other sheet.

=LOOKUP(2,1/(('New Monitoring'!$B$5:$AF$5=D$4)*(ISNUMBER('New Monitoring'!$B9:$AF9))),'New Monitoring'!$B9:$AF9)
 
Upvote 0
Jonmo, I cannot thank you enough for this.

I now have that formulae in maybe 50 cells, all relating to different sheets and it is working perfectly.

I was completely stuck and you have saved the day. Thanks very much.
 
Upvote 0
I spend a considerable amount of time reviewing the content of this site. It has, more than any other source, brought me somewhat along in my better understanding of Excel.

As I review this thread I'm a bit confused when I compare the final formula solution (cell references, etc. ) (offered by JonMo1 - Tks !!) with the 2 worksheets displayed earlier.
Could someone re-post the 2 worksheets showing the layout that is in agreement with the final formula?

Thanks, Jim
 
Upvote 0

Forum statistics

Threads
1,216,098
Messages
6,128,812
Members
449,468
Latest member
AGreen17

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