Error in Formula
Results 1 to 2 of 2

Thread: Error in Formula
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Apr 2012
    Posts
    33
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Error in Formula

    A B C D E F G H I
    No Description Date Purchased Cost Prior Depreciation Life Current Depreciation Type
    1 Truck 09/3/2014 28182 16438 5 ? Auto


    I am using the following formula, which is giving me error. Can someone trace the mistake? Cell I2 has date 07/31/2018

    IF((EDATE(I2,-12))< c4,(sln(d4,0,f4),0,if(and(c4 >=EDATE(I2,-12)+1,C4<=I2,SLN(D4,0,ROUNDUP(YEARFRAC(C4,DATE(IF(MONTH(C4) >7,YEAR(C4)+1,YEAR(C4)),7,31))*12,0)/12),0)))
    Last edited by Fluff; Aug 17th, 2019 at 11:31 AM. Reason: Corrected formula due to < & > symbols

  2. #2
    Board Regular
    Join Date
    Mar 2015
    Posts
    3,747
    Post Thanks / Like
    Mentioned
    66 Post(s)
    Tagged
    7 Thread(s)

    Default Re: Error in Formula

    something inconsistent in red

    IF((EDATE(I2,-12))< c4,(sln(d4,0,f4),0,if(and(c4 >=EDATE(I2,-12)+1,C4<=I2,SLN(D4,0,ROUNDUP(YEARFRAC(C4,DATE(IF(MONTH(C4) >7,YEAR(C4)+1,YEAR(C4)),7,31))*12,0)/12),0)))

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •