+ Reply to Thread
Results 1 to 2 of 2

Check range for values

  1. #1
    Registered User
    Join Date
    04-01-2011
    Location
    Pennsylvania
    MS-Off Ver
    Excel 2000
    Posts
    1

    Check range for values

    What I'm looking to do is find a formula to count a range as 1 if it contains or does not contain certain values.

    For example: I have the following 2 columns
    Column 1......Column 2
    C........................C
    X........................N
    1........................N
    1........................X
    1........................N
    1........................N

    What I want is:
    if the column contains a "N" anywhere it but no 1's in that column to count if as a 1.
    If the column contains an "N" and a "1" to count it as a zero.

    So with my example the formula should return a "0" for Column 1 and a "1" for Column 2.

    Any help is appreciated.

    Thanks
    Kathie

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,164

    Re: Check range for values

    Hi Kathie and welcome to the forum,

    Try this
    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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