+ Reply to Thread
Results 1 to 2 of 2

Check to See if Contents of a Cell are Found on Two Other Worksheets

  1. #1
    Registered User
    Join Date
    12-06-2019
    Location
    Utah
    MS-Off Ver
    Office 365
    Posts
    37

    Check to See if Contents of a Cell are Found on Two Other Worksheets

    Tab One is shipping data from my shipping software. Tab Two is UPS regular shipping cost details from a csv version of a bill. Tab Three is UPS duties & taxes details from a csv version of a bill.

    I want to see if the tracking number on Tab One is found on either Tab Two or Tab Three.

    I used to put all of the UPS data on one tab and used the following formula: =NOT(ISERROR(MATCH([@[Tracking '#]],JunUPS[Tracking '#],0))) This returns a TRUE value if the tracking number was found on Tab Two and a FALSE value if the tracking number isn't on Tab Two.

    But now I've broken out the UPS data across two different tabs and I don't know how to change the formula on Tab One to look for the tracking number on either one of those tabs and return TRUE if it finds it on either tab.

    Right now my only solution is to add another column to Tab One with this formula: =NOT(ISERROR(MATCH([@[Tracking '#]],JunUPSDAT[Tracking '#],0)))

    But I'd love it if I could get one formula to see if it finds a match on two other tabs. Is that possible?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,366

    Re: Check to See if Contents of a Cell are Found on Two Other Worksheets

    You don't need to use NOT(ISERROR(MATCH which will get complicated over multiple sheets. You could just use COUNTIF for each sheet, add them together, and check for a non-zero value ... that will tell you if it's on one of the sheets. Check the COUNTIFs individually if you need to know which sheet.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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] Check Column for text then clear cell contents of cell if found
    By fireguy7 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-01-2018, 12:56 PM
  2. [SOLVED] Lookup cell contents on another workbook and replace if found
    By mainemojo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2018, 11:46 AM
  3. [SOLVED] Returning contents of cell below the one found with a vlookup
    By fizzy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2017, 05:11 PM
  4. Check for values in a table and if found add value found in column to left to list
    By robhargreaves in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-07-2013, 02:57 PM
  5. [SOLVED] Change cell contents if found in a list on another sheet
    By fastcar in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-05-2012, 08:29 PM
  6. Seperate Cell contents when space is found
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2012, 08:59 PM
  7. use VBA to copy a cell contents to another found through vlookup
    By reynastus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2011, 08:06 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