+ Reply to Thread
Results 1 to 4 of 4

I need to find the value of the last and next to last entry in a row.

Hybrid View

  1. #1
    Registered User
    Join Date
    03-24-2014
    Location
    Murrells Inlet, SC
    MS-Off Ver
    Excel 2010
    Posts
    2

    I need to find the value of the last and next to last entry in a row.

    I have a sheet with items entered into a row in pairs but in different cells. For example: 2 B , 3 B or 3 C. As they are entered I need to know what the last PAIR entered in an array is. This case I would need to scan the row from the left to the right and ignoring any blank spaces tell me that 3 and C were the last pair entered. I need to know this to be able to tell if either of them has regressed. If one has gone from a 3 to a 2, I need to reset my counter, same if the C was to regress to a B.
    This a kind of grade book with each grade being two parts. I am trying to conditional format a another cell when the required grade has been reached. In this case a 3 and C. But the next time its graded....If it regresses in either of those areas, I need to change the conditional format.
    I hope I've adequately described what I need!
    MikeBook1.xlsx

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: I need to find the value of the last and next to last entry in a row.

    first of all you need to unmerge the Row 20 and Row 21
    Keep you data in row number 20
    then to check the last entry of number try below
    =INDEX(AC20:BT20,MATCH(1000,AC20:BT20)) expand the reference if required and use =INDEX(AC20:BX20,MATCH(1000,AC20:BX20))

    then to check the last Text Entry try below
    =INDEX(AC20:BT20,MATCH("ZZZZZZZZZZZ",AC20:BT20)) expand the reference if required and use =INDEX(AC20:BX20,MATCH("ZZZZZZZZZZZ",AC20:BX20))

    Hope this helps
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    03-24-2014
    Location
    Murrells Inlet, SC
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: I need to find the value of the last and next to last entry in a row.

    This works perfectly. I tried a lot of different methods. I guess I need to learn more about the index function! THANK YOU hemesh!!!!

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: I need to find the value of the last and next to last entry in a row.

    Thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. I want find duplicates entry after first entry in list b from list a
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2013, 05:47 PM
  2. find row no. of particular cell in a range and find last entry in that row
    By VishalGupta in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-06-2011, 01:29 AM
  3. Find an entry from a row
    By XLriddler in forum Excel General
    Replies: 3
    Last Post: 02-03-2011, 04:51 PM
  4. Replies: 1
    Last Post: 04-27-2009, 08:12 AM
  5. Find last entry on calendar
    By paulwelburn in forum Excel General
    Replies: 5
    Last Post: 01-16-2009, 11:49 AM

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