+ Reply to Thread
Results 1 to 4 of 4

Multiple IF statements in the same cell

  1. #1
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    115

    Multiple IF statements in the same cell

    I know there's a lot out there on multiple IF statements but I was not able to find an answer to what I specifically am trying to accomplish here.

    In D18, I have a yes/no response. Depending on the contents of this cell I want a value to return in G18.

    If Y = $2750
    If N = $2160
    If blank = $0.00

    I can achieve this when just yes and no are involved with this formula =IF(D18="Y",2750,"2160") but I cannot figure out how to yield a result for if D18 is blank to keep G18 also blank. Is conditional formatting my best option for this cell, I know I can change the text to white for anything under $2160.00 but I preferably want $0.00 to display when there is not yet a response in D18.

    Any ideas?

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Multiple IF statements in the same cell

    Assuming the only possible cell entries are either Y, N or empty/blank:

    =IF(D18="","",IF(D18="Y",2750,2160))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    115

    Re: Multiple IF statements in the same cell

    Thank you worked awesome!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Multiple IF statements in the same cell

    You're welcome. Thanks for the feedback!

+ 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. Multiple IF statements in one cell?
    By lazyengineer in forum Excel General
    Replies: 1
    Last Post: 06-11-2015, 02:03 PM
  2. Multiple IF statements in a cell
    By IceAngel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-02-2015, 01:44 PM
  3. [SOLVED] Multiple If's and And statements in one cell?
    By Dagoom in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-11-2013, 05:14 AM
  4. Multiple IF THEN statements in one cell
    By faist001 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-13-2013, 03:06 PM
  5. Using Multiple If statements in a cell
    By Guygettinby in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-14-2011, 08:06 PM
  6. Multiple IF statements in 1 cell
    By rbondy007 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 01-27-2009, 08:29 PM
  7. Multiple IF statements in one cell
    By Jones E in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-01-2006, 02:55 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