+ Reply to Thread
Results 1 to 6 of 6

Extract all rows from a range that meet a numerical criteria in a column (multiple sheets)

  1. #1
    Registered User
    Join Date
    06-03-2016
    Location
    houston, tx
    MS-Off Ver
    2013
    Posts
    11

    Extract all rows from a range that meet a numerical criteria in a column (multiple sheets)

    I am having a bit of an issue, i have some warehouse supplies tabbed out on different sheets which show a part #, item description, location, UOM, and then a qty ordered column. What i have done is created a formula to where when a value equal to or higher than a 1 is entered in the qty ordered column it copies that row of information and paste it into sheet 1 which is basically an order form at that point. I also have a data tab i am referencing so it knows what column to read and what values to look for (ie: greater than 1, less than 100, column 3 etc) my formula is below , the problem is now that i have got it to work with my aerial equipment sheets how do i ad the three additional sheets (splicing, underground, misc) to work the same so if you enter a qty on any of those sheets it function the same basically transferring rows with qtys from all sheets over to my first sheet (order form)?? In the end i am trying to have 1 order form that populated from all 4 sheets. When i try to ad them i just get formula errors.

    Any help is greatly appreciated, again formula works between 1 sheet to the order form but i can not get it to work with all 4 sheets together, maybe wrong formula? too many arguments? how to add? also i am using excel 2013

    ***i have added the file i have partially working, i need sheets splicing, underground, and misc to work the same as aerial. hope this helps to understand better

    =IFERROR(INDEX(Aerial!$A$2:$E$100, SMALL(IF((INDEX(Aerial!$A$2:$E$100, , Data!$B$4)<=Data!$B$3)(INDEX(Aerial!$A$2:$E$100, , Data!$B$4)>=Data!$B$2)(INDEX(Splicing!$A$2:$E$100, SMALL(IF((INDEX(Splicing!$A$2:$E$100, , Data!$B$4)<=Data!$B$3)*(INDEX(Splicing!$A$2:$E$100, , Data!$B$4)>=Data!$B$2), MATCH(ROW(Aerial!$A$2:$E$100), ROW(Aerial!$A$2:$E$100)), ""), MATCH(ROW(Splicing!$A$2:$E$100), ROW(Splicing!$A$2:$E$100)), "") ROWS('Order sheet'!A2:$A$2)), COLUMNS(Aerial!$A$1:A1)),"")
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Extract all rows from a range that meet a numerical criteria in a column (multiple she

    I suppose that you could get that to work eventually.

    But I would use a simple macro and not use any formulas at all.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    06-03-2016
    Location
    houston, tx
    MS-Off Ver
    2013
    Posts
    11

    Re: Extract all rows from a range that meet a numerical criteria in a column (multiple she

    Thanks for the advice, i am not familiar with working with macros, any suggestions?

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Extract all rows from a range that meet a numerical criteria in a column (multiple she

    Hi,

    Instead of using formulas, this is a perfect place to use Advanced Filters. Append all your sheet data to a single table. I've done this to sheet1. I've also made a Dynamic Named Range of "AllData" to span the data on sheet1. Then put a small Criteria Range on your order sheet. Add some quantities to sheet1 and click on the Data Tab and Advanced Filter. See the attached where I've done this. No formulas needed, simply learn how to use Advanced Filters.

    Order Sheet using Advanced Filters.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Extract all rows from a range that meet a numerical criteria in a column (multiple she

    I suppose that you could get that to work eventually.

    But I would use a simple macro and not use any formulas at all.

    Select the developer tab
    select visual basic
    Select view and then project explorer

    Identify your workbook in the list, you will see all your sheets listed and one sheet labelled "This Workbook"

    Double Click on "This Workbook" and paste this code in the window that opens and then close it.

    Enjoy.

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 05-23-2018 at 08:12 PM.

  6. #6
    Registered User
    Join Date
    06-03-2016
    Location
    houston, tx
    MS-Off Ver
    2013
    Posts
    11

    Re: Extract all rows from a range that meet a numerical criteria in a column (multiple she

    You my friend are a life saver, i would have never figured that out. I greatly appreciate you taking time out of your day to help with this. That is exactly what i was looking for and needed.

    Again thanks!!

+ 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. Replies: 3
    Last Post: 07-19-2017, 11:19 AM
  2. [SOLVED] Formula to extract list of items in column that also meet 2 criteria in the same row
    By PeteABC123 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-11-2016, 07:00 PM
  3. [SOLVED] Deleting rows where range of cells meet two criteria
    By dubcap01 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-23-2015, 04:50 AM
  4. [SOLVED] Count of rows in an array that meet criteria in column 2 and different criteria in column3
    By reynoldslarry in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-09-2013, 01:51 AM
  5. Replies: 0
    Last Post: 02-16-2013, 01:39 PM
  6. Countif all rows of a sheet that meet multiple criteria
    By yenaled in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-05-2013, 03:18 PM
  7. [SOLVED] How to make a formula meet two criteria, including a range of different sheets
    By VivatMartin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-21-2012, 04:51 AM

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