+ Reply to Thread
Results 1 to 5 of 5

Ignoring text data while using numerical data when searching for duplicates

  1. #1
    Registered User
    Join Date
    05-05-2022
    Location
    Pottstown, Pennsylvania
    MS-Off Ver
    unsure
    Posts
    2

    Ignoring text data while using numerical data when searching for duplicates

    For some context, I work at a school bus sales and service company, and we have a lot of buses on the lot at a given time. All sales buses have stock cards in them. There are two types: internal stock and sold. All buses will have an internal stock card. Buses that customers have purchased will have a sold card. However, the sold cards don't always make it to the buses, and some buses get missed during the check-in process when they arrive from Tulsa. So what I am doing is getting the stock numbers off of the buses and putting them in an excel spreadsheet. What I then intend to do is grab the stock numbers and customer names off of our sold cards that have not been hung yet, and use the duplicates feature in excl to find which ones are on the lot and have sold but don't have the cards. The problem as you may imagine is that the duplicate feature looks at the text and counts it as data. So what I am looking to figure out is how I can make it ignore the customer names while still looking for duplicate stock numbers between columns. This is my first time using Excel, so please try to explain how I can do it in as simple a way as you can. Below will be an example of what stock numbers can look like with example customer names.


    3245PNP21
    3350PNP21 Smith Bus
    B225PNG19D
    B563PNL20T Johnson Trans

    Hopefully these examples will help.

    Thanks for any help you may be able to provide!


    EDIT: I also intend to have the customer name in the column with the stock number. I'm trying to avoid doing a ton of work over the weekend.
    Last edited by KClaps; 05-05-2022 at 06:09 PM. Reason: Adding extra context

  2. #2
    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,916

    Re: Ignoring text data while using numerical data when searching for duplicates

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Administrative Note:

    Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    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.

  3. #3
    Registered User
    Join Date
    05-05-2022
    Location
    Pottstown, Pennsylvania
    MS-Off Ver
    unsure
    Posts
    2

    Re: Ignoring text data while using numerical data when searching for duplicates

    Sample workbook is attached. I'm in version 2204.
    Attached Files Attached Files

  4. #4
    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,916

    Re: Ignoring text data while using numerical data when searching for duplicates

    Please read my instructions again - 2204 is a release number, not your version. Is it Office 365 that you have? Please update your profile accordingly as instructed earlier. Thanks.

    Your sample workbook is inadequate: firstly, there are no duplicate codes that I can see, and secondly, you have not mocked up your expected results.

    So, read my previous post again, please, and do everything that I have asked of you. Thanks.
    Last edited by AliGW; 05-08-2022 at 12:56 AM.

  5. #5
    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,916

    Re: Ignoring text data while using numerical data when searching for duplicates

    Maybe this is what you want:

    =COUNTIF($A$2:$A$11,LEFT(A2,FIND(" ",A2)-1)&"*")

    which can become a CF rule for A2 thus:

    =COUNTIF($A$2:$A$11,LEFT(A2,FIND(" ",A2)-1)&"*")>1
    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. Replies: 8
    Last Post: 03-27-2019, 10:28 AM
  2. Replies: 0
    Last Post: 02-25-2019, 06:04 AM
  3. Summarizing numerical and text data
    By Anuru in forum Excel Formulas & Functions
    Replies: 80
    Last Post: 02-07-2018, 01:18 AM
  4. [SOLVED] Having Excel add numerical data within same cell AND where there is text also
    By Cottages in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-15-2014, 01:52 AM
  5. Find and extract specific text data & accompanying numerical data
    By gabrielemucho in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-18-2013, 05:58 PM
  6. 4 quadrant graph with text not numerical data
    By Ariana in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-30-2012, 07:25 PM
  7. Numerical calculations ignoring text?
    By Mattisson in forum Excel General
    Replies: 3
    Last Post: 07-30-2009, 07:11 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