+ Reply to Thread
Results 1 to 3 of 3

Trouble with nested If's

  1. #1
    Registered User
    Join Date
    01-04-2013
    Location
    Las Cruces, New Mexico
    MS-Off Ver
    Excel 2019
    Posts
    23

    Trouble with nested If's

    Using PC Win 10 w/ Excel 2016.

    Cell T42 contains: =IF(I42=0,"",IF(H42>0,"Formula A", "Formula B"))

    The above formula works great as is.

    Now the challenge (for me anyway), if Formula B results in a negative number (=< 0) then cell T42 = 0, else T42 contains the result of Formula A.

    After days of adding/moving/subtracting If statements my mind is mush. I could use your help.

    Thanks!

    Kim

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,513

    Re: Trouble with nested If's

    is this what you want... =IF(I42=0,"",IF(H42>0,"Formula A",IF("Formula B"<=0,0,"formula B"))) ?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    01-04-2013
    Location
    Las Cruces, New Mexico
    MS-Off Ver
    Excel 2019
    Posts
    23

    Re: Trouble with nested If's

    Quote Originally Posted by Sambo kid View Post
    is this what you want... =IF(I42=0,"",IF(H42>0,"Formula A",IF("Formula B"<=0,0,"formula B"))) ?
    It is and it worked perfectly. Thank you very much.

    Sorry about the double reply........

+ 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] Trouble with nested for loops
    By excel_novice2019 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-25-2019, 08:44 PM
  2. Trouble with nested if function
    By faodavid in forum Excel General
    Replies: 2
    Last Post: 02-02-2015, 05:07 AM
  3. [SOLVED] Having trouble using a nested IF with VBA msgbox
    By msantucci in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-07-2015, 03:19 PM
  4. [SOLVED] Trouble with Nested If
    By shaught7 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-25-2014, 02:26 PM
  5. Trouble with Nested IF Function
    By gvishnu in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-25-2013, 05:18 PM
  6. Having trouble with nested if commands
    By pmilligan1979 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-11-2012, 02:12 PM
  7. Trouble with nested IF formula
    By TheRobsterUK in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-04-2005, 10:05 PM

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