+ Reply to Thread
Results 1 to 14 of 14

In column their are multiple cells with same data but i want last row

  1. #1
    Registered User
    Join Date
    02-27-2014
    Location
    india
    MS-Off Ver
    excel 2013
    Posts
    7

    Cool In column their are multiple cells with same data but i want last row

    Hi

    Order_ID Status
    76899 Packing
    76899 Sent for deliver
    76900 Sent for deliver
    76900 Delivered
    76899 Delivered

    Now I want get only 76899 Delivered & 76900 Delivered it should get last Order ID I mean if any order ID was repeating it should take last one and get status

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: In column their are multiple cells with same data but i want last row

    Use Lookup() Formula


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    02-27-2014
    Location
    india
    MS-Off Ver
    excel 2013
    Posts
    7

    Re: In column their are multiple cells with same data but i want last row

    Quote Originally Posted by :) Sixthsense :) View Post
    Use Lookup() Formula

    Hi Can you provide sample code for above example in lookup

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: In column their are multiple cells with same data but i want last row

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Registered User
    Join Date
    02-27-2014
    Location
    india
    MS-Off Ver
    excel 2013
    Posts
    7

    Re: In column their are multiple cells with same data but i want last row

    Hi please find attachment for sample data
    Attached Files Attached Files

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: In column their are multiple cells with same data but i want last row

    In E2 Cell

    =LOOKUP(C2,C2:C11,D2:D11)

  7. #7
    Registered User
    Join Date
    02-27-2014
    Location
    india
    MS-Off Ver
    excel 2013
    Posts
    7

    Re: In column their are multiple cells with same data but i want last row

    This was getting error i have 4,00,000 rows data if column 1 having same order ID 3 times it should get 3rd row order id and 3rd row status column

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: In column their are multiple cells with same data but i want last row

    Quote Originally Posted by psudhakar999 View Post
    if column 1 having same order ID 3 times it should get 3rd row order id and 3rd row status column
    That is what Lookup() will do

  9. #9
    Registered User
    Join Date
    02-27-2014
    Location
    india
    MS-Off Ver
    excel 2013
    Posts
    7

    Re: In column their are multiple cells with same data but i want last row

    This was getting error i have 4,00,000 rows data if column 1 having same order ID 3 times it should get 3rd row order id and 3rd row status column

  10. #10
    Registered User
    Join Date
    02-27-2014
    Location
    india
    MS-Off Ver
    excel 2013
    Posts
    7

    Re: In column their are multiple cells with same data but i want last row

    Can you run formula in sample data worksheet and send it to [email protected] i will use same way against all 4lkhs records

  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: In column their are multiple cells with same data but i want last row

    Please show it in excel with sample data with the formula resulting error data.

    It is not useful for both of us in digging something on assumption, because without seeing the data and the way you applied the formula will not help us in fixing the issue

  12. #12
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: In column their are multiple cells with same data but i want last row

    lookup wont work directly unless the data is sorted ascending
    but you could use
    =LOOKUP(2,1/($C$2:$C$40000=76899),$D$2:$D$40000)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  13. #13
    Registered User
    Join Date
    02-27-2014
    Location
    india
    MS-Off Ver
    excel 2013
    Posts
    7

    Re: In column their are multiple cells with same data but i want last row

    testeidprocess.csvtesteidprocess.xlsx Please find sample data

  14. #14
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: In column their are multiple cells with same data but i want last row

    see attached
    Attached Files Attached Files

+ 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. Fix change event code to add todays date when data is added to multiple cells in column
    By Nitefox in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 12-21-2013, 06:40 PM
  2. Replies: 9
    Last Post: 12-13-2013, 07:40 PM
  3. Replies: 2
    Last Post: 10-08-2013, 02:58 PM
  4. [SOLVED] how sort based on column with related data in multiple cells
    By sank1800 in forum Excel General
    Replies: 7
    Last Post: 02-18-2013, 11:28 AM
  5. Replies: 2
    Last Post: 06-27-2006, 09:20 PM

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