+ Reply to Thread
Results 1 to 2 of 2

Transpose variable based on 2 conditions

  1. #1
    Registered User
    Join Date
    10-14-2013
    Location
    Ohio, US
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    46

    Transpose variable based on 2 conditions

    I've attached a dummy workbook with consisting of 3 variables (id, major_cat, category). Assuming that it is sorted by id and major_cat [desc], what I'm trying to accomplish is a conditional transposition of column C to D,E,F based on id and if major category is "y".
    For example:
    id major_cat category cat1 cat2 cat3
    1 y car car toy box
    1 n toy car toy box
    1 n box car toy box
    2 y box box toy
    2 n toy box toy

    Granted this is a example and the actual data set is thousands of rows with more than 4 categories. Thanks in advance.
    Attached Files Attached Files
    Last edited by jam320; 05-13-2015 at 10:58 AM.

  2. #2
    Registered User
    Join Date
    10-14-2013
    Location
    Ohio, US
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    46

    Re: Transpose variable based on 2 conditions

    Bump no response

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Assign a category to a cell based on two conditions
    By jeffepro in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2015, 07:38 AM
  2. Grouping pivot table fields under same category for slicing
    By gurpsb in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-19-2014, 12:12 PM
  3. Get count of items based on 4 variable conditions
    By m2som in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 12-18-2013, 01:04 AM
  4. Sort based on multiple variable conditions
    By tstoney in forum Excel General
    Replies: 8
    Last Post: 03-14-2012, 06:37 PM
  5. Grouping Multi-year values by category in a chart
    By jdrinnin in forum Excel General
    Replies: 4
    Last Post: 10-06-2011, 02:35 PM

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