+ Reply to Thread
Results 1 to 3 of 3

Need help using ISERROR with Index/Match function

  1. #1
    Registered User
    Join Date
    10-18-2011
    Location
    Washington DC
    MS-Off Ver
    Excel 2003
    Posts
    7

    Need help using ISERROR with Index/Match function

    I am using the following formula:

    =INDEX('April wk 1'!$C$15:$C$300,MATCH(1,($A5='April wk 1'!$A$15:$A$300)*($B5='April wk 1'!$B$15:$B$300),0))

    I am using this to pull the number of units shipped to a particular store(in column A on both spreadsheets) and of a particular item(in column B on both spreadsheets)

    The formula is working perfectly except if it cannot find both criteria, an #n/a error returns(instead of a 0). I need to be able to sum the data so would like to use something to either return a blank, or a 0. Any help would be greatly appreciated.

    Thanks!!!
    Last edited by NBVC; 10-18-2011 at 01:35 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need help using ISERROR with Index/Match function

    If you are returning numerics, then perhaps use sumproduct.

    e.g.

    =SUMPRODUCT(--($A5='April wk 1'!$A$15:$A$300),--($B5='April wk 1'!$B$15:$B$300),'April wk 1'!$C$15:$C$300)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-18-2011
    Location
    Washington DC
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Need help using ISERROR with Index/Match function

    Thank you! That worked like a charm!

+ 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