Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6533647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:09:12+00:00 2026-05-25T10:09:12+00:00

Introduction: Sheet1 in my excel workbook contains a complex table with about 130 columns

  • 0

Introduction: Sheet1 in my excel workbook contains a “complex” table with about 130 columns and 2,5k rows.

First issue:
Based on this table i want to create a simplified table(“View”) in Sheet2, which contains only e.g. columns A,C,F,G,I from the table in Sheet1.

This new “simplified” table should be updated when the table in Sheet1 is changed, e.g. in the form of a cell beeing edited, or a new row beeing inserted. Another way of approaching this would be to auto generate the table in Sheet2 everytime the user saves the workbook, or something similar.

Second issue:
The rows which contains a specific value in column F, lets say the value “XXX”, should not be included in the Sheet2 table.

I’m not very experienced in more “advanced” excel functionality, but after researching the matter im leaning towards approaching this by creating a macro. Is this assumption correct? Or does excel have any other functionality to perform this task?

If creating a macro is the best approach, then any help would be much appreciated. I am currently playing arround with a test table with 4 rows, and copying two of these into a new worksheet. But i am having troubles with how to do this automatically, and exluding the rows with a specific value(Issue #2)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:09:12+00:00Added an answer on May 25, 2026 at 10:09 am

    Try the following code: (Placed in the simple sheets module)

    Private Sub Worksheet_Activate()
    
        Application.ScreenUpdating = False
    
        With ActiveSheet
            .UsedRange.ClearContents
            '// Copy from data sheet too presentation sheet
            Sheet1.UsedRange.Copy .[a1]
            '// Filter all rows with xxx
            .Range("F:F").AutoFilter Field:=1, Criteria1:="xxx", Operator:=xlAnd
            '// Delete all rows with xxx excluding the header
            .UsedRange.Offset(1).SpecialCells(xlCellTypeVisible).EntireRow.Delete
            '// Remove the autofilter
            If .AutoFilterMode Then .AutoFilterMode = False
            '// Delete unwanted columns
            .Range("B:B,D:E,H:H").Delete
         End With
    
        Application.ScreenUpdating = True
    
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Introduction After watching this video from LIDNUG, about .NET code protection http://secureteam.net/lidnug_recording/Untitled.swf (especially from
INTRODUCTION I'm using excel downloads as a way of users downloading a score sheet,
Introduction: Now I know this question could be very broad and it would be
Introduction I heard something about writing device drivers in Java (heard as in with
Introduction Hello folks, I recently learned to program in C! (This was a huge
In Introduction to algorithms, 3rd edition exercise 24.3-5 wants an example that this is
First a little introduction. We have an SQL Server Express 2008 database, which schema
Introduction I can't seem to get the the ChartObjects.CopyPicture method to work in Excel
Introduction a.k.a. what do I intend to do feel free to skip this part,
I am reading Introduction to Algorithms and read about the insertion sort. I tried

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.