+ Reply to Thread
Results 1 to 3 of 3

Creating a lookup based on multiple requirements

  1. #1
    Registered User
    Join Date
    04-01-2011
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 2007
    Posts
    14

    Creating a lookup based on multiple requirements

    Hello,

    I have a very complicated problem that I can not seem to figure out. I have created a test sheet (attached) using generic values to illustrate my problem.

    My problem according to the test sheet I have attached,

    The coloured table on the left is my data. The table to the right, labled "Final DATA" is the final spreadsheet that I need.

    I need to find a way to create the 'Final Data' table without having to copy and paste from each cell, because my data set is over 50,000 entries long.

    What I need the table to show is the Number column from the left, and the date according to the following criteria. If entries in Step 2 exist, copy the LAST date associated with it. Otherwise if there are NO entries in step 2, choose the date from the FIRST entry in Step 1 from every number.

    In this example sheet I have highlighted in Black the dates that I need. All entries that are step 2 that I need, I have highlighted Red. All entries that I need that are Step 1 are Blue. This generic data is just a small sample of the type of data that I am working with, I tried to include multiple examples in the list.

    If anybody has any trouble understanding what I need, I will be happy to try and explain as best I can.

    The "Final Data" I will be copying to a seperate worksheet, or workbook from the original.

    Thank you,
    Attached Files Attached Files
    Last edited by Mumps; 04-14-2011 at 09:54 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,028

    Re: Complicated spreadsheet problem...

    Please, rename your title according to the rules:

    1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more hours have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.

    maye someone will read question then
    Never use Merged Cells in Excel

  3. #3
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: Creating a lookup based on multiple requirements

    Try this one

    Thanks

    Regards
    Attached Files Attached Files
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

+ 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