+ Reply to Thread
Results 1 to 6 of 6

calculating true false from group of variables

  1. #1
    Registered User
    Join Date
    11-15-2010
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    8

    calculating true false from group of variables

    Is there a formula that can return a true false response after looking at a group of variables and determining whether at least one of those variables has a value greater than 2?

    Variable names as follows:

    PCLC_1
    PCLC_2
    PCLC_3
    PCLC_4
    PCLC_5

    Values range from 1 - 5 for each variable. Needs to calculate even if there is missing data.
    Last edited by tammy25; 11-28-2010 at 09:25 PM.

  2. #2
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Re: calculating true false from group of variables

    Hey, not sure what is that that you want. Do you mind posting an actual spreadsheet with the data scenario you have and show exactly what result you want?

    But in the mean time (assuming your values are listed in A1 to A5), place in B1 and drag down:
    =value(Right(A1,1))=2
    Ron
    Knowledge is knowing that a tomato and pepper are fruits. Wisdom is knowing whether to put these in a fruit salad

    Kindly

    [1] Use code tags. Place "[code]" before the first line of code and "[/code"]" after the last line of code. Exclude quotation marks
    [2] Mark your post [SOLVED] if it has been answered satisfactorily by editing your original post in advanced mode.
    [3] Thank (using the little scale) those that provided useful help; its nice and its very well appreciated

  3. #3
    Registered User
    Join Date
    11-15-2010
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: calculating true false from group of variables

    Trying to calculate whether a person has scored a certain way over various variables.

    That is, has the person scored above 2 on at least one variable for variables PCLC_1 to PCLC_5, have they scored above 2 on at least three variables for variables PCLC_6 to PCLC_12, and have they scored above 2 on at least two variables for variables PCLC_13 to PCLC_17.

    Hopefully this helps.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-15-2010
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: calculating true false from group of variables

    Also a yes = 1 and no = 0.

  5. #5
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: calculating true false from group of variables

    Try this.

    Cheers,
    Attached Files Attached Files
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  6. #6
    Registered User
    Join Date
    11-15-2010
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: calculating true false from group of variables

    That's excellent. Works a treat.

+ 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