+ Reply to Thread
Results 1 to 3 of 3

Formula only works for the first cell with that value

  1. #1
    Registered User
    Join Date
    06-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    Formula only works for the first cell with that value

    Hi

    I'm trying to populate the column with data between different worksheets. I have entered the code (below) and apllied it to a column. The results only one cell with a value from the migrated site list sheet, even though there are many sites noted in column A which are also in column A in the 'Migrated site list' sheet.
    =IF(A3='Migrated site list'!A:A,A3)

    I have checked that the format on both sheets is general. I have triedadjusting the formula, however it always provides the same result.

    Any assistance would be appreciated.

  2. #2
    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,946

    Re: Formula only works for the first cell with that value

    Hi and welcome to the forum
    That looks like an array formula...

    ...confirmed by pressing CTRL-SHIFT-ENTER to activate the array. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL-SHIFT-ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    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

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,819

    Re: Formula only works for the first cell with that value

    I think what you want is something like this:

    =IFERROR(VLOOKUP(A3,'Migrated site list'!A:A,1,0),"")

    Hope this helps.

    Pete

+ 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