LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default reporting newest/highest value

One way

Source data assumed in sheet: B, cols A to C
where
col A = real dates
col B = vehicle ids
col C = mileage figs

In sheet: A,
With vehicle ids listed in A2 down
Put in B2, array-enter, ie press CTRL+SHIFT+ENTER to confirm the formula:
=INDEX(B!C$2:C$10,MATCH(MAX(IF(B!B$2:B$10=A2,B!A$2 :A$10)),IF(B!B$2:B$10=A2,B!A$2:A$10),0))
Copy down to extract the required latest mileage fig (by the dates in B's
col A) for the vehicle ids listed in A2 down. Adapt the ranges to suit the
extents of your actuals.

Real dates are just nums, so the "max" date for that vehicle id = latest date
High-five? Click YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,500 Files:370 Subscribers:66
xdemechanik
---
"Resi" wrote:
is there a formula which allows me to update a cell in a different worksheet
in the same workbook, with the latest/highest value entered in a different
worksheet?

example:
worksheet B has got chronological listing of mileage related to different
vehicles and drivers.
in worksheet A I like to have the vehicle in cell A2 with it's latest
mileage reading in cell B2, where the criteria will be cell A2.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering by newest date Al Excel Discussion (Misc queries) 2 November 12th 08 05:05 PM
Newest month formula Jennifer Excel Discussion (Misc queries) 3 July 1st 08 05:31 PM
Reporting Highest Values BRob Excel Worksheet Functions 1 May 15th 08 03:30 PM
Finding the oldest & newest dates Bob Smith Excel Worksheet Functions 3 April 13th 07 02:27 PM
2 rows, highest No in row 1, then highest number in row 2 relating to that column, possible duplicates John Excel Worksheet Functions 3 August 11th 06 04:34 AM


All times are GMT +1. The time now is 06:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"