+ Reply to Thread
Results 1 to 6 of 6

Formula adjustment

  1. #1
    Forum Contributor
    Join Date
    06-06-2007
    Posts
    248

    Formula adjustment

    Dear sir,with best regards,how can i adjust this formula to avoid (#VALUE!) appearance for empty cells.
    Many thanks in advance.
    (=SUM((AK6:AK15000>=AM4)*(AK6:AK15000<=TODAY())*(AH6:AH15000)*(AJ6:AJ15000=AM6))
    Last edited by tofimoon4; 06-05-2012 at 09:35 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Formula adjustment

    If you're using a Excel 2007 or above you can:

    =IFERROR("your formula here",0)
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

  3. #3
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Formula adjustment

    Try since I am not sure which version of Excel you're using, so I will go with 2003's formula.

    =IF(ISERROR(SUM((AK6:AK15000>=AM4)*(AK6:AK15000<=TODAY())*(AH6:AH15000)*(AJ6:AJ15000=AM6))),"",SUM((AK6:AK15000>=AM4)*(AK6:AK15000<=TODAY())*(AH6:AH15000)*(AJ6:AJ15000=AM6)))

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula adjustment

    Hi

    If you are in Excel 2007, did you try IFERROR?

    In oldest versions, IF(ISERROR)---
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Contributor
    Join Date
    06-06-2007
    Posts
    248

    Re: Formula adjustment

    My dears many thanks for help

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula adjustment

    You are welcome

    Would you pls, mark your Thread, as Solved?

+ 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