+ Reply to Thread
Results 1 to 2 of 2

Finding cell values common to all worksheets

  1. #1
    Registered User
    Join Date
    03-24-2021
    Location
    UK
    MS-Off Ver
    2016
    Posts
    2

    Finding cell values common to all worksheets

    Hi all.

    I have a workbook with several sheets within it. Each sheet contains separate stock information with Dates in column A and Prices in column B. In a summary sheet, I want to list all the dates that are common to every stock, so that I can then use a vlookup function to collect all the prices on those common dates.

    Does anyone have a good solution for consolidating the common dates into Summary(A:A), using VBA?

    E.g.

    Sheet1:
    A1:A3 = 19-Mar-21, 18-Mar-21, 17-Mar-21
    Sheet2:
    A1:A3 = 19-Mar-21, 17-Mar-21, 16-Mar-21

    I would like the Summary sheet to display..
    A1:A2 = 19-Mar-21, 17-Mar-21

    I need a VBA method because there may be 20+ sheets to cycle through, and possibly thousands of rows of dates in each sheet.

    Thanks
    Last edited by phor89; 03-30-2021 at 08:00 AM.

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Finding cell values common to all worksheets

    Possibly...
    Please Login or Register  to view this content.
    Assumes all worksheets have dates in column A, and the summary worksheet is blank.

+ 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] Finding the mode of all values where column A is common
    By jlt199 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-17-2018, 09:25 AM
  2. Finding common values from a large table
    By Tankpopper in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-21-2016, 03:39 PM
  3. [SOLVED] Finding common values over multiple columns
    By olgratefuldead in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-30-2014, 12:55 AM
  4. Extracting Innertext Values of TD by Finding Common Word
    By Stonesteel15 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-04-2012, 09:08 AM
  5. Finding common column values with duplicate numbers
    By ritavv in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-13-2010, 06:08 AM
  6. Finding most common occurence of values in cells containing letters and numbers
    By sparklyballs in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-18-2006, 07:20 AM
  7. Finding common Data in multiple worksheets
    By Peter Syvertsen in forum Excel General
    Replies: 1
    Last Post: 10-21-2005, 07:05 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