+ Reply to Thread
Results 1 to 4 of 4

formula

  1. #1
    Forum Contributor
    Join Date
    07-28-2005
    Posts
    151

    formula

    I have three columns:

    Country Year Dummy
    Algeria 1999
    USA 2000
    England 2001
    Cameroon 2002
    Cameroon 2002
    Cameroon 2003

    I need a formula for the "Dummy" column that assigns a 1 for Cameroon in 2002 and a zero for all other rows. So my table should look like:

    Country Year Dummy
    Algeria 1999 0
    USA 2000 0
    England 2001 0
    Cameroon 2002 1
    Cameroon 2002 1
    Cameroon 2003 0

    Can someone help me.

    Thankyou

    Chris

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Please Login or Register  to view this content.
    HTH
    Carim


    Top Excel Links

  3. #3
    Forum Contributor
    Join Date
    07-28-2005
    Posts
    151

    Thankyou

    That works perfect.

    Chris

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    You are welcome ...

    Thanks for the feedback

+ 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