+ Reply to Thread
Results 1 to 4 of 4

Problem using index match with merged cells

  1. #1
    Registered User
    Join Date
    02-08-2020
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    66

    Problem using index match with merged cells

    I have data that exports into excel in the format shown in the tab called "Data Export." I am trying to then create a formula (in the Sheet2 tab) that pulls in YTD cumulative numbers by account, by product. The formula I've used (as shown in my sample workbook), pulls in the first row of data but doesn't sum which I think has to do with the fact that the account in Column A is merged. Is there a formula for this without having to un-merge column A?
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Problem using index match with merged cells

    Please try at B6

    =SUMPRODUCT(--(LOOKUP(ROW('Data Export'!$A$3:$A$8),ROW('Data Export'!$A$3:$A$8)/('Data Export'!$A$3:$A$8>0))=MATCH($A6,'Data Export'!$A:$A,)),INDEX('Data Export'!$C$3:$F$8,,MATCH(LOOKUP("z",$B$4:B$4),'Data Export'!$C$1:$F$1,)+MATCH(B$5,'Data Export'!$C$2:$D$2,)-1))
    Attached Files Attached Files

  3. #3
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Problem using index match with merged cells

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-08-2020
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    66

    Re: Problem using index match with merged cells

    This solution worked great. Thank you!

+ 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. Problem with Merged cells
    By PAUL P ACHUMI in forum Excel General
    Replies: 6
    Last Post: 02-20-2018, 09:20 AM
  2. INDEX, MATCH, HYPERLINK and ADDRESS functions in merged cells.
    By ranierimp in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-10-2018, 12:14 PM
  3. Index & Match - not working on merged cells
    By sm.salford in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-17-2013, 05:01 PM
  4. [SOLVED] Vlookup / index match against Merged Cells (second query!)
    By Deventus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-14-2012, 07:50 AM
  5. Sort merged cells VBA problem
    By Mayweed in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-26-2010, 11:53 AM
  6. Merged Cells Problem
    By interested1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-27-2007, 03:42 PM
  7. [SOLVED] problem with height of merged cells
    By Adev111 in forum Excel General
    Replies: 1
    Last Post: 05-15-2006, 11: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