+ Reply to Thread
Results 1 to 2 of 2

Formula for pulling multiple data within a spreadsheet

  1. #1
    Registered User
    Join Date
    12-26-2011
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    23

    Formula for pulling multiple data within a spreadsheet

    Hi guys,

    I have a spreadsheet which has around 1000 rows and 400 columns which has certain numbers. For each corresponding rows, there may not be a corresponding number in the columns i.e. the numbers within the column are spread erratically.

    I need a formula where in for each corresponding rows, if there is a corresponding number within a column, that number should populate. I have attached a spreadsheet which shows the data I have and output I need.

    I hope I have made it clear. Please let me know if you guys need anything else.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Formula for pulling multiple data within a spreadsheet

    See if this Arrayed formula works for you. In C29,

    =IFERROR(INDEX($C$3:$U$12, MATCH($B29, $B$3:$B$12,0), SMALL(IF(INDEX($C$3:$U$12, MATCH($B29,$B$3:$B$12,0),)>0, COLUMN($C$3:$U$3)-COLUMN($C$3)+1),COLUMNS($A$1:A$1))),"") copied right and down

    See attachment.
    ...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
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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. [SOLVED] Pulling multiple data from a spreadsheet to a certain criteria
    By orshims in forum Excel General
    Replies: 6
    Last Post: 02-02-2015, 07:18 PM
  2. Need Help with Formula pulling data from one spreadsheet into another
    By tht9015 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2013, 10:37 AM
  3. Replies: 1
    Last Post: 03-25-2013, 06:53 AM
  4. Replies: 4
    Last Post: 11-26-2012, 11:10 AM
  5. Replies: 1
    Last Post: 01-05-2009, 01:08 PM

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