+ Reply to Thread
Results 1 to 5 of 5

Formula required - IF a range and a cell

  1. #1
    Registered User
    Join Date
    08-17-2016
    Location
    Australia
    MS-Off Ver
    Office 365 Business
    Posts
    97

    Formula required - IF a range and a cell

    Column B - Cell contains either Yes or it's Blank
    Columns Q to AD - Cells contain either Yes, Standby or Blank

    If Columns Q to AD contains a Yes, return Yes (ignore Standby), however, if Column B has a Yes, return No.

    I've been playing with the following formula, but it's not producing the desired result
    =IF(COUNTIF(Q3:AD3,"*"&"Yes"&"*"),"Yes",IF(B3="Yes","No"))

    Thanks for the help!

  2. #2
    Registered User
    Join Date
    04-26-2020
    Location
    Massachusetts
    MS-Off Ver
    Office 365
    Posts
    93

    Re: Formula required - IF a range and a cell

    Please upload a small clean sample of your data / workbook (not a picture) to the forum, Make sure you
    have removed any private information, remember this is a public forum and so available to anyone.
    We would like to see an example of your data and also a manual mock up of the expected results you want to achieve.

    Just before posting, scroll down to GO ADVANCED, click, and then scroll
    down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  3. #3
    Registered User
    Join Date
    08-17-2016
    Location
    Australia
    MS-Off Ver
    Office 365 Business
    Posts
    97

    Re: Formula required - IF a range and a cell

    AE3 is correct
    AE2 should read No
    Attached Files Attached Files

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,647

    Re: Formula required - IF a range and a cell

    =IF(B2="Yes","No",IF(COUNTIF(Q2:AD2,"Yes"),"Yes",""))
    Quang PT

  5. #5
    Registered User
    Join Date
    08-17-2016
    Location
    Australia
    MS-Off Ver
    Office 365 Business
    Posts
    97

    Re: Formula required - IF a range and a cell

    I swear I tried this combo *insert facepalm

    Cheers,
    Matt

+ 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. Formula required to reference date range
    By ettyenn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-25-2019, 03:09 PM
  2. if or sumif help required for a 7 cell range
    By acana007 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 12-14-2018, 03:21 PM
  3. Replies: 3
    Last Post: 03-08-2017, 08:35 AM
  4. Formula required to return a limited range value
    By NeroM in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-12-2014, 08:10 AM
  5. [SOLVED] Count entries in a range formula required
    By mukeshbaviskar in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-23-2013, 09:34 PM
  6. Formula required to convert range of values
    By gcexcel in forum Excel General
    Replies: 1
    Last Post: 01-14-2012, 02:22 PM
  7. If statement required for a cell range
    By scottb in forum Excel General
    Replies: 4
    Last Post: 12-04-2009, 08:38 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