+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Ignore empty cells? How?

  1. #1
    Registered User
    Join Date
    06-01-2011
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    6

    Ignore empty cells? How?

    Good evening ladies and gentlemen, I'm new here and this forum has already been a huge help to me.

    I'm creating a fantasy F1 spreadsheet and I'm making some great progress considering I only started learning excel 3 days ago.

    But I've come across problem. I am currently using the following formula:

    =SUM(LARGE(H29:H34,{1,2,3}))

    Because the above is referencing a table where some results are not yet posted (because races haven't occurred yet), when referencing empty cells it is returning the error #NUM!
    Is there a way to add an IF (or anything else) to my above formula so that it ignores empty cells and in turn produces an empty cell as a result?

    Thanks in advance for any assistance you can offer.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Ignore empty cells? How?

    Welcome to the forum.

    =IFERROR(SUM(LARGE(H29:H34, {1,2,3})), "")

    or

    =IF(COUNT(H29:H34) < 3, "", SUM(LARGE(H29:H34, {1,2,3})))
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Ignore empty cells? How?

    Hi,

    Perhaps
    Please Login or Register  to view this content.
    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    06-01-2011
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Ignore empty cells? How?

    Thank you very much for your prompt and perfect reply, although I'm sure it was simple for you, its been driving me nuts and has put a huge smile on my face now that it's fixed

+ 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