+ Reply to Thread
Results 1 to 10 of 10

Sorting rows based on columns

  1. #1
    Registered User
    Join Date
    01-20-2009
    Location
    Berkeley, USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Sorting rows based on columns

    I have a worksheet with columns of Unique Words and corresponding Frequency of Occurrence for several years. I would like to sort the data so the rows match up on same Unique Words across years.

    I am using Excel 2007.

    Thank you - ecology

  2. #2
    Forum Contributor Kieran's Avatar
    Join Date
    10-02-2003
    Location
    Perth, Western Australia
    MS-Off Ver
    Office 2003
    Posts
    109
    ecology,

    It may be easier to create a new tabel with a lsit of all unique words, and then use the Vlookup() function to return the values for each year.

    It is hard to be more specific, without an expamle of your data.
    Kieran

  3. #3
    Forum Contributor
    Join Date
    10-11-2007
    Location
    Sweden
    MS-Off Ver
    365
    Posts
    251
    I have a worksheet with columns of Unique Words and corresponding Frequency of Occurrence for several years. I would like to sort the data so the rows match up on same Unique Words across years.
    Transpose the values:
    1. Copy the list
    2. Right click on an new cell
    3. Select "Paste Special..."
    4. Enable "Transpose"
    5. Click ok!

    Now you can use "Sort" in the "Data" ribbon to sort words and adjacent frequencies.

  4. #4
    Registered User
    Join Date
    01-20-2009
    Location
    Berkeley, USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Thank you - Sorting rows based on columns

    Thank you Kieran and Steve R. I will try your suggestions. Please see attached image of the dataset.

    - ecology
    Attached Images Attached Images

  5. #5
    Registered User
    Join Date
    01-20-2009
    Location
    Berkeley, USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Transpose successful - Sorting rows based on columns

    Quote Originally Posted by Steve R View Post
    Transpose the values:
    1. Copy the list
    2. Right click on an new cell
    3. Select "Paste Special..."
    4. Enable "Transpose"
    5. Click ok!

    Now you can use "Sort" in the "Data" ribbon to sort words and adjacent frequencies.
    Transpose was successful but unsuccessful with the Sort process. Can you elaborate? An image of the original dataset is attached to the previous reply.

    Thank you - ecology

  6. #6
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    sorting rows based on columns

    Attach a workbook [.xls] with your data and describe desired results.
    When you attach an image, someone trying to help you would have to create a sample excel to show you the answer.
    send an excel file, you'll get better and faster response.
    modytrane

  7. #7
    Registered User
    Join Date
    01-20-2009
    Location
    Berkeley, USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Workbook attached - Sorting rows by columns

    Quote Originally Posted by modytrane View Post
    Attach a workbook [.xls] with your data and describe desired results.
    When you attach an image, someone trying to help you would have to create a sample excel to show you the answer.
    send an excel file, you'll get better and faster response.
    modytrane
    Dataset: Excel 2007 Workbook attached.

    (Thank you modytrane for the suggestion.)

    Issue: I have a worksheet with columns of Unique Words and corresponding Frequency of Occurrence for several years. I would like to sort the data so the rows match up on same Unique Words across years.

    Kieran and Steve R. have offered suggestions - thank you.

    What I have done so far: I successfully transposed the data but have not figured out the Sort.

    I am also trying the Vlookup() feature but stumped because I am trying to use it across worksheets.

    Thank you - ecology
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-20-2009
    Location
    Berkeley, USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Solution - Sorting rows by columns

    I successfully solved my issue using Vlookup (teachingexcel.com is a good reference). Thank you all. Thank you Kieran for the suggestion.

    Quote Originally Posted by ecology View Post
    Dataset: Excel 2007 Workbook attached.

    (Thank you modytrane for the suggestion.)

    Issue: I have a worksheet with columns of Unique Words and corresponding Frequency of Occurrence for several years. I would like to sort the data so the rows match up on same Unique Words across years.

    Kieran and Steve R. have offered suggestions - thank you.

    What I have done so far: I successfully transposed the data but have not figured out the Sort.

    I am also trying the Vlookup() feature but stumped because I am trying to use it across worksheets.

    Thank you - ecology

  9. #9
    Forum Contributor
    Join Date
    10-11-2007
    Location
    Sweden
    MS-Off Ver
    365
    Posts
    251
    I created a unique list and used vlookup to get values.

    See attached workbook
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    01-20-2009
    Location
    Berkeley, USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Thank you Steve R. - Sorting rows by columns

    Steve R.,

    Thank you!

    Your output matches mine and validates my newly acquired Vlookup skills. Thanks for the initial suggestion.

    - ecology

    Quote Originally Posted by Steve R View Post
    I created a unique list and used vlookup to get values.

    See attached workbook

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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