+ Reply to Thread
Results 1 to 3 of 3

Display a value IF any cell in range contains text

  1. #1
    Registered User
    Join Date
    04-23-2020
    Location
    Estero, FL
    MS-Off Ver
    MS Excel 2016
    Posts
    7

    Display a value IF any cell in range contains text

    Hi there. This formula I entered in cell A2 does not work …. =SUMIF(A3:A12,"X",A1)

    A1 contains $500
    I want to display $500 in A2, if the range of A3:A12 contains an X anywhere in that range.

    Help please?

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Display a value IF any cell in range contains text

    You could use something like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    or
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The first will show a 0 if 'X' is not found in the range, while the second will show nothing ("").

  3. #3
    Registered User
    Join Date
    04-23-2020
    Location
    Estero, FL
    MS-Off Ver
    MS Excel 2016
    Posts
    7

    Re: Display a value IF any cell in range contains text

    Thank you so much!!

+ 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] If a range matches a cell, display text from another cell
    By DarrenCl in forum Excel General
    Replies: 3
    Last Post: 07-20-2017, 10:48 AM
  2. Display different text in a cell, dependant on a date range
    By chrisshetland in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-31-2015, 11:42 AM
  3. [SOLVED] If a specified range contains a text value, then display adjacent cell text?
    By adegroot13 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-09-2014, 03:20 PM
  4. Display Text Based on Values in Cell Range
    By kythom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-25-2013, 02:25 PM
  5. [SOLVED] If range meets criteria then display text in another cell
    By NSimp216 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-05-2013, 05:25 PM
  6. display a single cell text from a range
    By royal blue in forum Excel - New Users/Basics
    Replies: 15
    Last Post: 04-06-2009, 02:26 AM
  7. How can I display a cell range in a text box in excel?
    By Pat Hughes in forum Excel General
    Replies: 3
    Last Post: 09-22-2005, 01: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