+ Reply to Thread
Results 1 to 2 of 2

Displaying in one cell a number from a column in a table that has duplicates

  1. #1
    Registered User
    Join Date
    08-19-2017
    Location
    Temecula, California
    MS-Off Ver
    Office 2013
    Posts
    1

    Displaying in one cell a number from a column in a table that has duplicates

    I'm trying to figure out which function to use to take information from a table on one sheet to display in a single cell in another sheet. The source table will have multiple entries with duplicates of those entries, but I need to display one value in another table to represent an individual number from that source table.

    Example: How would I ask excel to display "X" from a column such as this into a single cell, "Y" into another cell, "Z" in yet another cell, and so on? The purpose being to grab data related to this entry to populate a set on another sheet. Basically a distribution of data from a single table into many smaller tables to organize data that will be used to make specific calculations.. Pivot table?

    X
    X
    X
    Y
    Z
    X
    Y
    Y
    Z
    Z

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Displaying in one cell a number from a column in a table that has duplicates

    welcome to the forum dconsole2

    is this anything like what you want?
    - it creates 3 tables from one source table - one each for X,Y and Z

    in the attached workbook...
    - the Table of data is in sheet Data
    - go to sheet X
    - to create table for X double click on any cell in that sheet
    - same for Y and Z

    this code is in a general module:
    Please Login or Register  to view this content.
    the above code is called by this in sheet module:
    Please Login or Register  to view this content.
    If it isn't what you want....
    - please attach a workbook showing the original table and mocking up on other sheets what you want the output to look like for X,Y & Z

    ManageAttachments3.jpg
    Attached Files Attached Files
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

+ 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. displaying number of times a word occurs in a table column with VBA
    By kor123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-10-2016, 06:20 AM
  2. Displaying multiple duplicates from a list into one cell.
    By caj5888 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-02-2013, 04:21 AM
  3. [SOLVED] Displaying the Cell column/row number that you are in.
    By gharding14 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-30-2013, 08:27 AM
  4. [SOLVED] Filter - Hiding duplicates but displaying 1 of the duplicates item
    By blacky1 in forum Excel General
    Replies: 3
    Last Post: 04-19-2012, 07:43 AM
  5. [SOLVED] Displaying column number of 1st, 2nd .... n number of non zero cell
    By Kybynn in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-23-2012, 12:49 AM
  6. Replies: 2
    Last Post: 05-08-2006, 02:55 PM
  7. displaying last number in a column
    By slurms in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-06-2005, 08:00 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