Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   How to find the number in another column? (https://www.askmehelpdesk.com/showthread.php?t=262118)

  • Sep 19, 2008, 04:11 AM
    tejutej
    How to find the number in another column?
    Dear all,

    I wanted to find the numbers of column B which are present in Column A?

    Could any one provode the formula.

    A B
    201 35
    211 53
    21254 212
    22 3256
    35 201
    25 635
    53 656


    Best Regards,
    Tej
  • Sep 19, 2008, 04:16 AM
    tickle
    Can't you do it ?
  • Sep 19, 2008, 04:30 AM
    tejutej
    Quote:

    Originally Posted by tejutej
    Dear all,

    I wanted to find the numbers of column B which are present in Column A?

    Could any one provode the formula.

    A B
    201 35
    211 53
    21254 212
    22 3256
    35 201
    25 635
    53 656


    Best Regards,
    Tej

    Dear Tickle,

    Please note that, just I have given a small example. I have a spreadsheet with more that 5000 rows...
    Please help me in this regard.

    Kind Reagrds,
    Tej
  • Sep 19, 2008, 05:25 AM
    tickle
    Why was my answer not accurate. Why do you need help doing this exercise? Can't you do it yourself ? I don't think that 'it is not accurate' is a proper response to my question.
  • Sep 19, 2008, 07:47 AM
    JBeaucaire
    How do you want to check? One number at a time for B? How do you want to show the answer? One answer each?
    For example:
    Code:

    A      B      C
    201    35    no
    211    53    no
    21254  212    no
    22    3256  no
    35    201    yes
    25    635    no
    53    656    no

    Would that suffice?
  • Sep 19, 2008, 08:43 AM
    tejutej
    Thanks a lot!

    I wanted the numbers which are present in both column A as well as column B.

    I also want the numbers which are present in column B but not in Column A.

    Could this is possible? If yes Please provide the instructions.

    Kind Regards,
    Tej
  • Sep 19, 2008, 09:48 AM
    JBeaucaire
    1 Attachment(s)
    You'll need to do this in two steps. The formula you want, based on your example, is:
    Code:

    =IF(ISERROR(VLOOKUP(B1,$A$1:$B$7,2,FALSE)),"no","yes")
    (see the picture below)

    After you enter the formula and copy it into column C for all entries, you'll have yes/no for each line. Now highlight ALL THREE columns, and SORT by column C (see the second part of the pic below). Now all the yes answers are together and you have all the numbers grouped.
  • Sep 20, 2008, 06:30 PM
    JBeaucaire

    Another satisfied customer... chachacha...

  • All times are GMT -7. The time now is 03:51 PM.