ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Find function (https://www.excelbanter.com/excel-worksheet-functions/45721-find-function.html)

alamo

Find function
 

Hello !!

I have this table :

---------------------------------------------------------------------
DATE | KM | TYPE
---------------------------------------------------------------------
16-06-2001 233.513 TIRE CHANGE
16-10-2001 281.634 VALVULINE CHANGE
09-03-2002 356.210 TIRE CHANGE
06-03-2003 515.783 VALVULINE CHANGE
29-08-2003 597.360 OIL ENGINE CHANGE
09-09-2003 602.500 TIRE CHANGE
28-11-2003 643.266 OIL ENGINE CHANGE
11-02-2004 681.003 TIRE CHANGE
04-03-2004 693.005 OIL ENGINE CHANGE
20-04-2004 717.489 TIRE CHANGE
26-05-2004 720.890 TIRE CHANGE
01-07-2004 732.628 OIL ENGINE CHANGE
24-07-2004 761.683 TIRE CHANGE
01-09-2004 781.207 OIL ENGINE CHANGE
01-09-2004 781.207 VALVULINE CHANGE
29-01-2005 840.225 TIRE CHANGE


I want to now

DATE
KM
LAST OIL CHANGE
LAST VALVULINE CHANGE
LAST TIRE CHANGE

I use the FINDV, but i value i get is old ( the first on the vertical)


--
alamo
------------------------------------------------------------------------
alamo's Profile: http://www.excelforum.com/member.php...o&userid=27318
View this thread: http://www.excelforum.com/showthread...hreadid=468150


bj

try
=lookup(2,1/(typerange="TIRE CHANGE"),daterange)
and
=lookup(2,1/(typerange="TIRE CHANGE",kmrange)
for the date and milage for the tire change
Replace tire change with valvuline change and oil change

seems odd but should work

"alamo" wrote:


Hello !!

I have this table :

---------------------------------------------------------------------
DATE | KM | TYPE
---------------------------------------------------------------------
16-06-2001 233.513 TIRE CHANGE
16-10-2001 281.634 VALVULINE CHANGE
09-03-2002 356.210 TIRE CHANGE
06-03-2003 515.783 VALVULINE CHANGE
29-08-2003 597.360 OIL ENGINE CHANGE
09-09-2003 602.500 TIRE CHANGE
28-11-2003 643.266 OIL ENGINE CHANGE
11-02-2004 681.003 TIRE CHANGE
04-03-2004 693.005 OIL ENGINE CHANGE
20-04-2004 717.489 TIRE CHANGE
26-05-2004 720.890 TIRE CHANGE
01-07-2004 732.628 OIL ENGINE CHANGE
24-07-2004 761.683 TIRE CHANGE
01-09-2004 781.207 OIL ENGINE CHANGE
01-09-2004 781.207 VALVULINE CHANGE
29-01-2005 840.225 TIRE CHANGE


I want to now

DATE
KM
LAST OIL CHANGE
LAST VALVULINE CHANGE
LAST TIRE CHANGE

I use the FINDV, but i value i get is old ( the first on the vertical)


--
alamo
------------------------------------------------------------------------
alamo's Profile: http://www.excelforum.com/member.php...o&userid=27318
View this thread: http://www.excelforum.com/showthread...hreadid=468150




All times are GMT +1. The time now is 04:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com