+ Reply to Thread
Results 1 to 5 of 5

If Statement with blanks and do nothing

  1. #1
    Registered User
    Join Date
    12-18-2018
    Location
    Alpharetta, GA
    MS-Off Ver
    2016
    Posts
    38

    If Statement with blanks and do nothing

    Hi,

    I am trying to create an if statement where i want to change the "Issue Type" to say "New Feature" when the corresponding value in the Category column is "Enhancement". How can we write the formula is a way that it takes into consideration the blanks in column C and that if it doesn't say "Enhancement in column C then leave whatever is in Column B.

    Ex. in the attached ample sheet, for B3 and B6 it would say "New Feature" and the rest of the values in Column B would remain as is.

    Any assistance would be appreciated.

    Thank You!
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,052

    Re: If Statement with blanks and do nothing

    Try this...
    =IF(C3="","",IF(C3="enhancement", "New Feature", "whatever-else-you-need-to-say"))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-18-2018
    Location
    Alpharetta, GA
    MS-Off Ver
    2016
    Posts
    38

    Re: If Statement with blanks and do nothing

    Hmm that seems to be only a part of what im looking for. How can only B3 and B6 say "New Feature" but then B1, B2, B4, B5 says Issue, Idea, Issue, Bug, Bug respectively --essentially, remain the original value.

  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: If Statement with blanks and do nothing

    Hi,
    I dont think you can run over the values within column B, if that's what you mean.
    You can apply the formula in column D and create an adjusted "Issue Type" as follows:

    In D2:
    =IF(C2="Enhancement", "New Feature",B2)

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,052

    Re: If Statement with blanks and do nothing

    As belinda points out, you cannot use a formula to replace the contents of another cell, they only act on the cell they reside in.

    If you want my suggestion to show something else if the condition is not met, replace my last part "whatever-else-you-need-to-say" with, well, whatever you need it to say, be that a reference elsewhere, or some other text

+ 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. If statement with BLANKS
    By itshere in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-19-2017, 12:08 PM
  2. IF Statement - Accounting for blanks
    By bdav1216 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-24-2017, 12:58 AM
  3. [SOLVED] Ignore Blanks in IF Statement
    By ShakJames in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-19-2016, 07:56 AM
  4. [SOLVED] IF Statement to check for blanks first
    By drewberts in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-30-2014, 05:06 PM
  5. If Statement, ignore blanks
    By shanikakbrown in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-12-2014, 05:34 PM
  6. [SOLVED] If statement with blanks
    By JennOlsen in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-26-2014, 07:14 PM
  7. if statement returning blanks
    By Mayrie in forum Excel General
    Replies: 3
    Last Post: 09-29-2009, 03:59 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