Results 1 to 4 of 4

Sort data ...

Threaded View

  1. #1
    Registered User
    Join Date
    05-06-2013
    Location
    taiwan
    MS-Off Ver
    Excel 2007
    Posts
    7

    Sort data ...

    Hi all the excelforum members,

    I'm got a data which neat to be sorted .. wonder if anyone can help me out ... much appreciated .. thanks

    what i have

    8;
    8;
    9;
    5; 9;
    9;
    2; 5; 8;

    what i need to do

    1 2 3 4 5 6 7 8 9
    0 0 0 0 0 0 0 1 0
    0 0 0 0 0 0 0 1 0
    ..
    .
    .
    .

    my data is in columns one .. i need to put it in 9 columns.. if there is value then the column would be 1 otherwise 0

    eg: if 5; 9; then column 5 and 9 the value would be 1 rest would be 0
    1 2 3 4 5 6 7 8 9
    0 0 0 0 1 0 0 0 1

    is there any formula or filter i can use ?

    thanks

    update: ok .. i just figure out a dumb way.. seperate the file first and then use =IF(OR(A2=2,B2=2,C2=2),1,0) wonder if there is any better one
    Attached Files Attached Files
    Last edited by n3o; 05-06-2013 at 06:28 AM.

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