+ Reply to Thread
Results 1 to 6 of 6

Removing #NUM error when cell is blank

  1. #1
    Registered User
    Join Date
    03-12-2013
    Location
    United Kingdom
    MS-Off Ver
    2007
    Posts
    3

    Removing #NUM error when cell is blank

    I'm creating a document with the following formula, it has data in it that won't yet be available so will be updated. I've been trying to amend the formula for tables that are awaiting data and the cell is blank but with no joy. Please help!

    =IF(IW4=LARGE(IW4:IW23,1),1,"")

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Removing #NUM error when cell is blank

    wrap your existing IF statement in an iferror function

    Look at this explanation: http://office.microsoft.com/en-us/ex...001231765.aspx
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    03-12-2013
    Location
    United Kingdom
    MS-Off Ver
    2007
    Posts
    3

    Re: Removing #NUM error when cell is blank

    I did try doing that but couldn't quite work it out, sleep deprivation

    Thank you for the speedy response by the way

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Removing #NUM error when cell is blank

    try

    =IFERROR(IF(IW4=LARGE(IW4:IW23,1),1,""),"What you want to have instead of the #N/A")

    is this what you tried?

    HTH

    Ernest

  5. #5
    Registered User
    Join Date
    03-12-2013
    Location
    United Kingdom
    MS-Off Ver
    2007
    Posts
    3

    Re: Removing #NUM error when cell is blank

    It wasn't, but that works perfectly, thank you so much, now I can see it I know where I was going wrong.

  6. #6
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Removing #NUM error when cell is blank

    Glad I could help.....just a note though....forum Etiquette recommends that you mark this as solved...and if somebody helps you, give them a star....so, when you help somebody, they give you a star....just a though....have a great day

    Ernest

+ 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