Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ceemo
 
Posts: n/a
Default finding the second last date


i am using the following formula to find the last date bob completed his
work 100%

={max(if(col B="Bob", if(col C=1, Col A)))}

Date Name complete%
28/1/6 bob 100%
31/1/6 bob 100%
1/2/6 bob 100%
1/2/6 pete 100%
2/2/6 bob 65%
2/2/6 steff 89%
3/2/6 bob 100%

i would like to amend this formula to find the second to last date bob
completed 100% which would be the 1/2/6


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=534334

  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default finding the second last date

Not really tested

=LARGE(IF(B2:B8="Bob", IF(C2:C8=1, A2:A8)),2)

also array entered, adapt to fit

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



"ceemo" wrote in
message ...

i am using the following formula to find the last date bob completed his
work 100%

={max(if(col B="Bob", if(col C=1, Col A)))}

Date Name complete%
28/1/6 bob 100%
31/1/6 bob 100%
1/2/6 bob 100%
1/2/6 pete 100%
2/2/6 bob 65%
2/2/6 steff 89%
3/2/6 bob 100%

i would like to amend this formula to find the second to last date bob
completed 100% which would be the 1/2/6


--
ceemo
------------------------------------------------------------------------
ceemo's Profile:
http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=534334



  #3   Report Post  
Posted to microsoft.public.excel.misc
ceemo
 
Posts: n/a
Default finding the second last date


thank you for your help


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=534334

  #4   Report Post  
Posted to microsoft.public.excel.misc
ceemo
 
Posts: n/a
Default finding the second last date


ColA ColB ColC ColD
Date Name complete% Grade A
28/1/6 bob 100% A
31/1/6 bob 100% G
1/2/6 bob 100% C
1/2/6 pete 100% E
2/2/6 bob 65% C
2/2/6 steff 89% C
3/2/6 bob 100% B

I have the below formula to get the second to last date that Bob got
100% but i would like to get the grade (C) that Bob got on th second to
last time he got 100%

=LARGE(IF(B2:B8="Bob", IF(C2:C8=1, A2:A8)),2)

Can u help ?


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=534334

  #5   Report Post  
Posted to microsoft.public.excel.misc
Domenic
 
Posts: n/a
Default finding the second last date

Try...

=INDEX(D2:D8,LARGE(IF(B2:B8="Bob",IF(C2:C8=1,ROW(D 2:D8)-ROW(D2)+1)),2))

....confirmed with CONTROL+SHIFT+ENTER .

Hope this helps!

In article ,
ceemo wrote:

ColA ColB ColC ColD
Date Name complete% Grade A
28/1/6 bob 100% A
31/1/6 bob 100% G
1/2/6 bob 100% C
1/2/6 pete 100% E
2/2/6 bob 65% C
2/2/6 steff 89% C
3/2/6 bob 100% B

I have the below formula to get the second to last date that Bob got
100% but i would like to get the grade (C) that Bob got on th second to
last time he got 100%

=LARGE(IF(B2:B8="Bob", IF(C2:C8=1, A2:A8)),2)

Can u help ?

Reply
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
NETWORKDAYS - Multiple Date Selection Annabelle Excel Discussion (Misc queries) 3 October 4th 05 07:04 PM
Can a date be used for conditional formatting? Stevie P Excel Worksheet Functions 2 September 27th 05 09:42 PM
Recurring annual events using a specific date as a trigger date Bamboozled Excel Worksheet Functions 1 June 6th 05 01:44 PM
need help finding a Date range within long list A shink Excel Worksheet Functions 2 March 30th 05 05:01 PM
Date Math Problem Dkline Excel Worksheet Functions 4 March 4th 05 04:11 PM


All times are GMT +1. The time now is 02:49 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"