+ Reply to Thread
Results 1 to 12 of 12

Index Match Functions - Duplication of Text

  1. #1
    Registered User
    Join Date
    11-07-2016
    Location
    Barbados
    MS-Off Ver
    2010
    Posts
    24

    Index Match Functions - Duplication of Text

    I am currently having an issue with some data that I am using. I am using the index and match functions to automatically filter some information that I am working with. However my challenge is due to the duplication of variables in the source information; which the index and match formula do not account for.

    In reviewing a similar thread I know the Small function assists with duplication, however it's focus is on the duplication of values rather than text.

    What formula can I use that would assist with the duplication of text in the index and match functions? I have attached a sample of the structure of my data, where you can see the formula that I've used.

    Please find the attached file.

    Any assistance is appreciated!
    Attached Files Attached Files
    Last edited by Livvi; 11-09-2016 at 11:53 AM. Reason: Updated the Excel File

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,895

    Re: Index Match Functions - Duplication of Text

    Why don't you use the No column (A) as the lookup value? Those seem to be unique, and you could use VLOOKUP rather than INDEX/MATCH.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-07-2016
    Location
    Barbados
    MS-Off Ver
    2010
    Posts
    24

    Re: Index Match Functions - Duplication of Text

    Quote Originally Posted by Pete_UK View Post
    Why don't you use the No column (A) as the lookup value? Those seem to be unique, and you could use VLOOKUP rather than INDEX/MATCH.

    Hope this helps.

    Pete
    My apologies, that column shouldn't have been used. I prepared a sample table of the file I'm using. The actual file itself isn't numbered like that, hence why I have to use Index/Match Function rather than a simple vlookup.

    Also, I have multiple categories so for example, the table has able 20 - 30 sections, rather than just that one table at the beginning. The source information also does not have a"No." column.

    My apologies again I should have excluded that from sample file. If there were numbered life would be so much easier! But unfortunately not, hence the reason for the Index/Match function.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,909

    Re: Index Match Functions - Duplication of Text

    1) Paste the following array entered formula in TP1!C3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    2) Press the F2 key,
    3) Simultaneously press Ctrl, Shift and Enter,
    4) Copy down and across
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,895

    Re: Index Match Functions - Duplication of Text

    You said in the first post that you wanted to filter some information to the other sheet, although the file that you attached (subsequently amended) just shows a straight copy of the data.

    How would you envisage that the filtering would work? Would you have a drop-down in a cell in the TP1 sheet which would allow you to choose from a list? Which column would you like this to act upon - the name, or the status, or something else?

    Pete

  6. #6
    Registered User
    Join Date
    11-07-2016
    Location
    Barbados
    MS-Off Ver
    2010
    Posts
    24

    Re: Index Match Functions - Duplication of Text

    Quote Originally Posted by Pete_UK View Post
    You said in the first post that you wanted to filter some information to the other sheet, although the file that you attached (subsequently amended) just shows a straight copy of the data.

    How would you envisage that the filtering would work? Would you have a drop-down in a cell in the TP1 sheet which would allow you to choose from a list? Which column would you like this to act upon - the name, or the status, or something else?

    Pete
    Hi Pete,
    Let me further explain.

    The structure of the file that I am currently working with is a bit more extensive. I only provided a sample of what it actually looks like. I changed the file “No.” because technically the real information is not like that, i.e the variables aren’t really numbered like that. Hence the reason I updated the excel file.

    Essentially TP1 has that same structure, but like 20 – 30 sections/categories. SI is the raw source data, which varies significantly, for example, today the file may have 20 variables tomorrow it could 150 variables. Also there are no unique variables that I can use to do a simple vlookup, hence why I needed to use the Index/Match function.

    What I have done is preformat the TP1 table, as I know that there are some instances (not all) where certain variables will always be captured under a particular category. For example, if one category is for Vegetables, then only Tomatoes, Cucumbers, Sweet Peppers etc. can be in that section. So…I already have the variable titles prelisted under its respective category in TP1.

    The problem I have is that the source data may have, using an example again, Cucumbers listed twice but the price, the weight or some other category may vary. Therefore what I need is that if I have cucumbers in my preformatted list twice that it doesn’t duplicate the first instance from the source data.

    Also there are instances were items may be abbreviated or have some other variance. So my preformatted table can capture some items but not everything. There will definitely still be some form of manual intervention throughout the process. I am just trying to automate the process where it’s most possible.

    I was trying to keep my example as simple as possible not to lose anyone, I know it is a tad bit confusing when you’re not seeing the full picture.

  7. #7
    Registered User
    Join Date
    11-07-2016
    Location
    Barbados
    MS-Off Ver
    2010
    Posts
    24

    Re: Index Match Functions - Duplication of Text

    Thanks I'll try this out and see how it works with what I am working on!

  8. #8
    Registered User
    Join Date
    11-07-2016
    Location
    Barbados
    MS-Off Ver
    2010
    Posts
    24

    Re: Index Match Functions - Duplication of Text

    Quote Originally Posted by JeteMc View Post
    1) Paste the following array entered formula in TP1!C3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    2) Press the F2 key,
    3) Simultaneously press Ctrl, Shift and Enter,
    4) Copy down and across
    Let us know if you have any questions.

    Thanks I'll try this out and see how it works with what I am working on!

  9. #9
    Registered User
    Join Date
    11-07-2016
    Location
    Barbados
    MS-Off Ver
    2010
    Posts
    24

    Re: Index Match Functions - Duplication of Text

    Quote Originally Posted by JeteMc View Post
    1) Paste the following array entered formula in TP1!C3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    2) Press the F2 key,
    3) Simultaneously press Ctrl, Shift and Enter,
    4) Copy down and across
    Let us know if you have any questions.

    Hi JeteMac,

    So I was able to use this in the sample I provided, but I'm having issues using it for a larger data set. What if the data in the SI tab had like over 80 variables? I tried to make adjustments to the formula, but I'm not having much luck.

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,909

    Re: Index Match Functions - Duplication of Text

    When you say over 80 variables I am assuming that you mean there could be more than 80 names in column A of the SI sheet. I have updated the array entered formula to look at 200 names:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Remember to activate the array entered formula as described in post #4, because simply pressing the enter key will result in incorrect results.
    Let us know if you have any questions.

  11. #11
    Registered User
    Join Date
    11-07-2016
    Location
    Barbados
    MS-Off Ver
    2010
    Posts
    24

    Re: Index Match Functions - Duplication of Text

    Quote Originally Posted by JeteMc View Post
    When you say over 80 variables I am assuming that you mean there could be more than 80 names in column A of the SI sheet. I have updated the array entered formula to look at 200 names:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Remember to activate the array entered formula as described in post #4, because simply pressing the enter key will result in incorrect results.
    Let us know if you have any questions.
    Thanks this worked! I probably made an error somewhere. Thanks for the assistance!

  12. #12
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,909

    Re: Index Match Functions - Duplication of Text

    You're Welcome and thank You for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools link above your first post. I hope that you have a blessed day.

+ 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. INDEX MATCH Functions
    By paddyanglais91 in forum Excel General
    Replies: 7
    Last Post: 11-03-2016, 11:17 AM
  2. Tie Breaking a Index/Match Duplication
    By fearonc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-26-2015, 04:41 PM
  3. [SOLVED] Index/Match/Large Duplication of items; not returning true values
    By Darren_Rix in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2013, 07:27 AM
  4. [SOLVED] Help with INDEX/MATCH functions
    By kenadams378 in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 10-29-2012, 09:33 AM
  5. Index & Match Text Functions
    By dooredge in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2012, 04:28 PM
  6. [SOLVED] Index / match functions
    By Helppplease in forum Excel General
    Replies: 7
    Last Post: 05-09-2012, 02:35 AM
  7. INDEX/MATCH functions
    By mrmunka in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-10-2007, 11: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