+ Reply to Thread
Results 1 to 5 of 5

IF formula to have interest cell go to 0 (blank) when adjacent balance cell is 0 (blank)

  1. #1
    Registered User
    Join Date
    04-23-2019
    Location
    U.S.
    MS-Off Ver
    Excel 2016
    Posts
    70

    IF formula to have interest cell go to 0 (blank) when adjacent balance cell is 0 (blank)

    Hi, I'm having trouble figuring out the right IF formula to accomplish what I need. Details are explained in attached pic. As well, I've provided a file if someone is willing to look at this.

    Thanks!
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-07-2013
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    601

    Re: IF formula to have interest cell go to 0 (blank) when adjacent balance cell is 0 (blan

    In cell I12, try:
    Please Login or Register  to view this content.
    Does that give you the result you're looking for?
    If someone helped achieve your solution, consider clicking "* Add Reputation" on their post.

    If your question has been answered, mark the thread as [SOLVED] using the Thread Tools menu at the top of the thread.

  3. #3
    Registered User
    Join Date
    04-23-2019
    Location
    U.S.
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: IF formula to have interest cell go to 0 (blank) when adjacent balance cell is 0 (blan

    Hi Melvosh, I had a feeling you might show up for me again!

    So, I tried your formula, which, from my understanding is similiar to the one I tried, and it is also giving a circular reference when copied to the upper cells.

    The formula I tried (and is actually in D31) is =IF(E31>0,E30*($J$4/12),"") Your formula, =IF(J12>0.001,J11*($J$4/12),"") is only different in that (I think) your formula says if J12 (adjacent cell) is less than 0.001 ... where as the formula I tried is saying (I think) if E31 (adjacent cell) is less that 0. I think < stands for more than, and > more less than. Is that correct?

    Anyway, the circular reference has me puzzled since the adjacent balance cell to the right of the interest cell is not involved in the calculation.

    If you try your formula on the cells above the bottom interest cell in the spreadsheet I provided, you will see what I mean.

    Anyway, as I was thinking through the meanings of the < & > I got an idea that worked, being: =IF(J11>H12,J11*($J$4/12),"") which translates to (I think): If the payment in the adjacent row is greater than (or equal to) the balance in the row above, then 0.

    Perhaps you could enlighten me on what exactly the formula I just described, (and works perfectly) actually says...

    Thanks again Melvosh, your reply did actually lead to the solution!

    Bryan

  4. #4
    Valued Forum Contributor
    Join Date
    01-07-2013
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    601

    Re: IF formula to have interest cell go to 0 (blank) when adjacent balance cell is 0 (blan

    Glad you found something that works. The reason the circular reference shows up in my formula is because it's basing the Interest column on the Balance column in the same row, and the Balance column is partially based on the Interest column in the same row. It works great if the FALSE condition is triggered, but causes a circular reference if the TRUE condition is triggered.

    What your formula that works basically says is: If the Balance column in the previous row (J11) is greater than the Payment column in the current row (H12), run the formula ( J11*($J$4/12) ), otherwise return blank.

    To answer your question regarding the signs, < tests for whatever is on the left side being less than whatever is on the right side. > tests for whatever is on the left side being greater than whatever is on the right side. Hope that answers your question

  5. #5
    Registered User
    Join Date
    04-23-2019
    Location
    U.S.
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: IF formula to have interest cell go to 0 (blank) when adjacent balance cell is 0 (blan

    Thanks for taking the time to explain. Very helpful!

+ 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] IF formula to have a cell go to blank if adjacent cell is empty
    By BryanHCR in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-14-2019, 10:14 AM
  2. Replies: 6
    Last Post: 05-24-2017, 06:34 AM
  3. [SOLVED] Formula that will result the cell blank based on adjacent cell
    By LShepherd in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-20-2016, 01:04 PM
  4. Replies: 5
    Last Post: 08-15-2014, 08:33 AM
  5. Replies: 4
    Last Post: 05-15-2014, 09:32 AM
  6. [SOLVED] Add formula if adjacent cell has name in it but remove formula in adjacent cell is blank
    By How How in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2013, 10:42 AM
  7. [SOLVED] Need a Cell (with formula) to be Blank if adjacent cell is blank - Help!!
    By mitrbikram in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 07-25-2012, 09:15 AM

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