+ Reply to Thread
Results 1 to 11 of 11

gathering values based off critieria and in turn forming a list

  1. #1
    Registered User
    Join Date
    04-02-2014
    Location
    North Carolina, USA
    MS-Off Ver
    Excel 2010
    Posts
    25

    gathering values based off critieria and in turn forming a list

    ok lets say you have thousands of rows of raw data and you are running vlookups to pull specific data from the raw data to update your spreadsheet. Your raw data consist of some new ideas so when you vlook up, you get an error. In my case i get about 50 errors all spaced out amoung the thousands of rows or raw data. I would like to create a formula that would go and find the error and output a code/value that already exist in the raw data and output that in Cell D1 for example. The it will go and find the second error and output that into cell D2 and then the third error and output that into D3 and so on.....

    The idea is that when its done a list of all the errors will have been created so then i can use other formulas to simple add the new info to the workbook. Instead of search through thousands of rows for the errow.

    Pivot tables are not an option at the moment or sorting of any kind.


    thanks!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: gathering values based off critieria and in turn forming a list

    Please Login or Register  to view this content.
    Always curious why not?

    Use CTRL + H (find and replace).
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: gathering values based off critieria and in turn forming a list

    Or filtering - filter just the errors.

  4. #4
    Registered User
    Join Date
    04-02-2014
    Location
    North Carolina, USA
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: gathering values based off critieria and in turn forming a list

    thank you for your post, but as i mentioned any form of sorting is not an option at the moment. I would like the excel sheet to reconize the errors and grab the identifier cell and put in a list fashion in another part of the excel sheet.

    Almost as if you made a critieria for =CONCATENATE( to collect all the identifiers that have an error and CONCATENATE with a comma inbetween each item then some how seperate the string of data using another formula to pull the first item and then in the cell below that to put the second item and so on..... so it builds a list. then i can use the identifier once in the list to vlook up all the correct info and easily updat the sheet from there.

    Make sense?

  5. #5
    Registered User
    Join Date
    04-02-2014
    Location
    North Carolina, USA
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: gathering values based off critieria and in turn forming a list

    auto list.xlsx

    Please use the attachment for a referance.

    Thanks!

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: gathering values based off critieria and in turn forming a list

    Like gak67 already told you, with an filter on the value error.

    See the attached file.

  7. #7
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: gathering values based off critieria and in turn forming a list

    With formula, just for your sample file
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: gathering values based off critieria and in turn forming a list

    Filtering is not sorting. Filter the errors, copy the filtered data (ie the new items) to another sheet and use that to add it into your main data to eliminate the errors.

  9. #9
    Registered User
    Join Date
    04-02-2014
    Location
    North Carolina, USA
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: gathering values based off critieria and in turn forming a list

    Quote Originally Posted by azumi View Post
    With formula, just for your sample file
    Just what i was looking for!

    thanks!

  10. #10
    Registered User
    Join Date
    04-02-2014
    Location
    North Carolina, USA
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: gathering values based off critieria and in turn forming a list

    azumi,

    Again thank you for this formula. I have used it many times. I've used it so much in a wookbook that it made calculations take 30 mins.... Do you have a way of doing the same task but in VBA purhaps?

  11. #11
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: gathering values based off critieria and in turn forming a list

    Change to this, more faster than previos formula:

    Non Array Formula:
    =IFERROR(INDEX(B$8:B$19,AGGREGATE(15,6,(ROW($B$8:$B$19)-MIN(ROW($B$8:$B$19))+1)/($E$8:$E$19="Error"),ROWS($A$1:$A1))),"")

    just ENTER and copy cross and down

+ 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. Returning value in row based on Critieria
    By lkoll in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-06-2013, 03:43 AM
  2. Replies: 0
    Last Post: 12-28-2012, 06:24 PM
  3. [SOLVED] Sum of data based on two critieria
    By JohnDowds in forum Excel General
    Replies: 5
    Last Post: 06-07-2012, 03:23 AM
  4. Choose a value based on 2 cell Critieria
    By raghuram_g in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 10-26-2011, 12:12 PM
  5. protect cell based on another cells critieria?
    By djarcadian in forum Excel General
    Replies: 7
    Last Post: 03-07-2009, 02:06 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