+ Reply to Thread
Results 1 to 8 of 8

Tips to filter data within a given range across multiple worksheets

  1. #1
    Registered User
    Join Date
    08-08-2022
    Location
    Toronto
    MS-Off Ver
    Office 365
    Posts
    4

    Post Tips to filter data within a given range across multiple worksheets

    Hello,
    I am Saana.

    I am currently using excel to segregate a large amount of tree diameter data into different size classes, this includes data collected over 128 plots and thus has multiple duplicate values for one species.

    For example:

    I want to divide the trees into 4 specific ranges, the diameter of 10-30cm, 30-50cm, 50-100cm, and 100cm and above, how do I proceed to do that?
    Thank you.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,858

    Re: Tips to filter data within a given range across multiple worksheets

    Sample workbooks make this easier to resolve. Post a sample file that is representative of your actual data. No pictures.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    08-08-2022
    Location
    Toronto
    MS-Off Ver
    Office 365
    Posts
    4

    Post Re: Tips to filter data within a given range across multiple worksheets

    Hi,
    I am hereby attaching the excel sheet, I want to segregate data based on DBH (diameter) and species in different size bin classes. This includes 4 classes, 3-10cm, 10-25cm, 25-50cm and 50 cm and above.
    I am not sure how to divide the data which has repetitive species but different diameters in a tabular form and then further divide them based on size class.
    Thanks,
    Saana.Copy of MVCA analysis (version 1).xlsx

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,858

    Re: Tips to filter data within a given range across multiple worksheets

    You have 2 DBH columns. Which one should we be using. Or are there two different tables there but set adjacent to each other. Very confusing. Which column(s) are the cm settings. Need you to explain in detail using your example.

  5. #5
    Registered User
    Join Date
    08-08-2022
    Location
    Toronto
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Tips to filter data within a given range across multiple worksheets

    Apologies,
    Both the columns from the first sheet have to be used for DBH, and the corresponding species is next to the column. The data is divided plot-wise based on species found in each plot this is denoted by the VSP ID.
    VSP ID for example in the worksheet the plot number VSP ID would be 4 then the species name next to it followed by the DBH in cm.
    VSP ID Species DBH VSP ID
    8 Acer saccharum ssp. saccharum 25
    8 Acer saccharum ssp. saccharum 33.2
    8 Acer saccharum ssp. saccharum 41.3
    8 Acer saccharum ssp. saccharum 7.5
    8 Acer saccharum ssp. saccharum 38.8
    8 Acer saccharum ssp. saccharum 9.4
    8 Acer saccharum ssp. saccharum 29.6
    8 Acer saccharum ssp. saccharum 41.4
    8 Acer saccharum ssp. saccharum 18.4
    8 Fraxinus americana 11.8
    8 Snag 7.5
    8 Acer saccharum ssp. saccharum 16.3

    4 Fraxinus nigra 19.5
    4 Snag 16
    4 Tsuga canadensis 6
    4 Betula alleghaniensis 40
    4 Snag 14
    4 Ulmus sp 7.1
    4 Acer rubrum 12.1
    4 Fraxinus nigra 12.7
    4 Fraxinus nigra 19.5
    4 Acer rubrum 7.5
    4 Ulmus sp 21.1
    4 Fraxinus nigra 11.7
    4 Fraxinus nigra 26.7

    This is an updated copy of the first sheet the two tables contain all the data which needs to be divided into size classes.
    Thank you, Saana.
    Copy of MVCA analysis (version 1).xlsx
    Last edited by saanabenurwar; 08-09-2022 at 12:15 PM.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,858

    Re: Tips to filter data within a given range across multiple worksheets

    Your explanation makes no sense to me. Therefore, I am leaving this thread to someone who has a better understanding due to the technical nature. Good Luck.

  7. #7
    Registered User
    Join Date
    08-08-2022
    Location
    Toronto
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Tips to filter data within a given range across multiple worksheets

    Thank you for your time.
    Saana.

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,531

    Re: Tips to filter data within a given range across multiple worksheets

    Not sure that I understand the request either, but here is an attempt.
    1. Produce one large table (Table16) using the data in the Combo through Plot columns
    2. Fill in the blank cells in the Plot column
    3. Produce a lookup table for the four classes as modeled in I1:J5
    4. Lookup the class of each tree using: =IF([@COMBO]="","",INDEX(I$2:I$5,AGGREGATE(15,6,(ROW(I$2:I$5)-ROW(I$1))/(J$2:J$5>=[@DBH]),1)))
    5. Produce a pivot table from Table16
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Tips to elliminate data entry errors from multiple users
    By Sjordan1307 in forum Excel General
    Replies: 1
    Last Post: 09-19-2019, 12:36 PM
  2. Replies: 3
    Last Post: 12-15-2017, 11:37 AM
  3. [SOLVED] Data into multiple worksheets based on column in Excel and apply auto filter and freeze
    By skumarlingam in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 10-28-2016, 04:50 PM
  4. Filter multiple worksheets based on data input in a master worksheet.
    By tina16marie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-18-2016, 04:46 PM
  5. Copy/Paste Range of Data from Multiple Workbooks/Worksheets to Master Workbook/Worksheets
    By NumberCruncher311 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-19-2013, 08:21 PM
  6. Filter for date range across multiple columns and multiple worksheets
    By Pugface in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-02-2011, 05:30 AM
  7. Filter Data from multiple worksheets
    By blackstar in forum Excel General
    Replies: 2
    Last Post: 10-26-2006, 12:39 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