+ Reply to Thread
Results 1 to 5 of 5

Checking cells for specific text

  1. #1
    Registered User
    Join Date
    09-23-2018
    Location
    Scotland
    MS-Off Ver
    Office 16
    Posts
    1

    Checking cells for specific text

    Hi,

    Thank you for taking the time to read about my confusion.

    I have cells H217 to H229 with either "pass" or "fail" populated into them and what I want to do is an a separate cell, H330, check H217 to H229 and if they are all "pass" the output is "Pass" however if there is just one fail in H217 to H229 the output would be "fail".

    Could anyone please help me with the formula for this as I am completely stuck.

    Thanks in advance

  2. #2
    Registered User
    Join Date
    08-23-2018
    Location
    UAE
    MS-Off Ver
    2019 business
    Posts
    98

    Re: Checking cells for specific text

    you want to count how many fail/pass is there?

  3. #3
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Checking cells for specific text

    Welcome to the forum.

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

    This is an array formula so needs to be entered using Ctrl-Shift-Enter not just Enter. You will know the array is active when you see curly brackets { } appear around your formula - don't try to enter them yourself. If you do not Ctrl-Shift-Enter it will only check the last cell (H229). If that happens, just click into the formula bar and do C-S-E again.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Checking cells for specific text

    Hi

    Or try this regular formula

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

  5. #5
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Checking cells for specific text

    Hi,

    If H217:H229 are either "Pass" or "Fail", and will not have Blanks:

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


    If H217:H229 might contain Blanks and/or other values:

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

+ 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] Checking that certain cells contain specific numbers
    By ReganK in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 08-28-2018, 11:20 AM
  2. [SOLVED] Checking text between cells
    By AbilityMVHR in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-07-2018, 03:51 PM
  3. checking two range of data base on an specific cells value with VBA or formula
    By hamidrezaxy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2013, 05:10 PM
  4. [SOLVED] [Question] Checking a range of cells if they contains a specific letter
    By MyOnion in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-18-2013, 01:01 AM
  5. Checking cells for 2 text strings
    By Phillycheese5 in forum Excel General
    Replies: 4
    Last Post: 10-04-2010, 10:25 AM
  6. Checking multiple cells for text.
    By matt20687 in forum Excel General
    Replies: 5
    Last Post: 07-16-2010, 06:55 PM
  7. Checking two cells for text, returning one value
    By sdaddy in forum Excel General
    Replies: 4
    Last Post: 06-09-2009, 02:49 AM

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