+ Reply to Thread
Results 1 to 7 of 7

Multiple values (list) to be searched in another worksheet

  1. #1
    Registered User
    Join Date
    03-13-2014
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2007
    Posts
    59

    Multiple values (list) to be searched in another worksheet

    Hi all,

    I am gonna need your valuable assistance for a problem I am dealing with,

    In the attachement (sheet: "orig") you will see a list of numbers (column A), Start Dates (column B), End Dates (column C) and from column D-N the names of the offers available for each number. In the sheet: "actual" you are going to see several numbers in column A, the offer date in column B, the actual offer name given in column D and the name of the person who gave the offer in column E.

    The problem is that I need in sheet "orig" , column O to put a formula (if possible) which will check if for the specific number an offer of the available ones in columns D-N has been given in sheet "actual" and give the result "yes" if so (crosscheck columns D-N/sheet orig with column D/sheet actual). Plus for the offer to be successful and count as a "yes" the offer date of column B/sheet "actual" should be between the Start Date & End date of columns B & C/sheet orig.

    If we have a yes in column O then the name of the person who gave the offer (sheet "actual" ,column "Offer by") to be appeared in column P.

    *Maybe we have multiple rows for the same number in sheet "actual" (so I couldn t use the VLOOKUP function).

    I tried SUMPRODUCT with OR in it but cause of the multiple values for the same number I couldn't get a result. Plus it took a long time to run for my data.

    I am not very familiar with lists in the formulas and I imagine that maybe the solution is simple but I write it wrong..

    Any ideas how to make this work?

    Any help will be appreciated
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Multiple values (list) to be searched in another worksheet

    Hi

    see the attached file, and let me know is it what your looking for
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  3. #3
    Registered User
    Join Date
    03-13-2014
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Multiple values (list) to be searched in another worksheet

    Thank you very much for the answer. It seems that it works!

    But to be certain I have to use it at work with real data.

    I will get back with the final feedback

    Thanks again for the quick answer!!

  4. #4
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Multiple values (list) to be searched in another worksheet

    Glad to help you

    just change the location rows and everything will be fine

    please mark the thread as SOLVED if u satisfy with the solution and please click on *Add Reputation to say thanks

  5. #5
    Registered User
    Join Date
    03-13-2014
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Multiple values (list) to be searched in another worksheet

    Hello!

    The formulas seem to work but there is another issue... The file I needed the formulas for is quite big. Think that in the actual sheet I have thousand of rows which I will have to add more and more every day so as different sheets to be updated (with your formulas).
    I put the formulas in the first column and excel started "calculated cells" for 10 min.. So since I had to do the same 9 times, I changed the formula calculation from automatic to manual, put all the formulas where I needed and when I finished I press "Calculate now".

    The excel stuck for 50min and I couldn t do anything else

    I think Its SUMPRODUCT's fault. Can we use some other function or can we change something in the excel settings so as I can work in another excel when a file is "calculating cells" ?

  6. #6
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Multiple values (list) to be searched in another worksheet

    Hi Eftychia

    allow me some time I will provide you macro for the same , macro will not take much time

  7. #7
    Registered User
    Join Date
    03-13-2014
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Multiple values (list) to be searched in another worksheet

    Is this easy to do? Thank you very much for your help Naveed Raza
    I really appreciated.

+ 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. Search a string and make a worksheet with the searched name will rows
    By purvamitra in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-22-2015, 11:29 AM
  2. [SOLVED] VLOOKUP issue - two different values searched for
    By georgef403 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-20-2014, 08:50 AM
  3. Replies: 15
    Last Post: 10-15-2014, 03:30 AM
  4. Compare Values and Copy Row Below Searched for Value?
    By Dagoom in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-25-2013, 08:46 PM
  5. [SOLVED] Vlookup does not produce searched for values
    By pvp in forum Excel General
    Replies: 2
    Last Post: 04-04-2012, 07:30 AM

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