+ Reply to Thread
Results 1 to 4 of 4

Pull stock code , description and pack from sheet1

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Pull stock code , description and pack from sheet1

    Formula on a4 b4 and c4 to drag down

    Should work on 7500 rows of sheet1

    The feed will be b1 the keyword , meaning if I type ARIZONA ,
    it should pull all codes with the word Arizona anywhere on the
    description

    The expected answer for if I type QUARRY should be

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Pull stock code , description and pack from sheet1

    Use this array formula A4 on sheet 2.

    pull formula across and down.

    =IFERROR(INDEX(Sheet1!A:A,SMALL(IF(ISNUMBER(SEARCH($B$1,Sheet1!$B$2:$B$21)),ROW(Sheet1!$A$2:$A$21)),ROWS(A$1:A1))),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Attached Files Attached Files
    Last edited by AlKey; 12-14-2014 at 01:43 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull stock code , description and pack from sheet1

    Thank you very much ALKEY,

    I edit the formula for 7500 rows and works
    very clean , something to be happy about
    is its not slow at all

  4. #4
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pull stock code , description and pack from sheet1

    It not case sensitive too , I had one version of the same that only worked on
    CAPITAL words

+ 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. VBA Code to pull Stock Balance Sheet Data from a Stock Symbol in a cell
    By akash1229 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 02-27-2015, 04:37 PM
  2. stock description changes
    By makinmomb in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-21-2014, 05:58 AM
  3. [SOLVED] I need code to pull radio option selection on sheet1 to sheet2
    By TAMMY32 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-07-2014, 11:46 PM
  4. Replies: 2
    Last Post: 07-22-2014, 07:44 AM
  5. Replies: 6
    Last Post: 07-01-2011, 09:38 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