+ Reply to Thread
Results 1 to 4 of 4

Data extraction to new column from one column based on another column values

  1. #1
    Registered User
    Join Date
    02-14-2014
    Location
    saudi arabia
    MS-Off Ver
    Excel 2010
    Posts
    21

    Exclamation Data extraction to new column from one column based on another column values

    Please Help
    I need to extract the datas from one column to new column based on its right side column value

    for example
    A B C
    A1100MS 0
    A1200MS 2 A1200MS
    A1300MS 0
    A1400MS 2
    A1900MS 0
    A1960MS
    A0511MS 2
    A1001MS 2
    A1009MS 0

    From above table I want to extract COLUMN A values to column C based on Column B values that is if it is 2 and also column C values should be continous without blank cells

    Please help me ,Ineed formula or VBA code

    -navanee

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Data extraction to new column from one column based on another column values

    Hi navanee !
    Welcome to the Forum.

    Try this array formula in C2. Since this is an array formula so remember to confirm it with Ctrl+Shift+Enter (i.e. hold down Ctrl and Shift and then press Enter)

    Please Login or Register  to view this content.
    And then drag down.

    Is this what you want?
    Last edited by sktneer; 03-22-2014 at 08:33 AM.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    02-14-2014
    Location
    saudi arabia
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Data extraction to new column from one column based on another column values

    Hi sktneer
    Your formula works well and good , great thanks for your help!!! since I was searching for long time.

    -Navanee

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Data extraction to new column from one column based on another column values

    Glad to help you. Thanks for the feedback.
    Since you are new to forum, let me tell you that if that takes care of your question, please mark your thread as solved.
    Moreover you may also click on * (star) to Add Reputation to those who have put their time and efforts to help you in this forum. This is another way to say thanks to them.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Filter rows based on unique values in one column + specific value in another column
    By Dieneces in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-31-2013, 09:55 AM
  2. Replies: 2
    Last Post: 06-06-2013, 08:29 AM
  3. Replies: 1
    Last Post: 03-02-2013, 05:06 AM
  4. Replies: 4
    Last Post: 08-01-2012, 08:55 AM
  5. Replies: 8
    Last Post: 02-16-2011, 05:03 PM

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