Results 1 to 17 of 17

INDEX & MATCH = "#NAME?" Error.

Threaded View

  1. #1
    Registered User
    Join Date
    01-28-2011
    Location
    Modesto, CA
    MS-Off Ver
    Excel 2007
    Posts
    25

    INDEX & MATCH = "#NAME?" Error.

    Hello again. I've change the argument format on my "Sub TaskDescription()". It works, except that it keeps repeating the first value throughout the whole column. HOWEVER, the same formula WORKS PERFECT on a REGULAR EXCEL CELL. All suggestions are welcome. Thanks.
    This is my new Sub:
    [CODE]Sub TaskDescription()
    Range("ScopeOfWork[TASK DESCRIPTION]") = _
    [INDEX(TaskDescription[TASK DESCRIPTION],MATCH(ScopeOfWork[CODE],TaskDescription
    ,0))]
    End Sub
    Hi There. I'm developing a project. Trying to match my "ScopeOfWork[CODE]"-COLUMN with my "TaskDescription[TASK DESCRIPTION]"-COLUMN using the INDEX/MATCH functions. But I am getting the "#NAME?"-ERROR. Can someone help to find my mistake? Thanks.
    I've attached my project to this thread!!!

    Sub EstimateMatrixRun()
        ScopeOfWorkSheetActivate
        NumberingItems
        DefineTask
        TaskDescription
    End Sub
    Sub ScopeOfWorkSheetActivate()
        Sheets("Scope Of work").Activate
    End Sub
    Sub NumberingItems()
        If MsgBox("NEW ITEM", vbYesNo) = vbYes Then
    'Determines next empty cell.
        ItemNoEmptyCell = Application.WorksheetFunction.CountA(Range("B:B")) + 1
    'Assigns consecutive numbers.
        Cells(ItemNoEmptyCell, 1) = Application.WorksheetFunction.CountA(Range("B:B")) & Chr(46)
        End If
    End Sub
    Sub DefineTask()
        DEFINETASKUserForm.Show
    End Sub
    Sub TaskDescription()
        Range("ScopeOfWork[TASK DESCRIPTION]") = _
        [Index(Range("TaskDescription[TASK DESCRIPTION]"), Match(Range("ScopeOfWork"), Range("TaskDescription"), 0))]
    End Sub
    Attached Files Attached Files
    Last edited by excelV3; 01-15-2014 at 09:27 PM. Reason: UPDATING WORKBOOK.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Issue using Index/Match to pull multiple occurrences of "Match" criteria
    By aridfriedman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-09-2014, 11:38 AM
  2. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  3. Replies: 7
    Last Post: 04-11-2013, 12:46 AM
  4. Strings Variables in Range("A1").Formula = "=index/match" ?
    By nadnerb5 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2012, 05:07 PM
  5. [SOLVED] Variable "sheet-name" and "range-name" wanted in INDEX/MATCH-function
    By Fiebuls in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-01-2012, 04: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