+ Reply to Thread
Results 1 to 3 of 3

Comparing two columns with multiple variables

  1. #1
    Registered User
    Join Date
    04-08-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    3

    Unhappy Comparing two columns with multiple variables

    Hey guys,

    I am working on a survey analysis and I'm having trouble comparing two columns.

    Ex. 100 surveys
    Column A being age (scale of 1-5)
    Column B being willingness to pay (scale 1-5)


    I am trying to correlate age with willingness to pay by saying =countif(a1:100 = "1" and (B1:B100 = "1" and "2"))
    Basically checking to see if the 1st age group has a strong willingness to pay; I would repeat with B1:B100 = "4" and "5"

    My assignment is due this week and I was hoping to finish it tonight but haven't been able to figure it out.

    Any assistance is greatly appreciated!


    Taylor

  2. #2
    Registered User
    Join Date
    04-08-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Comparing two columns with multiple variables

    I've also tried =and(a1:100="1",b1:100="1") but haven't been able to complete the formula

  3. #3
    Registered User
    Join Date
    04-08-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Comparing two columns with multiple variables

    Figured it out; was =countifs :D

+ 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