+ Reply to Thread
Results 1 to 6 of 6

Excel Neophyte... need some help with a formula, please

  1. #1
    Registered User
    Join Date
    05-18-2016
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    15

    Excel Neophyte... need some help with a formula, please

    I have a row of 'Yes'/'No' data (43 columns - N2:BD2) in an Excel spreadsheet... I have a column that precedes the first column of 'Yes'/'No' (M2) in which I'm needing an equation that if 1 or more of the data cells (N2:BD2) contain a 'Yes', I need the value of 'True' to populate into the M1 cell. If all of the cells (N2:BD2) contain 'No', I need the value of 'False' to populate into that cell.

    Any assistance would be greatly appreciated, and thank you in advance for your time and attention.

    Prodetik
    Last edited by Prodetik; 05-18-2016 at 03:11 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,948

    Re: Excel Neophyte... need some help with a formula, please

    Try


    =IF(COUNTIF(N2:BD2,"YES"),"True","False")

    TRUE if any YES, otherwise false (does not check for ALL being NO)

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Excel Neophyte... need some help with a formula, please

    Welcome to the forum.

    Please take a few minutes to read the forum rules, and then amend your thread title accordingly.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Excel Neophyte... need some help with a formula, please

    try this one (untested)

    =if(countif($N2:$BD2,"yes")>1,"yes","false")
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Registered User
    Join Date
    05-18-2016
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    15

    Thumbs up Re: Excel Neophyte... need some help with a formula, please

    shg - My apologies... I will review rules and ensure compliance for future posts.


    JohnTopley - Thank You! ...your formula worked brilliantly.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Excel Neophyte... need some help with a formula, please

    Quote Originally Posted by JohnTopley View Post
    =IF(COUNTIF(N2:BD2,"YES"),"True","False")
    Maybe like this...

    =COUNTIF(N2:BD2,"YES")>0
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Excel Formula Neophyte
    By YLV4 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-03-2014, 10:27 AM
  2. MS Excel Formula Neophyte
    By YLV4 in forum Excel General
    Replies: 1
    Last Post: 12-03-2014, 10:26 AM
  3. Newbie, Neophyte, Novice and other new words...
    By mickrock in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-23-2014, 09:19 PM
  4. Funtion neophyte: What functions and syntax do I use?
    By Nardar in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-21-2013, 03:05 PM
  5. Replies: 0
    Last Post: 03-19-2012, 07:32 PM
  6. Replies: 1
    Last Post: 03-04-2012, 12:03 AM
  7. Excel neophyte needs help refining calculations
    By mrdane in forum Excel General
    Replies: 0
    Last Post: 01-16-2005, 01:35 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