+ Reply to Thread
Results 1 to 13 of 13

How to find product details by entering its last 4 digit only

  1. #1
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    How to find product details by entering its last 4 digit only

    Dear All,

    I have data in which Customer wise product code its full name and its rate is mentioned, I want if I enter only last 4 digit of that product code in Cell B6, so based on A6 reference (in which customer name is given) excel should give result in C6 full item code,D6 full item name,and E6 rate of the product.

    Here I have attached sample excel sheet for reference.

    Regards,

    Dev.
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: How to find product details by entering its last 4 digit only

    Try like
    c4=INDEX('sale data'!$E$2:$E$15,MATCH(1,INDEX((RIGHT('sale data'!$D$2:$D$15,4)=B4&"")+0,0),0))
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: How to find product details by entering its last 4 digit only

    I have add * before & after data in "B4"
    In "C4"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In "D4"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In "E4"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    For more clarity file attach.
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  4. #4
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: How to find product details by entering its last 4 digit only

    Dear AVK,

    In cell C4 and D4 formulas are working perfectly but in E4 price should change as the customer name change in cell A4 which not happening also there are two different price for the same customer for the same product, here latest(most recent)date rate should come there plz help.

    Dev.

  5. #5
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: How to find product details by entering its last 4 digit only

    Dear nflsales,

    Your formula also working great in D4, if it is possible plz send formulas for the remaining things.


    Dev.

  6. #6
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: How to find product details by entering its last 4 digit only

    increase range in "E4"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

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

    Re: How to find product details by entering its last 4 digit only

    Try

    C4
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or

    C4
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag towards the cell
    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)

  8. #8
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: How to find product details by entering its last 4 digit only

    shukla.ankur281190

    Sir, your formulas are working great,only problem is in cell E4 it is not taking the most latest date invoice price. when there is same item and different price
    plz guide on the same.


    Dev.

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

    Re: How to find product details by entering its last 4 digit only

    What is your expecting result in E4???

  10. #10
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: How to find product details by entering its last 4 digit only

    Dear shukla.ankur281190,

    In E4 , if in data,same item has different price on different date,for example if item 25-01001 has 100 Rs price in 20th April invoice and the same item 25-01001 has 90 Rs price in 21st April invoice so result should be 90 Rs because it is latest rate given to customer.

    Attached sheet for your reference.

    Thanks

    Dev
    Attached Files Attached Files

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

    Re: How to find product details by entering its last 4 digit only

    Try

    E4
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  12. #12
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: How to find product details by entering its last 4 digit only

    Dear shukla.ankur281190,

    Its just fantastic, your genius and great sir , now it is working as I want, your a master

    Thanks

    Dev.

  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: How to find product details by entering its last 4 digit only

    Glad it helps you. please add reputation by clicking star * icon left corner on solution post.

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

+ 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. Replies: 7
    Last Post: 03-20-2016, 12:06 PM
  2. [SOLVED] Top Ten shops product wise details
    By makinmomb in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-20-2015, 05:40 PM
  3. [SOLVED] LOTTERY FILTER#4, Find if 1 Digit Sum of 2 Digit or 3 Digit, Single Cell w/ dash
    By david gonzalez in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2014, 12:57 AM
  4. [SOLVED] Find Product Details in Another Sheet based on Product ID and Copy some Fields From there
    By kevalkothari in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-29-2012, 10:43 AM
  5. Replies: 2
    Last Post: 06-17-2010, 08:36 PM
  6. Replies: 3
    Last Post: 09-24-2007, 03:14 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