+ Reply to Thread
Results 1 to 15 of 15

Finding a number by searching the last value

  1. #1
    Registered User
    Join Date
    03-26-2018
    Location
    Turkey, Istanbul
    MS-Off Ver
    2016
    Posts
    23

    Post Finding a number by searching the last value

    Hello everbody, i am the new one in the forum

    I have a problem in my excel, it can be easy for you

    ı attached my excel to the post

    There are 2 sheets, 2 sheets are the same except "referance no" column belongs to sheet 2

    i would like to find the latest "Job B's referance number" for sheet 1 by checking box quantity (must be equal) in Job B's info in sheet 2.

    i hope i could explain my problem
    Attached Files Attached Files
    Last edited by shtmd; 03-26-2018 at 04:08 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,184

    Re: Finding a number by searching the last value

    No file attached.

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. 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 shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    03-26-2018
    Location
    Turkey, Istanbul
    MS-Off Ver
    2016
    Posts
    23

    Re: Finding a number by searching the last value

    Thanks, i could attach the excel file with your help

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,184

    Re: Finding a number by searching the last value

    Attachments are not valid and screenshots are not very useful.

    Attach a small sample file as per instructions in post #2

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Finding a number by searching the last value

    Try

    B9
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,740

    Re: Finding a number by searching the last value

    The attachment works fine, but tells us nothing new.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    03-26-2018
    Location
    Turkey, Istanbul
    MS-Off Ver
    2016
    Posts
    23

    Re: Finding a number by searching the last value

    it says

    #DIV/0!

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,740

    Re: Finding a number by searching the last value

    No, it doesn't. It works perfectly. Just copy and paste the formula into B9 on sheet 1.

  9. #9
    Registered User
    Join Date
    03-26-2018
    Location
    Turkey, Istanbul
    MS-Off Ver
    2016
    Posts
    23

    Re: Finding a number by searching the last value

    Quote Originally Posted by AliGW View Post
    No, it doesn't. It works perfectly. Just copy and paste the formula into B9 on sheet 1.
    excel forum.JPG

    it says like that

  10. #10
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Finding a number by searching the last value

    Replace , with ; as per your region

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,740

    Re: Finding a number by searching the last value

    That's not a #DIV/0! error!!!

    Change commas to semi-colons for your locale:

    =LOOKUP(2;1/(Sheet2!$A$2:$A$9=$A9);Sheet2!$B$2:$B$9)

  12. #12
    Registered User
    Join Date
    03-26-2018
    Location
    Turkey, Istanbul
    MS-Off Ver
    2016
    Posts
    23

    Re: Finding a number by searching the last value

    you are awesome guys thank you very much, it must be the fastest forum on the web

  13. #13
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Finding a number by searching the last value

    Happy to help you
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Last edited by shukla.ankur281190; 03-26-2018 at 04:12 AM.

  14. #14
    Registered User
    Join Date
    03-26-2018
    Location
    Turkey, Istanbul
    MS-Off Ver
    2016
    Posts
    23

    Re: Finding a number by searching the last value

    i did thanks

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,740

    Re: Finding a number by searching the last value

    Glad to have helped.

+ 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. searching and finding matches.
    By LLOYD6664 in forum Excel General
    Replies: 19
    Last Post: 04-21-2017, 10:04 AM
  2. [SOLVED] Finding data after searching with multiple criteria
    By coach.32 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-22-2013, 09:56 PM
  3. Searching for a value, finding it on another file and pasting on a different column
    By kurtwagner in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-27-2012, 03:57 PM
  4. Excel 2007 : Finding and searching a row for expected values
    By Kirk_Duplessis in forum Excel General
    Replies: 4
    Last Post: 06-27-2012, 02:30 PM
  5. Finding / searching multiple values in one cell
    By fullysic in forum Excel General
    Replies: 4
    Last Post: 02-01-2012, 02:45 AM
  6. Searching, finding, and replacing in VBA
    By ronan144 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-29-2011, 05:44 AM
  7. Searching an array and finding sum
    By Tre_cool in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2005, 02:40 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