+ Reply to Thread
Results 1 to 3 of 3

Dividing merged cell in two different sheet

  1. #1
    Registered User
    Join Date
    02-04-2020
    Location
    USA
    MS-Off Ver
    MS office pro 365
    Posts
    2

    Question Dividing merged cell in two different sheet

    I have two different excel sheet with merged value. Suppose, column A of sheet 1 has merged row (A2:A5), (A6: A10) and so on and column B of sheet 2 has merged row (D2:D5), (D6:D15), (D16:D20) etc, . I am trying to divide the value of column 1 by column 2 like (A2:A5)/(D2:D5), (A6: A10)/(D6:D15),.... , but I am getting wrong value for second division. Numerator value is changing but the denominator remains same. Sorry , yy sentence must be confusing. This is what I am getting:

    (A2:A5)/(D2:D5)
    (A6: A10)/(D2:D5)

    But actually I should get
    (A2:A5)/(D2:D5)
    (A6: A10)/(D6:D15)

    Please help.

    Anjani

  2. #2
    Registered User
    Join Date
    02-04-2020
    Location
    USA
    MS-Off Ver
    MS office pro 365
    Posts
    2

    Re: Dividing merged cell in two different sheet

    I have attached sample files
    Attached Files Attached Files

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

    Re: Dividing merged cell in two different sheet

    Hello anji001 and Welcome to Excel Forum.
    Perhaps the following will help.
    Produce a list of distinct Names. This could be done by copying the column from sheet 2 > utilize the Find & Select feature (Home tab) > Go to Special > select Blanks > OK > using the mouse right click and select Delete > move cells up.
    To get the values use the formula: =INDEX(Sheet1!D$2:D$19,MATCH(G2,Sheet1!$C$2:$C$19,0))/INDEX(D$2:D$5,MATCH(G2,C$2:C$5,0))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Merged cell error on copy/paste, but no merged cells
    By OmniBlue in forum Excel General
    Replies: 3
    Last Post: 07-15-2019, 02:15 PM
  2. Replies: 1
    Last Post: 09-27-2018, 11:22 AM
  3. Copy row wise data into a merged cell from sheet 1 to sheet2
    By friendlykashish in forum Excel General
    Replies: 8
    Last Post: 11-25-2014, 09:12 PM
  4. Limit merged cell data; Place excess into next merged cell down
    By coreytroy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2013, 10:35 PM
  5. [SOLVED] VB:ClearContents Error on Merged Cell - But I dont have Any Merged Cell
    By cychua in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-24-2013, 06:33 AM
  6. if find merged cell in a range change the reference sheet value to 0
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-06-2011, 07:41 AM
  7. how do i link merged cells to a merged cell in another worksheet.
    By ibbm in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-27-2006, 06:45 PM

Tags for this Thread

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