+ Reply to Thread
Results 1 to 8 of 8

Need help understanding why this formula is not working

  1. #1
    Registered User
    Join Date
    01-05-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    4

    Need help understanding why this formula is not working

    So I have data set 1 in Column A, which is connected to data set 2 in Column C. Separately, Data set 2, differently ordered, is connected to data set 3 in Columns K and L, respectively. I Want Column D to contain Data 3 rearranged to match the data in column C. This is the Current Formula I am Attempting to use:

    =Cell("Contents", ADDRESS(MATCH(C3,$K$2:$K$1033,0)+1,12,3,1,))

    I am getting the "there's a problem with this formula" textbox error, And i cant tell why. any ideas?
    Attached Files Attached Files
    Last edited by swankcookie; 01-05-2017 at 05:25 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: Need help understanding why this formula is not working

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need help understanding why this formula is not working

    Hi and welcome to the forum

    The ADDRESS() function returns Text. The second element of the CELL() expects a range.

    You may be able to use an INDIRECT function rather than the CELL() function. But upload the workbook so that we have something to work with and explain what result you expect to see.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  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: Need help understanding why this formula is not working

    CELL needs an address to use, looks like you are just giving it a number value?
    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
    01-05-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    4

    Re: Need help understanding why this formula is not working

    Sample has been uploaded.

  6. #6
    Registered User
    Join Date
    01-05-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    4

    Re: Need help understanding why this formula is not working

    That worked perfectly! thanks for your help.

  7. #7
    Registered User
    Join Date
    01-05-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    4

    Re: Need help understanding why this formula is not working

    Quote Originally Posted by Richard Buttrey View Post
    Hi and welcome to the forum

    The ADDRESS() function returns Text. The second element of the CELL() expects a range.

    You may be able to use an INDIRECT function rather than the CELL() function. But upload the workbook so that we have something to work with and explain what result you expect to see.
    This worked Perfectly! Thanks.

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Need help understanding why this formula is not working

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Understanding a formula
    By mbauman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-12-2015, 09:02 PM
  2. Understanding a formula
    By mbauman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-12-2015, 02:03 PM
  3. Help understanding a formula
    By excel0124 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-15-2013, 02:56 PM
  4. Need help understanding a formula
    By mikedonka in forum Excel General
    Replies: 2
    Last Post: 05-07-2012, 03:07 AM
  5. need help understanding a formula
    By imrainbow in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-09-2011, 01:12 AM
  6. Understanding formula
    By stu182 in forum Excel General
    Replies: 1
    Last Post: 02-05-2008, 09:22 AM
  7. NOT UNDERSTANDING THE FORMULA
    By PAPABEAR2252 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-10-2005, 08:07 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