Results 1 to 14 of 14

How to create municipality dummy variables in Excel

Threaded View

  1. #1
    Registered User
    Join Date
    07-13-2019
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Excel Office 2019
    Posts
    10

    Question How to create municipality dummy variables in Excel

    Hé there,

    I have the following problem: I have a dataset with corporations (codes) and (Dutch) municipalities (names) in which they have real estate development projects. Every row is a development project, so there are often multiple rows for each corporation code. What I now wish to do is make a new sheet in which each corporation code has only one row, each column is the name of a municipality (395 columns), and where they match there is a 1 if the corporation is active in that municipality and a 0 if it isn't.

    With what code could this be accomplished?

    I have included pictures of the datasets I speak of. The first shows the corporation codes (=Instellingsnummer) and active municipality (=Gemeentenaam). The second shows the format I want it in with again corporation codes under "Instellingsnummer" and the municipality names in the columns starting at Aa ten Hunze, Aalsmeer, Aalten etc.

    I really hope someone can help me with this! Huge amounts of thanks in advance!!
    Attached Images Attached Images
    Last edited by Jan Paul; 07-20-2019 at 09:50 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Creating Dummy Variables using Excel
    By b0b020 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-11-2015, 09:23 AM
  2. [SOLVED] Replace cells and create dummy variables
    By slacknoise in forum Excel General
    Replies: 7
    Last Post: 06-18-2012, 02:40 PM
  3. dummy variables
    By Miloud in forum Excel General
    Replies: 2
    Last Post: 11-25-2009, 02:50 PM
  4. Generate lagged dummy variables
    By tianyi86 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-30-2009, 01:28 PM
  5. Dummy variables
    By Miloud in forum Excel General
    Replies: 2
    Last Post: 02-06-2009, 03:55 AM
  6. LINEST for dummy variables?
    By BlueFortyTwo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-25-2007, 10:00 PM
  7. [SOLVED] Insert dummy variables
    By Chris_t_2k5 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-26-2006, 09:30 AM

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