+ Reply to Thread
Results 1 to 18 of 18

lookup-search not find Number

  1. #1
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    lookup-search not find Number

    Hi All,
    i am using a formula,
    =LOOKUP(2,1/SEARCH(Sheet2!A2:A7,G3),Sheet2!A2:A7)
    result is #N/A.
    can anybody tell me why this? snap is attached
    thanks.
    Attached Images Attached Images

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: lookup-search not find Number

    Can you attach a workbook rather than an image?

    Go Advanced -> Manage Attachments -> Upload

  3. #3
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: lookup-search not find Number

    OK. kindly also tell me break the String. which is mention in sheet
    Attached Files Attached Files

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: lookup-search not find Number

    Please try

    =LOOKUP(2,1/SEARCH(G3,Sheet2!C2:C7),Sheet2!C2:C7)

  5. #5
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: lookup-search not find Number

    Thanks Bo_Ry,
    its working,
    can you help on this formula.
    =IFERROR(INDEX(Sheet2!$A$2:$A$15,SMALL(IF(Sheet2!$B$2:$B$15=C2,ROW(Sheet2!$A$2:$A$15)-ROW($A$2)+1),ROWS($1:1))),"")
    Array Formula.
    to find out consecutive items. apply on this sheet G2, BUT G7 break this formula result ZERO. delete all blank line

  6. #6
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: lookup-search not find Number

    OK. kindly also tell me break the String. which is mention in sheet
    Assuming you mean sheet1 columns I and J:

    To break the ITEM strings, put the following in I2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    It is an array formula so must be committed with CTRL-SHIFT-ENTER

    Put the following in J2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    It is an array formula so must be committed with CTRL-SHIFT-ENTER

    Copy these formulas down as required

  7. #7
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: lookup-search not find Number

    Thanks Geoffw283,
    its work great, super,
    thanks a lot, BUT this working without array. i works proper. i apply it b2 and c2

  8. #8
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: lookup-search not find Number

    hi Bo_Ry,
    there is a little problem in lookup,
    it takes value last no of item, like 30018 search item from range but i want specific it condition. i use it no work,
    =lookup(2,1/(sheet2!b2:c15=c2)/(Sheet2!c2:c15=d2)/serach(g3,Sheet2!C2:C7),Sheet2!C2:C7)

  9. #9
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: lookup-search not find Number

    Hi Bo_Ry,
    i got it and search criteria based OK, BUT i am still achievement in below.
    =IFERROR(INDEX(Sheet2!$A$2:$A$15,SMALL(IF(Sheet2!$B$2:$B$15=C2,ROW(Sheet2!$A$2:$A$15)-ROW($A$2)+1),ROWS($1:1))),"")
    Array

  10. #10
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: lookup-search not find Number

    i mean still not find result

  11. #11
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: lookup-search not find Number

    I only see 1 match

    Please try
    =LOOKUP(2,1/(Sheet2!$B$2:$B$35=C3)/(Sheet2!$D$2:$D$35=D3)/SEARCH(G3,Sheet2!$C$2:$C$35),Sheet2!$C$2:$C$35)

    or index with the exact match.
    =INDEX(Sheet2!$C$2:$C$35,MATCH(1,INDEX((Sheet2!$B$2:$B$35=C3)/(Sheet2!$D$2:$D$35=D3)/ISNUMBER(SEARCH(G3,Sheet2!$C$2:$C$35)),),))

  12. #12
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: lookup-search not find Number

    thanks a lot, BUT i got it,
    i want below,
    =IFERROR(INDEX(Sheet2!$A$2:$A$15,SMALL(IF(Sheet2!$B$2:$B$15=C2,ROW(Sheet2!$A$2:$A$15)-ROW($A$2)+1),ROWS($1:1))),"")
    still not working.
    this formula give actual item paste in front of invoice from sheet2. see the snap, why this break at G8. see G2 exact pick
    right item. i use on sheet2A2 so you can use it sheet2C2.
    Attached Images Attached Images

  13. #13
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: lookup-search not find Number

    Yes, sir

    Kindly try with Ctrl+Shift+Enter
    =IFERROR(INDEX(Sheet2!$A$2:$A$15,SMALL(IF(Sheet2!$B$2:$B$15=C2,ROW(Sheet2!$A$2:$A$15)-ROW($A$2)+1),COUNTIF(C$2:C2,C2))),"")

    Regard,

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: lookup-search not find Number

    Please post the actual sheet from Post 12. It is NOT the same as the one posted earlier.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  15. #15
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: lookup-search not find Number

    non-array alternative:
    =IFERROR(INDEX(Sheet2!$A:A,AGGREGATE(15,6,ROW(Sheet2!$A$2:$A$15)/(Sheet2!$B$2:$B$15=C2),COUNTIF(C$2:C2,C2))),"")

  16. #16
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: lookup-search not find Number

    ok, please see the attachment,
    Thanks a lot Bo_Ry, its working perfect. thanks again.
    is it possible by lookup formula by this. lookup value (-1) criteria same.
    Attached Files Attached Files

  17. #17
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: lookup-search not find Number

    Hi Glenn,
    Thanks a lot to give me solution

  18. #18
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: lookup-search not find Number

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. [SOLVED] Lookup/Find/Match/Search Issues
    By Bryony309 in forum Excel General
    Replies: 6
    Last Post: 07-06-2017, 06:40 PM
  2. Find Row number by search Column for Text
    By jineson23 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-06-2015, 09:45 AM
  3. [SOLVED] Lookup/Search/Find/Match then edit in userform
    By Cuba64 in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 12-17-2013, 06:49 PM
  4. [SOLVED] find, search, lookup or Vlookup
    By wallcal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-26-2012, 07:16 AM
  5. Search lookup array to find lookup value contained within text string
    By Cookstein2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-02-2011, 09:42 AM
  6. Search & display a specific format in a number of columns using lookup
    By sarahhllmn in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-15-2011, 06:48 AM
  7. Replies: 13
    Last Post: 12-03-2010, 10:39 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