+ Reply to Thread
Results 1 to 6 of 6

Index/Match and Concat using Array formula without CSE

  1. #1
    Registered User
    Join Date
    10-20-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    2010
    Posts
    38

    Index/Match and Concat using Array formula without CSE

    On 'Invoice' worksheet solve col 'E18:E26' based on cell C14 content which refers to Table 3, Table 4 or Table 5 on 'variables' worksheet

    Cell C14 is referenced from the 'Principal_Contractor' worksheet.

    My problem is getting unique information for the index/match function to give me the correct 'Unit Price' in col E on the 'Invoice' worksheet

    The attached file shows an error E23 on 'Invoice' worksheet which should read $50

    What I am saying here if you look at 'Table 3' on the 'Variables' worksheet cells in columns A,B or C can contain the same information - so I assume it needs to be concatenated in some way to make it unique
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,830

    Re: Index/Match and Concat using Array formula without CSE

    One option is this:
    Add another column to each Table on "Variables" sheet that concatenates Service and Discount (you can hide the column).
    =[@Service]&[@Discount]

    I then changed the formula in column E to:

    =IFERROR(INDEX(Table3[DP Inc Con],MATCH([@Description]&[@Disc],Table3[Column1],0)),"")

    Attached is changed version (I only added the add'l column to the "Table3" on the "Variables" sheet.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-20-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    2010
    Posts
    38

    Re: Index/Match and Concat using Array formula without CSE

    Hi Greg
    Thanks for your reply
    Your formula works well for table 3 - but if I change c14 on the 'Invoice' worksheet to '2' the formula needs to use table 4 and so on,
    So the formula needs to be dynamic to include tables 3, 4 & 5
    Mick

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,830

    Re: Index/Match and Concat using Array formula without CSE

    Would you be open to changing your tables? In the attached I put all your Variables into 1 table instead of 3 and added a column for the Contractor ID. I then added (concatenated) the Contractor ID to the new column I added before, and then changed the formula on the invoice tab to:
    =IFERROR(INDEX(Table3[DP Inc Con],MATCH($C$14&[@Description]&[@Disc],Table3[Column1],0)),"")

    Now when you change the Contractor ID to 2 or 3, the values will change.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-20-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    2010
    Posts
    38

    Re: Index/Match and Concat using Array formula without CSE

    Thanks great work - I did not see that solution coming.
    Maybe I am too old for this stuff

  6. #6
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,830

    Re: Index/Match and Concat using Array formula without CSE

    Ha! I'm probably older than you
    Glad I could help - good luck.

+ 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. How to put Concat in Index Match
    By przeziom83 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-24-2019, 10:37 AM
  2. [SOLVED] can I use CONCAT to name a table or array in a VLOOKUP formula?
    By jrtaylor in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-15-2019, 01:01 PM
  3. [SOLVED] Index, match, array formula.
    By hurrell8510 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-20-2017, 12:08 PM
  4. Replies: 3
    Last Post: 04-02-2016, 08:16 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. Nested Match(index()) vs. Match() array formula.
    By GeneralDisarray in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2011, 07:57 AM
  7. [SOLVED] Index and Match Array formula
    By Graham Haughs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-15-2006, 09:55 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