+ Reply to Thread
Results 1 to 3 of 3

extract the data from sheet 1 to sheet2 based on conditions

  1. #1
    Registered User
    Join Date
    06-08-2011
    Location
    leiden, netherlands
    MS-Off Ver
    Excel 2010
    Posts
    12

    extract the data from sheet 1 to sheet2 based on conditions

    Dear all ,

    in sheet 1, i have 2 columns with data, namely x and y,
    all are numbers
    x can have any numbers, while y has only two numbers either 0 or 1

    in sheet 2, i would like to collect the data in the following way,
    for every zero (from y column of sheet1), i want respective data of x and 30 data's below it.

    i was trying with if and vlookup, didnt help me so far
    can anybody help me ?
    Thanks n advancee
    regards
    Kadi

  2. #2
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Texas, United States
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    516

    Re: extract the data from sheet 1 to sheet2 based on conditions

    Kadi, could you post a sample workbook of what you are trying to do?

  3. #3
    Registered User
    Join Date
    06-08-2011
    Location
    leiden, netherlands
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: extract the data from sheet 1 to sheet2 based on conditions

    Dear amotto11,

    I have attached the sheet.

    In Sheet one

    1 st column has dates
    2nd column has values
    3rd column has codes

    in sheet what i want is ?

    from sheet1, for every code 1 in 3rd column sheet1
    i want all the values from that date and 30 days afterwards too.
    Like this i want data for every one.

    it can be that for the first 1, the values can be transposed in 30 dates in sheet2,
    but transposing, i can do it manually, important is extract the data from sheet1.

    thanks for such instant repsonses.
    regards
    Karthick
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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