+ Reply to Thread
Results 1 to 3 of 3

If cell has no value then show nothing in another cell.

  1. #1
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    If cell has no value then show nothing in another cell.

    I am using the following formula,

    =INDEX(Exceptions,MATCH($B$3,Employee_Names,0),MATCH(D36,'Accounting Exceptions'!$C$3:$IV$3,0))

    But if D36 has no value at all I want to show a blank cell. Right now I am getting #N/A error.

    thanks for any help.
    Nick

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: If cell has no value then show nothing in another cell.

    avidcat,

    Try:
    =IF(D36="","",INDEX(Exceptions,MATCH($B$3,Employee_Names,0),MATCH(D36,'Accounting Exceptions'!$C$3:$IV$3,0)))
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: If cell has no value then show nothing in another cell.

    But if D36 has no value at all I want to show a blank cell. Right now I am getting #N/A error.
    This question in this thread stems from this originating post:
    Gathering data from one sheet based on criteria from another sheet

    avidcat,
    I may be mistaken, but I think your problem may be that you have not converted the value in D35 (row above) to a true date value as it must be inorder find a match. Verify you have a valid date. As I mentioned in that thread, all of the cells must be converted to a true Excel date.

    There is no other way, as I see it, that you can return an #N/A value ( I tested it and the look up returned a zero, which equates to a blank cell).
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ 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