+ Reply to Thread
Results 1 to 4 of 4

Formula that will result the cell blank based on adjacent cell

  1. #1
    Registered User
    Join Date
    06-27-2014
    Location
    Indiana
    MS-Off Ver
    2007
    Posts
    24

    Question Formula that will result the cell blank based on adjacent cell

    I have a cell that I place in a total amount. If that total amount is equal or greater than the cell in reference, then it will display "PAID". If it is less than the total, it will display "DUE" in a cell next to the total I typed in.

    It is displaying the and working fine, however, what I need to add is if the cell Q6 is displaying "DUE" but the cell P6 doesn't have a total typed in, I want Q6 to stay null.

    This is the working formula I have to display everything correctly...

    =IF(OR($K$6<=0,$K$6=""),"",IF($K$6>=P3,"PAID",IF(OR($K$6<=P3,$K$6>0),"DUE","")))

    I was thinking I just needed to add a line like: =IF(Q6="DUE","",) but when I try, it says I have too many arguments.

    K6 is the cell it's comparing the total I need in the cell I type in.




    Hope that makes sense.

    Thanks for any help!
    Last edited by LShepherd; 09-17-2016 at 03:07 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Formula that will result the cell blank based on adjacent cell

    Try this:

    =IF(AND(Q6="DUE",P6=""),"",IF(OR($K$6<=0,$K$6=""),"",IF($K$6>=P3,"PAID",IF(OR($K$6<=P3,$K$6>0),"DUE",""))))

    The extra comma is probably your problem:

    =IF(Q6="DUE","",)
    Last edited by AliGW; 09-17-2016 at 01:21 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-27-2014
    Location
    Indiana
    MS-Off Ver
    2007
    Posts
    24

    Re: Formula that will result the cell blank based on adjacent cell

    Thank you AliGW - that gave me a circular reference warning. I am probably too tired to mess with it atm... I will try again tomorrow. Thank you again

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Formula that will result the cell blank based on adjacent cell

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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. Replies: 5
    Last Post: 08-15-2014, 08:33 AM
  2. [SOLVED] Result based on shading of adjacent cell
    By andrewc in forum Excel General
    Replies: 2
    Last Post: 04-04-2014, 10:54 AM
  3. Help with Conditional Formating based on adjacent cell not being blank
    By noplacelikehome in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-06-2014, 05:47 PM
  4. [SOLVED] If formula in one cell refers to another cell which is blank result is a blank cell
    By M-Tommo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-03-2014, 08:29 AM
  5. Leave cell result blank if blank cell is in formula
    By Grind in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 09-28-2013, 06:15 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. Replies: 6
    Last Post: 09-16-2010, 05:19 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