+ Reply to Thread
Results 1 to 2 of 2

how to get data from one work sheet to another with specific conditions

  1. #1
    Registered User
    Join Date
    12-19-2020
    Location
    india
    MS-Off Ver
    2016
    Posts
    22

    how to get data from one work sheet to another with specific conditions

    Hi,

    I am dealing with a large database and need to get data from one worksheet to another. In the attached excel file. I need to get data from CSMAR sheet to FSF sheet.

    In the FSF sheet in column "J" & "K" I need the start and end date, respectively from CSMAR sheet column "D" & "E". The data in FSF sheet is required for the stock code mentioned in column "G" (Column "A" in CSMAR sheet), for the year mentioned in column "D" (column "B" in CSMAR sheet) and for the name mentioned in column "I" (Column "C" in CSMAR sheet).

    Can anyone pls help me. I need this data urgently.

    Regards,
    Juhee
    Attached Files Attached Files
    Last edited by juhee; 09-03-2021 at 05:18 AM.

  2. #2
    Registered User
    Join Date
    12-19-2020
    Location
    india
    MS-Off Ver
    2016
    Posts
    22

    Re: how to get data from one work sheet to another with specific conditions

    Hi,

    I have used the following formulas in the FSF sheet:

    In Column "J" -=LOOKUP(3,1/((CSMAR!$B$3:$B$56=$L5)*(CSMAR!$A$3:$A$56=$G5)*(CSMAR!$C$3:$C$56=$I5)),CSMAR!$D$3:$D$56)

    In column "K" - =LOOKUP(3,1/((CSMAR!$B$3:$B$56=$L5)*(CSMAR!$A$3:$A$56=$G5)*(CSMAR!$C$3:$C$56=$I5)),CSMAR!$E$3:$E$56)

    These give me the results but the number of observations is very high. IN FSF sheet there are 36500 rows and the CSMAR sheet there are 801980 rows. Excel doesn't respond due to this. Is there any other way of doing it? Which can be run faster?

    Please, can anyone help urgently.

    Best regards,
    Juhee
    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)

Similar Threads

  1. Replies: 3
    Last Post: 09-01-2021, 02:00 PM
  2. inputting data from a work sheet to anouther with a specific refrence and order
    By powerball250 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-17-2018, 04:39 AM
  3. [SOLVED] Creating macro to populate specific cells from master sheet to work sheet
    By tatyanamarie in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-01-2017, 03:19 AM
  4. Specific Data from one work sheet to another
    By mlopez60120 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-18-2016, 05:53 PM
  5. Replies: 3
    Last Post: 03-25-2016, 10:59 AM
  6. Replies: 2
    Last Post: 11-13-2014, 05:54 PM
  7. Replies: 7
    Last Post: 09-30-2014, 01:44 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