+ Reply to Thread
Results 1 to 7 of 7

Referencing rows on an export that have specific data

  1. #1
    Registered User
    Join Date
    05-26-2017
    Location
    Burnsville, MN
    MS-Off Ver
    2016
    Posts
    50

    Referencing rows on an export that have specific data

    I have a summary sheet that will reference an export sheet. I want to check the export sheet column G for the word "Demand". If it is there I want to display the corresponding value from the other cells in it's row.

    I also need these to be listed in order with no blanks.

    Export sheet

    Data I need.jpg

    Summary sheet

    Data Summerized.jpg

  2. #2
    Registered User
    Join Date
    06-04-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    54

    Re: Referencing rows on an export that have specific data

    Can you attach the sheet so that i can do it accordingly within the sheet itself

  3. #3
    Registered User
    Join Date
    05-26-2017
    Location
    Burnsville, MN
    MS-Off Ver
    2016
    Posts
    50

    Re: Referencing rows on an export that have specific data

    Unfortunately no, there is some CPNI on it, that I can not share. If I were able to only move and populate the cells in column G with the corresponding node name in column A I could Index Match the rest.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Referencing rows on an export that have specific data

    Try

    on "Summary Sheet"

    =IFERROR(INDEX('Export Sheet'!$A$2:$A$1000,SMALL(IF($G$2:$G$1000="Demand",ROW('Export Sheet'!$A$2:$A$1000)-ROW($A$2)+1,""),ROWS($A$2:A2))),"")

    Change Sheet/range as required

    ...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.

    This will return "Node" from column A

  5. #5
    Registered User
    Join Date
    05-26-2017
    Location
    Burnsville, MN
    MS-Off Ver
    2016
    Posts
    50

    Re: Referencing rows on an export that have specific data

    Sorry, I can't seem to get that solution working. I changed the cell references and made sure the array was active, but I only get blanks (actually #N/A), due to the IFERROR.

    Any chance you could spell it out so I could follow the logic, I'm a newbie to formulas in Excel. I'm not sure what Row and Small functions are doing for me.

    Here is what I used:

    =IFERROR(INDEX('Demand Ticket Setup'!$A$2:$A$4000,SMALL(IF($G$5:$G$4000="Demand",ROW('Demand Ticket Setup'!$A$2:$A$4000)-ROW($A$5)+1,""),ROWS($A$5:A5))),"")

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Referencing rows on an export that have specific data

    Try

    =IFERROR(INDEX('Demand Ticket Setup'!$A$2:$A$4000,SMALL(IF($G$2:$G$4000="Demand",ROW('Demand Ticket Setup'!$A$2:$A$4000)-ROW($A$2)+1,""),ROWS($A$2:A2))),"")

    I you still have problems, post the subset of the file that is in your image: A1:H40 as it (apparently) does NOT contain confidential information.
    Last edited by JohnTopley; 06-25-2017 at 03:42 AM.

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Referencing rows on an export that have specific data

    Another way. It is the same idea as JohnTopley's and is a non array solution. I've supplied my own stripped down file.

    It uses a helper column to assign indexing numbers with this formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Then this formula in the summary.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Can you adapt this?
    Dave

+ 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. Export specific data from .csv
    By dmkorty in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-20-2017, 10:43 AM
  2. Export data to a specific worksheet
    By neilsy1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-19-2017, 05:36 AM
  3. [SOLVED] Export specific rows of data into unique outlook emails per client
    By ryanexceln00b in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-24-2013, 09:24 AM
  4. Macro to export specific data only....
    By BAWILS in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-04-2013, 04:51 PM
  5. Replies: 6
    Last Post: 10-30-2012, 08:33 PM
  6. Cmd to export data in excel specific cell
    By coolieku in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-09-2009, 11:48 PM
  7. Export data from a SAP specific table
    By noliveira in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2008, 10:41 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