+ Reply to Thread
Results 1 to 4 of 4

Return non blanks from multiple columns in multiple sheets

  1. #1
    Registered User
    Join Date
    08-25-2015
    Location
    cph, denmark
    MS-Off Ver
    2010
    Posts
    2

    Return non blanks from multiple columns in multiple sheets

    image 2.PNG

    Please consider the attached image.

    I have three sheets. Two input sheets and one output sheet. I am searching for a formula to use in the output sheet. I have been trying different combinations with index match, but I can't find a solution.
    Anyway, the formula should result in a output sheet like in the example. Hence, I need the formula to return non-blanks from column 2 and 4 (input sheets) and the corresponding products from column 1 and 3.

    It is not an option to combine column 1 and 3 (input sheets) in one single column.

    Any help is much appreciated

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Return non blanks from multiple columns in multiple sheets

    Hi,

    I do not see the point to not let first cumulate data and then do selection normal way, but if you for some reason want to play with it - why not.

    See attached file. In Out sheet there is one helper column D (which could be included in main formulas, but they are anyway rather long, so I decided to leave it there). There are formulas like
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    the spreadsheet will work quicker if you do reasonable limiting of ranges like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    or similar. (It will be especially impotrant in last formula.)
    in B2 rather simple array formula* and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In A2 and copied down rather long one (and again array formula):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    With this one limiting of scopes from A:A to say A1:A100 (here I'd recommend using A1, not A2, even if row 1 is with headers) would result in nice speed gain.


    *)...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
    Best Regards,

    Kaper

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Return non blanks from multiple columns in multiple sheets

    As for excel functions (not Formulas) - you can easily get the result using Pivot Table (with consolidated several data tables - as you have office 2010 check here how to use this option - it was available in menu only until excel 2003 - http://www.contextures.com/xlPivot08.html )
    Note that a pivot table requires manual refreshing (as opposite to formulas)
    See attachment (note it has the same name, as previous one, but output sheet is quite different).
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    08-25-2015
    Location
    cph, denmark
    MS-Off Ver
    2010
    Posts
    2

    Re: Return non blanks from multiple columns in multiple sheets

    Thank you! The first solution works perfect

+ 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. Match & return data across multiple sheets, multiple criteria
    By mrsproctor in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-18-2015, 06:01 PM
  2. Lookup and return multiple matches across multiple sheets
    By somnath6309 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-07-2013, 02:44 AM
  3. Lookup and return multiple matches across multiple sheets
    By somnath6309 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2013, 03:45 PM
  4. Vlookup function to return multiple values from multiple sheets
    By bsamant in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2013, 11:31 AM
  5. Return Multiple Values with multiple rows & multiple columns
    By sachin parab in forum Excel General
    Replies: 2
    Last Post: 11-05-2012, 10:21 AM
  6. Search multiple sheets and return list of multiple results
    By Abuck in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-07-2012, 11:59 AM
  7. Replies: 2
    Last Post: 06-29-2011, 01:36 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