+ Reply to Thread
Results 1 to 3 of 3

NESTED "IF" and "AND" functions

  1. #1
    Registered User
    Join Date
    06-30-2014
    Location
    Los Angeles, CA
    MS-Off Ver
    MS Office 2011
    Posts
    2

    NESTED "IF" and "AND" functions

    I am trying to write a formula that will satisfy the following:

    C1 and G1 are number values.

    IF (cell E1 does not contain any text) AND (G1-C1-12.5>=0), then output (G1-C1-12.5), otherwise output nothing (""). BUT, IF (cell E1 DOES contain text) AND (G1-C1-13>=0), then output (G1-C1-13), otherwise output nothing.

    Can anyone help??

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: NESTED "IF" and "AND" functions

    Try

    =IF(AND(E1="",G1-C1-12.5>=0),G1-C1-12.5,IF(G1-C1-13>=0,G1-C1-13,""))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    06-30-2014
    Location
    Los Angeles, CA
    MS-Off Ver
    MS Office 2011
    Posts
    2

    Re: NESTED "IF" and "AND" functions

    That worked beautifully! Thank you!
    Last edited by caitlin87; 07-01-2014 at 07:43 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. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  2. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  3. Replies: 3
    Last Post: 08-28-2010, 09:31 AM
  4. Replies: 5
    Last Post: 06-26-2006, 09:23 PM
  5. [SOLVED] Please add a "sheet" function like "row" and "column" functions
    By Spreadsheet Monkey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2005, 12:15 PM

Tags for this Thread

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