+ Reply to Thread
Results 1 to 4 of 4

Refernce list from seperate sheet and exclude blanks

  1. #1
    Registered User
    Join Date
    04-21-2017
    Location
    Sunshine Coast, Australia
    MS-Off Ver
    2013
    Posts
    39

    Refernce list from seperate sheet and exclude blanks

    Hi Guys,

    I have en excel document that references a schedule produced every few days in the same format. I need excel to reference a list when the schedule is drag and dropped into a sheet. However i need it to remove the blanks in the list,

    I'm using this formula, but it doesn't work when referncing the sheet "Tr7" list E7:E57, and return to active sheet A15:A65


    IF(ROW()-ROW($A$15:$A$65)+1>ROWS('Tr7'!$E$7:$E$57)-COUNTBLANK('Tr7'!$E$7:$E$57),"",INDIRECT(ADDRESS(SMALL((IF('Tr7'!$E$7:$E$57<>"",ROW('Tr7'!$E$7:$E$57),ROW()+ROWS('Tr7'!$E$7:$E$57))),ROW()-ROW($A$15:$A$65)+1),COLUMN('Tr7'!$E$7:$E$57),4)))

    No idea why this doesn't work, i've tried creating names for ranges also
    Attached Files Attached Files
    Last edited by Parmx; 04-21-2017 at 01:36 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,486

    Re: Refernce list from seperate sheet and exclude blanks

    Welcome to the forum!

    Will you please attach a sample Excel workbook?
    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,277

    Re: Refernce list from seperate sheet and exclude blanks

    Dear Parmx, Firstly i suggest you, to kindly change data structure in sheet "Tr7".
    Secondly, date as per not format. Date always in date format only.
    Look attach file. I have modified data structure. When maintaining data to avoid any blank row / column.

    In sheet "Cycle Schedule" column "A" data extract from sheet "Tr7" "Material" using formula if, index, match, small, row.
    Column "B", "C", "E" using index match criteria with "Material"
    not know in column "D" & "F" which data you want to pull up.
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  4. #4
    Registered User
    Join Date
    04-21-2017
    Location
    Sunshine Coast, Australia
    MS-Off Ver
    2013
    Posts
    39

    Re: Refernce list from seperate sheet and exclude blanks

    Thanks avk!
    Last edited by Parmx; 04-23-2017 at 08:16 PM.

+ 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. Exclude Blanks
    By excelnoob927 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-22-2015, 06:53 PM
  2. Vertically list from J10 in a seperate sheet
    By Crakkermack in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-22-2014, 12:51 AM
  3. Exclude blanks from formula
    By ads100 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-07-2012, 06:17 PM
  4. [SOLVED] Dynamic Drop Down List - exclude blanks
    By Econocrat in forum Excel General
    Replies: 7
    Last Post: 08-24-2012, 02:10 PM
  5. Replies: 1
    Last Post: 07-30-2012, 02:35 PM
  6. Excel 2007 : MIN, AVE, MAX values but exclude blanks
    By Quagga in forum Excel General
    Replies: 7
    Last Post: 07-15-2010, 02:29 PM
  7. List Item by Date on seperate sheet
    By ospaur in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-13-2009, 12:07 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