+ Reply to Thread
Results 1 to 6 of 6

Excel formula If A is true then check B and if B is negative then return

  1. #1
    Registered User
    Join Date
    09-16-2013
    Location
    Oslo
    MS-Off Ver
    Office 365 V.2201 / Win11
    Posts
    17

    Lightbulb Excel formula If A is true then check B and if B is negative then return

    Hi,

    I am looking for a little support,
    i am making this list, where i need a formula that goes like this

    IF cell F is Low then check for a negative number in cell E and if yes then mark cell G "OK"
    IF cell F is low but a positive number then mark cell G "negative"

    and
    IF cell F is High but a positive number in cell E then mark cell G "OK"
    IF cell F is High then check for a negative number and if yes then mark cell G "Negative

    Software.xlsx"
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Excel formula If A is true then check B and if B is negative then return

    What is LOW and where do you need this formula?
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    09-16-2013
    Location
    Oslo
    MS-Off Ver
    Office 365 V.2201 / Win11
    Posts
    17

    Re: Excel formula If A is true then check B and if B is negative then return

    Quote Originally Posted by mikeTRON View Post
    What is LOW and where do you need this formula?
    low and high is what is specify row F, do you mean what i need to use if for? or in what row?

  4. #4
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Excel formula If A is true then check B and if B is negative then return

    You did not frame your question or answer very well.

    Low is subjective, not an actual number.


    What are you looking to produce? I am not clear what you are trying to accomplish. It seems your question is simply a nested if but I cannot tell...

  5. #5
    Registered User
    Join Date
    09-16-2013
    Location
    Oslo
    MS-Off Ver
    Office 365 V.2201 / Win11
    Posts
    17

    Re: Excel formula If A is true then check B and if B is negative then return

    Quote Originally Posted by mikeTRON View Post
    You did not frame your question or answer very well.

    Low is subjective, not an actual number.


    What are you looking to produce? I am not clear what you are trying to accomplish. It seems your question is simply a nested if but I cannot tell...

    OK, lets try again.

    background, i am copying information and pasting it in the the cells A-B-C-D
    what i need is to have a formula to check if "F" is high or low (i will type in this manually )
    If high, then check same row and Cell in "E" if there is a negative number,
    if yes then write down "Fail" in row G and if NO then type "OK"

    it will also check if for example it says low, then it first checks for a negative sum, ok on that, and if not "fail".

    basicly it is

    <check High/low>
    >If high ->Check for negative sum
    IF NO - > OK
    IF Yes ->Fail

    >If Low->Check for negative sum
    IF Yes- > OK
    IF No->Fail

  6. #6
    Registered User
    Join Date
    09-16-2013
    Location
    Oslo
    MS-Off Ver
    Office 365 V.2201 / Win11
    Posts
    17

    Re: Excel formula If A is true then check B and if B is negative then return

    I have made this code, but how can i get "check positive number" to see if there is a + (or not a - in front of the number?)
    Please Login or Register  to view this content.
    ok i figured out the code, but how can i have it check for the "low" part in the same cell aswell?
    Please Login or Register  to view this content.
    And is it possible to add a same type of code but with "low" instead aswell in the same cell? so it checks first for IF high, and if not found it checks for IF LOW?

    ok i managed to make it myself, but thanks anyways.

    and the code was
    Please Login or Register  to view this content.
    Last edited by andreasnw; 09-18-2013 at 10:03 AM.

+ 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. Check font color and return a True or False
    By randolphoralph in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-21-2013, 09:13 PM
  2. Replies: 3
    Last Post: 04-09-2012, 02:53 PM
  3. If formula with true/false check box options
    By jamierat in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 12-21-2011, 08:48 PM
  4. Formula of negative check needed
    By drakaz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-25-2011, 05:09 AM
  5. Check four conditions return TRUE or FALSE
    By mkvassh in forum Excel General
    Replies: 6
    Last Post: 11-16-2009, 07:26 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