+ Reply to Thread
Results 1 to 5 of 5

Formulas with cells that are merged

  1. #1
    Registered User
    Join Date
    12-10-2014
    Location
    Norway
    MS-Off Ver
    MS Office 2013
    Posts
    5

    Question Formulas with cells that are merged

    Shall seek the numbers in column A, and if the number is 2 in column D (E) shall result in value listed in Column I be the answer.

    Is there a formula for this?141210 Excel formel.xlsx

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Formulas with cells that are merged

    1. don't merge cells in excel!
    2. Where you want that as output?

  3. #3
    Registered User
    Join Date
    12-10-2014
    Location
    Norway
    MS-Off Ver
    MS Office 2013
    Posts
    5

    Re: Formulas with cells that are merged

    I have received spreadsheet like that. I have a separate worksheet where it is listed a lot of numbers. These numbers must I find in column A of this worksheet. I need the number printed in column I, if the number in column D-E is 2.

    Oh yes, agree, never merge cells....

  4. #4
    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,933

    Re: Formulas with cells that are merged

    Hi, welcome to the forum

    When I have to do something like this, I often add a helper column to pull in the contents of merged cells into individua cells.

    Put this in J2 and copy down...
    =IF(A2="",J1,A2)

    Once you have that, you can use a regular INDEX/MATCH to bring back what you want...
    =INDEX($I$2:$I$18,MATCH(21363429&" "&2,INDEX($J$2:$J$18&" "&D2:$D$18,0),0))
    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

  5. #5
    Registered User
    Join Date
    12-10-2014
    Location
    Norway
    MS-Off Ver
    MS Office 2013
    Posts
    5

    Re: Formulas with cells that are merged

    Thank you.
    Understood IF, but the INDEX/MATCH surpasses my understanding.

    But I helped largely, and has now managed to solve the task, with little manual work.

    Thanks again:-)

+ 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. Formulas don't count merged cells
    By PinkMafia14 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-15-2015, 04:58 AM
  2. Replies: 0
    Last Post: 11-25-2014, 07:08 AM
  3. automatically fit an image into merged cells for full width of merged cells
    By Marcin4111 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-18-2014, 03:12 PM
  4. Replies: 1
    Last Post: 06-28-2012, 11:53 AM
  5. copy/paste formulas across merged cells?
    By juanzo007 in forum Excel General
    Replies: 2
    Last Post: 11-25-2010, 11:09 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