+ Reply to Thread
Results 1 to 3 of 3

Encountering error when modifying a formula

  1. #1
    Registered User
    Join Date
    05-05-2014
    Location
    Voorheesville, NY
    MS-Off Ver
    Excel 2007
    Posts
    77

    Encountering error when modifying a formula

    Hello,

    Below is a formula that I am attempting to modify:

    From this:
    =IFERROR(IF(A8<MIN(A$8:A$30)+365*5+1,(IF(AND(A8>=$E$4,A8<=$E$5),1,0)*B8*(MAX(C8,D8)/365)+B8),(IF(AND(A8>=$E$4,A8<=$E$5),1,0)*B8*(D8/365)+B8)),"")

    To this:
    =IFERROR(IF(A8<MIN(A$8:A$30)+365*5+1,B8*(MAX(C8,D8)/365)+B8),B8*(D8/365)+B8)),"")

    But it is giving me an error result.

    Can anyone tell – what am I doing wrong

    Thanks,
    dache416
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Encountering error when modifying a formula

    Too many parentheses, try this

    =IFERROR(IF(A8<MIN(A$8:A$30)+365*5+1,B8*MAX(C8,D8)/365+B8,B8*(D8/365)+B8),"")
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    05-05-2014
    Location
    Voorheesville, NY
    MS-Off Ver
    Excel 2007
    Posts
    77

    Re: Encountering error when modifying a formula

    Thank you ChemistB

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Real Time Clock Encountering Error Upon Userform Close
    By Stonesteel15 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-28-2012, 11:51 PM
  2. [SOLVED] Modifying A Formula
    By carl in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  3. Modifying A Formula
    By carl in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  4. Modifying A Formula
    By carl in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  5. Modifying A Formula
    By carl in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-14-2005, 03:05 PM

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