Jump to content

Align Excel data


rojanu

Recommended Posts

Hi,

 

I have data in Excel that needs to be aligned on Persons first column (Integer).  I am attaching a sample file.

 

In the sample first sheet has Raw data and second has aligned data

 

Rows needs to be aligned on columns A,G,L

 

Thanks

 

[attachment deleted by admin]

Link to comment
Share on other sites

What I need is to align data by numbers on Start cells

 

E.g. following would be aligned as

 

Start

 

End

 

Ref

 

Var

 

Start

 

End

 

Ref

 

Var

 

Start

 

End

 

Ref

 

Var

 

[/td]

 

 

 

 

 

 

 

 

1131

 

1131

 

C

 

A

 

 

 

 

 

1131

 

1131

 

C

 

A

 

1199

 

1199

 

G

 

A

 

1131

 

1131

 

C

 

A

 

1323

 

1323

 

C

 

T

 

 

 

 

 

to be like

 

 

Start

 

End

 

Ref

 

Var

 

Start

 

End

 

Ref

 

Var

 

Start

 

End

 

Ref

 

Var

 

1131

 

1131

 

C

 

A

 

1131

 

1131

 

C

 

A

 

1131

 

1131

 

C

 

A

 

 

 

 

 

1323

 

1323

 

C

 

T

 

 

 

 

 

 

 

 

 

 

 

  [td]

 

1199

 

1199

 

G

 

A

 

I hope that explains it better

Link to comment
Share on other sites

Well,

 

Each "Start","End" ,"Ref" and "Var" belongs to a person.

 

Sorry in my second post I made mistake and posted values for second and third row in reverse, values are sorted in ascending order, so it should have been

   

       

Start

       

End

       

Ref

       

Var

       

Start

       

End

       

Ref

       

Var

       

Start

       

End

       

Ref

       

Var

   

   

       

1131

       

1131

       

C

       

A

       

1131

       

1131

       

C

       

A

       

1131

       

1131

       

C

       

A

   

   

       

[/td]

       

       

       

       

       

       

       

       

1199

       

1199

       

G

       

A

   

   

       

       

       

       

       

1323

       

1323

       

C

       

T

       

       

       

        [td]

   

 

 

In the example, first person has two empty rows and then has a "1131" value, where as second person has "1131" value in the second row and third person in the first row.  What I need is all "1131" values to be on the same row.

 

Value "1199" only exists only on the third person, so second row only contains values for third person and values for first and second person are emtpy

 

Value "1323" only exists only on the second person, so third row only contains values for the second person and the others are empty.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.