+ Reply to Thread
Results 1 to 4 of 4

Put an X in a cell if there is Text in a Range of Cells. Leave blank if not.

  1. #1
    Registered User
    Join Date
    03-17-2015
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    10

    Put an X in a cell if there is Text in a Range of Cells. Leave blank if not.

    The Cell count say Star, Certificate, Rookie or be blank.
    If the K10:S10 says either Star, Certificate or Rookie, I want an x in cell AC10, if nothing, leave it blank.

    Here is what I have so far
    =IF(K10="STAR",)OR(O10="Certificate","X"," ")

  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
    52,939

    Re: Put an X in a cell if there is Text in a Range of Cells. Leave blank if not.

    I have no rweal idea what you are trying to do, but see if this is what you are looking for...

    =IF(sum(countif($K10:$S10,{"STAR","Certificate","Rookie"}))>0,"X"," ")
    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
    Forum Contributor
    Join Date
    12-13-2013
    Location
    Calgary,AB,Canada
    MS-Off Ver
    2016,O365
    Posts
    236

    Re: Put an X in a cell if there is Text in a Range of Cells. Leave blank if not.

    if "nothing" in your condition requirement means "blank" in all K10:S10, that will be easy

    AC10=IF(COUNTBLANK(K10:S10)=9,"","X")




    Quote Originally Posted by pschultz614 View Post
    The Cell count say Star, Certificate, Rookie or be blank.
    If the K10:S10 says either Star, Certificate or Rookie, I want an x in cell AC10, if nothing, leave it blank.

    Here is what I have so far
    =IF(K10="STAR",)OR(O10="Certificate","X"," ")

  4. #4
    Forum Contributor
    Join Date
    12-13-2013
    Location
    Calgary,AB,Canada
    MS-Off Ver
    2016,O365
    Posts
    236

    Re: Put an X in a cell if there is Text in a Range of Cells. Leave blank if not.

    or
    AC10=if(COUNTA(K10:S10)>0,"X","")



    Quote Originally Posted by FDibbins View Post
    I have no rweal idea what you are trying to do, but see if this is what you are looking for...

    =IF(sum(countif($K10:$S10,{"STAR","Certificate","Rookie"}))>0,"X"," ")

+ 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. Leave cell blank if a range is blank
    By Dibbley247 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-10-2014, 06:30 AM
  2. IF Statement to leave cell blank if multiple cells are all blank
    By sweeteri in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-14-2014, 12:02 PM
  3. [SOLVED] help on a simple if text says this input that, if cell is blank leave it blank
    By Rec1ne in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2013, 10:43 AM
  4. [SOLVED] Simple pull exact text from cell, if blank it pulls up a 0. How to leave it as blank?
    By sharpmel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2012, 02:20 PM
  5. Replies: 4
    Last Post: 07-15-2008, 01:42 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