+ Reply to Thread
Results 1 to 2 of 2

error handling in excel

  1. #1
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    Thumbs up error handling in excel

    Hi,
    I have this excel sheet where in cells e18:I18 there is a formula which returns an #NA if data is not found,I have tried with iferror but its not working should I try with ISerror or ifblank because I want a '0' if data is not found.
    Attached Files Attached Files
    Last edited by arnab0711; 02-24-2012 at 11:25 PM.

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: error handling in excel

    you are on the right track, you just need to put a 0 at the end of your formula:

    =IFERROR(MEDIAN(IF((MONTH($AG$4:$AG$32)=MONTH($C18))*(YEAR($AG$4:$AG$32)=YEAR($C18))*($AD$4:$AD$32=$D18),$AH$4:$AH$32-$AG$4:$AG$32)),0)
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

+ 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