Displaying a portion of a table in a separate worksheet

0 votes

My workbook's first worksheet features a sizable table with numerous columns and rows (roughly 1000 rows and 20 columns).

I was wondering if it was possible to use the criteria from one of the columns in the main table to display a portion of this table in another worksheet within the workbook.

I'll use a real workbook example to help illustrate this. 

Each row on worksheet 1, which is the main table and is titled "General Employee Info," contains a distinct number that identifies an employee in Column A. (each employee has their own ID number).

Their office location (a city or municipality) is listed in Column B. The location of the office is indicated in Column C. Their annual pay is listed in Column D.

There are numerous additional columns that provide this kind of employment information, which is self-explanatory.

My question is, can I label Sheet 2 in the workbook "New York State" and have that sheet display all the same information as Sheet 1 (all the same columns) but only display the employees that work in the state of New York?

Nov 3 in Others by Kithuzzz
• 20,660 points
29 views

1 answer to this question.

0 votes

If you are using Excel 2013 or later, I highly suggest using the excel tables function as a starting point. Tables are awesome because they improve the user readability of your sheets and reduce the likelihood of mistakes in calculations like INDEX/MATCH.

Once the tables are in place with the main data, to subset I use the data modeling capability to link back to those tables.

These steps in Excel 2013 - version active around 2018. It's changed in Office 365 (see below)

  1. create a sheet, or go where you want the table in your current sheet.
  2. click the 'data' tab and select "connections" in the connections section.
  3. from there select the drop-down on the add button and select Add to Data Model.. Connections Dialog
  4. Click the tables tab. Click the table you want.
  5. now close the dialog
  6. on the data tab, and click Existing Connections in the "get external connections" of the data tab.
  7. Click the Table tab
  8. Select the table you want
  9. Select the table radio button
  10. Hit return (or new sheet or a different cell if that's what you want)
  11. poof your table from another sheet is now reflected in the current worksheet.

You can now hide columns, add additional columns with new formulas to the right or left margins of the table, use data slicing to subset, etc.

answered Nov 4 by narikkadan
• 37,660 points

Related Questions In Others

0 votes
1 answer

How to apply zoom animation for each element of a list in angular?

Hey @Sid, do check if this link ...READ MORE

answered Jul 30, 2019 in Others by Vardhan
• 13,200 points
618 views
0 votes
1 answer

How to retrieve the value of a text field in Flutter App?

Hi@akhtar, In your TextField, you can call one ...READ MORE

answered Sep 3, 2020 in Others by MD
• 95,380 points
1,021 views
0 votes
1 answer
0 votes
1 answer

Ordering by the order of values in a SQL IN() clause

We can use expressions as well in ...READ MORE

answered May 31 in Others by Sohail
• 2,960 points
70 views
0 votes
0 answers

MS Excel - SumProduct formula with Loop

1 I have 4 arrays of data where ...READ MORE

Feb 18 in Others by Edureka
• 13,640 points
82 views
0 votes
1 answer

How to Paste JPEG as a gif in excel?

Solution  Step 1 Navigate to the folder that contains ...READ MORE

answered Oct 2 in Others by narikkadan
• 37,660 points
54 views
0 votes
1 answer

Can I use VBA in Excel 2010 Starter Edition?

No, unfortunately you can't use VBA in ...READ MORE

answered Oct 8 in Others by narikkadan
• 37,660 points
44 views
0 votes
1 answer

How to create a drop-down list in Excel?

Making a list of the items you ...READ MORE

answered Oct 9 in Others by narikkadan
• 37,660 points
61 views
0 votes
1 answer

Is there a maximum number of formula fields allowed in Excel (2010)

See http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HP010073849.aspx for limits on specs it doesn't indicate ...READ MORE

answered Sep 30 in Others by narikkadan
• 37,660 points
55 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP