+ Reply to Thread
Results 1 to 3 of 3

Writing a function

  1. #1
    Registered User
    Join Date
    06-27-2012
    Location
    othseco correct
    MS-Off Ver
    Excel 2010
    Posts
    37

    Writing a function

    Ok. Need some help here.

    I need to write a function that returns the value of a merged cell that I can plug in to a spreadsheet to get the value of the merged cell to the right.

    Here is what I am trying to do.

    So I have a colum of data 1000 lines. Some of the cells are merged together in the collum some are not. I need a formula to return the value of the cell to the left in the cell to the right. If the cell to the left is merged. I need the merged value in all the cells to the right of the merged cells. Some of the merged cells are three cells, others are up to 10 merged cells in a collum. There are also merged cells with blanks I need to return a blank cell to the right. Also Merged cells with a blank below a merged cell with a value. Like the photo listed.


    See example.
    Attached Images Attached Images
    Last edited by frisbie17; 09-10-2012 at 10:12 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Writing a function

    Please Login or Register  to view this content.
    Usage: =GETMARGECONTENT(A3)
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    06-27-2012
    Location
    othseco correct
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Writing a function

    That worked perectly. Thanks Andy.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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