Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: how to sort out  (Read 2717 times)

0 Members and 1 Guest are viewing this topic.

sanjeev

    Topic Starter


    Starter

    how to sort out
    « on: September 30, 2008, 07:22:20 AM »
     suppose if I have a name of different cities in column A, and in column B also I have a names of  cities.
     I want to find out how many cities in column B are already there in column a as well & how many are not.
    for e.g. mumbai can be in both in a and in b column


    Ivy

    • Guest
    Re: how to sort out
    « Reply #1 on: September 30, 2008, 07:23:55 AM »
    welcome Sanjeev :)

    Glad you made it!

    Now wait for someone to answer this question, you can also check later :)

    ALAN_BR



      Hopeful

      Thanked: 5
      • Computer: Specs
      • Experience: Experienced
      • OS: Windows 7
      Re: how to sort out
      « Reply #2 on: October 07, 2008, 07:12:53 AM »
      Hi

      This site has other forums more suitable for this question.

      Personally I think I could provide a DOS answer,
      I just don't have the energy or time to waste with totally unsuitable tools.

      To start with, you may need to convert the data to pure upper case (or pure lower case).  It would take far to much effort to have the computer compensate for any spelling mistakes or variations in what gets a capital letter.

      I suggest you use a spreadsheet.
      I prefer Open Office, but Excel may also be up to it.

      Just paste your multi-column table into the spreadsheet,
      and so long as choose as column delimiters the Tabs, Spaces, whatever that have been used in the original document, they should appear in separate columns.

      Simple spreadsheet tricks :-
      1) Copy column A into empty column C
      2) Copy column B and append below what has just gone into C
      3) Select each column, one at a time, and sort that column
      4) Select portions of A and slide down, leaving vertical gaps, so that each town is on the same row as in column C
      5) Repeat "4" upon column B
      6) Look at columns A and B - you should now see duplicate towns side by side.

      Regards
      Alan