+ Reply to Thread
Results 1 to 5 of 5

finding the second last date

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-15-2004
    Posts
    246
    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 ?

  2. #2
    Domenic
    Guest

    Re: finding the second last date

    Try...

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

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

    Hope this helps!

    In article <ceemo.26krim_1145556601.2379@excelforum-nospam.com>,
    ceemo <ceemo.26krim_1145556601.2379@excelforum-nospam.com> 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1