+ Reply to Thread
Results 1 to 5 of 5

Match Index and Concatenate Formula

  1. #1
    Registered User
    Join Date
    04-28-2015
    Location
    sterling heights, MI
    MS-Off Ver
    MI
    Posts
    53

    Match Index and Concatenate Formula

    Hi!
    I have been working on many ways to create a Match Index formula (and soon will add a Concatenate formula for the pathway as the workbook and folder numbers will change).

    The function of this formula will create a process where anyone can copy, paste and insert rows to the bottom of a list without touching any formulas.

    The objective is to have a main workbook (here I will call it Example_2) where it will accumulate all of the hours for each employee from a bunch of closed job workbooks (and I will call this XX2825_Document Schedule.xlsm). -These workbooks are attached to this post with some comments in the Example_2 workbook.

    I don't know if this will make it more complicated though right now in the job workbook, XX2825_Document Schedule, there will be a column with the employee's initials and the next column will be the hours hey worked per day. There can be a little over a year worth of workdays total per job. I need the XX2825_Document Schedule workbook's date and employee's initials match up to the Example_2 workbook initials and dates. Though, I am still not pulling any data and not getting any error messages. Can someone please suggest where I am going wrong. Attached are the 2 workbooks I am trying these codes out on.

    code #1:

    Please Login or Register  to view this content.
    or code #2:
    Please Login or Register  to view this content.
    If there are any suggestions I am all ears.
    Thank You!!!
    Kirsten
    Attached Files Attached Files
    Last edited by JBeaucaire; 10-03-2015 at 11:51 AM. Reason: Fixed CODE and /CODE tags

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Match Index and Concatenate Formula

    Have not looked at your formula yet, but unless I misunderstand you, this part wont work like that...
    I have been working on many ways to create a Match Index formula (and soon will add a Concatenate formula for the pathway as the workbook and folder numbers will change).
    To add a varialble file name/path, you will need to use INDIRECT, as excel does not accept text in forlulas like that - and for INDIRECT to work, the source file needs to be OPEN
    (just something to consider)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Match Index and Concatenate Formula

    Also, you can't use MATCH with an array like this: MATCH($D53,$B$556:$UW$577,0), only with a single column.
    The way the hour tables are structured makes them a bit hard to work with. It would be better if they were laid out in a traditional data table way, put the date + names as headers. Using the Excel Table feature the table range will expand automatically as data is added.
    I may look into this more later.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  4. #4
    Registered User
    Join Date
    04-28-2015
    Location
    sterling heights, MI
    MS-Off Ver
    MI
    Posts
    53

    Re: Match Index and Concatenate Formula

    Thank you! I will then make my Job worksheets as a traditional format and not have the employees' initials in every other column.
    Though for the indirect vs concatenate issue, is there another formula or method I can use? I add a column where the pathway can be located (and hidden/locked) and then the match index (or another) formula can use that cell value. Would this work? I have been manipulating and changing the formula and feeling a little defeated, so any suggestions you may have please let me know.
    Thank you!!!!!!

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Match Index and Concatenate Formula

    Though for the indirect vs concatenate issue, is there another formula or method I can use?
    This is not a "this way or that way" situation. If you are referencing a cell that contains text to be used in a formula, you need to use INDIRECT, that is pretty much the only way excel will let you do that.

    So, if you have a list of files (or sheet names), and you want a formula tjhat will reference those, you have to use INDIRECT to be able to inclue that in the formula.

+ 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 Index, Small Index with Concatenate
    By kharding15 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-30-2015, 05:38 PM
  2. Index/ Match and Concatenate on muliple answers
    By Burt_100 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-05-2014, 03:41 PM
  3. Help Using Concatenate with Index Match
    By billyshears in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-25-2013, 10:09 AM
  4. [SOLVED] Index, Match and Concatenate
    By mmayna03 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-17-2012, 09:55 PM
  5. [SOLVED] INDEX-MATCH w/ CONCATENATE
    By zamgold in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-25-2012, 11:08 AM
  6. [SOLVED] Index/Match or sumproduct with concatenate
    By pauldaddyadams in forum Excel General
    Replies: 14
    Last Post: 04-18-2012, 12:30 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