+ Reply to Thread
Results 1 to 4 of 4

I'm soooo stuck...#N/A being returned on blank cells in my formula

  1. #1
    Registered User
    Join Date
    02-16-2012
    Location
    San Angelo, TX
    MS-Off Ver
    Excel 2007
    Posts
    2

    I'm soooo stuck...#N/A being returned on blank cells in my formula

    On Sheet 2, I have a drop down list (via validation) in cell D6...then I have the validation list for D6 in Sheet 1 (A1:A7). In Sheet 1 (B1:B7) is a list of account #'s to correspond to A1:A7 that populate E6. If the cell in column D is blank, the cell in E6 is appearing with a #N/A. Does that make sense? Here is the formula that I am using in Column E on Sheet 2..... =INDEX(Sheet1!$A$1:$B$7, MATCH(D6, Sheet1!$A$1:$A$7, 0), 2)
    Last edited by claysea; 09-04-2013 at 12:33 PM.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: I'm soooo stuck...#N/A being returned on blank cells in my formula

    did you try to add iferror and "" to the equation? I'm not really good at working with index and match but I would think it could be added to the calculation here =iferror(INDEX(Sheet1!$A$1:$B$7, MATCH(D6, Sheet1!$A$1:$A$7, 0), 2),"")
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: I'm soooo stuck...#N/A being returned on blank cells in my formula

    Makes sense to me, the blank will be interpreted as 0 and the MATCH won't find a match so will return #N/A.

    If you don't want the #N/A add a test for a blank cell.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  4. #4
    Registered User
    Join Date
    02-16-2012
    Location
    San Angelo, TX
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: I'm soooo stuck...#N/A being returned on blank cells in my formula

    Thanks....that worked!

+ 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. [SOLVED] Make formula look in a different column if a 0/blank is returned
    By adx1000 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-15-2013, 09:20 AM
  2. Replies: 4
    Last Post: 06-27-2013, 11:31 AM
  3. SUMPRODUCT - where range has formula returned "" blank cells
    By Paul Sheppard in forum Excel General
    Replies: 4
    Last Post: 08-16-2011, 12:49 PM
  4. [SOLVED] I am soooo sorry
    By Don Cardoza in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2005, 03:35 PM
  5. Replies: 6
    Last Post: 08-28-2005, 05:05 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