Getting value on a different tab (same spreadsheet)

britts614

New Member
Joined
Jul 9, 2019
Messages
8
Hello,

I’m trying to display the latest value entered on adifferent tab (pretty much a Vlookup example).
In the column on “Tab_2” an employee enters the new amountof mileage driven in the rented car once it’s returned (see example below. Date and Mileage are two different columns):

“Date”........................“Mileage”

01/01/2019................123,456
01/05/2019 ...............123,557
01/27/2019 ...............124,896
01/31/2019 ..................?

On the “Tab_1” page I need to display the most recentmileage count. So, if it displays “124,896” on “Tab_1”, I will need to see the “?”when they enter the mileage on 01/31/2019.

I’ve been trying to use Vlookup for this but I am makingerrors. Does this make sense?
Please help!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi & welcome to MrExcel.
How about
=LOOKUP(2,1/(Sheet2!B2:B19<>""),Sheet2!B2:B19)
 
Upvote 0
Hi & welcome to MrExcel.
How about
=LOOKUP(2,1/(Sheet2!B2:B19<>""),Sheet2!B2:B19)

Thanks for your response!

It doesn't seem to be working but I think it's close. It gives me the value of a date instead of the mileage.
 
Upvote 0
Is the mileage in column B?
 
Upvote 0
In that case change the format of the cell containing the formula to General
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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