+ Reply to Thread
Results 1 to 7 of 7

Formula for finding all the rows with the any of the values in a column.

  1. #1
    Registered User
    Join Date
    03-26-2018
    Location
    Shanghai, China
    MS-Off Ver
    Office 2016
    Posts
    7

    Exclamation Formula for finding all the rows with the any of the values in a column.

    Hi, and thanks for your help last time. I am trying to sort through around 200,000 rows for information on orders to Tianjin city. I filtered Column "F" for all rows containing the words "Tianjin" and "distribution center". Now that I have the rows containing orders to Tianjin, I need to search the order numbers Column "A" to get all information on these orders. For example, if the package went through another city first this information won't show up with the filtered criteria.

    I need to find all the rows that have any one of the values in Column "A". Essentially I need to search the entire chart for around 1000 different number combinations, the order numbers in column A. Is there a formula for that?

    屏幕快照 2018-04-02 上午10.00.37.png

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formula for finding all the rows with the any of the values in a column.

    Attach a sample workbook not a useless picture. 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
    Shanghai, China
    MS-Off Ver
    Office 2016
    Posts
    7

    Cool Re: Formula for finding all the rows with the any of the values in a column.

    Here is the file with all of the problems and BEFORE and AFTER worksheets.
    Attached Files Attached Files

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Formula for finding all the rows with the any of the values in a column.

    Tianjin City has lot of order #.
    Do you like to filter all together (list of 7683: 13 rows then list of 2828 next, then next...)
    or one by one (Tianjin AND 7683 only)?
    Quang PT

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Formula for finding all the rows with the any of the values in a column.

    Hi Edmond,

    This sounds like an Advanced Filter problem where you use wildcard (*asterisk*) searches.

    https://support.office.com/en-us/art...8-3f16abdff32b
    https://searchengineland.com/advance...o-regex-143680
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Formula for finding all the rows with the any of the values in a column.

    is that what you want?

    done with PowerQuery (Get&Transform)
    (edit: file updated)
    Attached Files Attached Files
    Last edited by sandy666; 04-01-2018 at 11:34 PM. Reason: file updated - forgot about duplicates

  7. #7
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Formula for finding all the rows with the any of the values in a column.

    Is it are you looking for?
    Use helper columns.
    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: 2
    Last Post: 05-19-2015, 08:50 AM
  2. [SOLVED] the code is finding repeated values but i need to search values from E column to D
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-14-2014, 01:33 AM
  3. Replies: 1
    Last Post: 02-24-2014, 10:05 AM
  4. [SOLVED] Finding Values in a Column based on Criteria and Selecting Rows Above
    By LvaughnL in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-04-2013, 03:07 PM
  5. [SOLVED] trouble w/ if formula finding values within a column
    By zazzz in forum Excel General
    Replies: 7
    Last Post: 11-13-2012, 05:01 PM
  6. Replies: 2
    Last Post: 11-20-2008, 09:02 AM
  7. Replies: 3
    Last Post: 11-14-2008, 06:40 PM

Tags for this Thread

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