+ Reply to Thread
Results 1 to 5 of 5

Search to Match From Two Different Tabs?

  1. #1
    Registered User
    Join Date
    02-25-2008
    Posts
    3

    Search to Match From Two Different Tabs?

    We have the following formula in our timesheets. Basically when we enter a Job number in one cell in say Tab1, it will return the matching project name in a different cell that we have next to the project number. The job number match is done in the tab named "ProjectSchedule", where all the details of the project are listed. We need to extend the match range to include another tab named "CustomSchedule", but I can't figure out how to make the first formula search jobs from both tabs.

    Current working formula:

    =IF(C7="","",INDEX(ProjectSchedule!$C$3:$C$202,MATCH(C7 & "*",ProjectSchedule!$B$3:$B$202,0)))

    What I'm trying to accomplish, but it not working is something like this:

    =IF(C7="","",INDEX(ProjectSchedule!$C$3:$C$202&CustomSchedule!$C$3:$C$202,MATCH(C7 & "*",ProjectSchedule!$B$3:$B$202&CustomSchedule!$B$3:$B$202,0)))

    Please help.

    Thanks.

  2. #2
    Forum Contributor
    Join Date
    02-28-2006
    Posts
    690
    =concatenate(vlookup(number,table1,2),vlookup(number,table2,2))

    is the basic structure, if you need spaces or special characters, build it into the concatenate statement

    eg =concatenate("dog"," ","cat") returns dog cat (3 spaces between)

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by Zero3
    We have the following formula in our timesheets. Basically when we enter a Job number in one cell in say Tab1, it will return the matching project name in a different cell that we have next to the project number. The job number match is done in the tab named "ProjectSchedule", where all the details of the project are listed. We need to extend the match range to include another tab named "CustomSchedule", but I can't figure out how to make the first formula search jobs from both tabs.

    Current working formula:

    =IF(C7="","",INDEX(ProjectSchedule!$C$3:$C$202,MATCH(C7 & "*",ProjectSchedule!$B$3:$B$202,0)))

    What I'm trying to accomplish, but it not working is something like this:

    =IF(C7="","",INDEX(ProjectSchedule!$C$3:$C$202&CustomSchedule!$C$3:$C$202,MATCH(C7 & "*",ProjectSchedule!$B$3:$B$202&CustomSchedule!$B$3:$B$202,0)))

    Please help.

    Thanks.
    Try:

    Please Login or Register  to view this content.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    02-25-2008
    Posts
    3
    NBVC,

    That seems to be the correct code for what I need to accomplish but for some reason it isn't working for me. My projectschedule tab is still being matched but the customschedule is still inputing a n/a. I am not sure what the problem is considering there is no difference between the two tabs. Although the projectschedule tab is actually a referenced tab from a external master sheet.

  5. #5
    Registered User
    Join Date
    02-25-2008
    Posts
    3
    Thank you very much for your help. That formula is correct I just had my text set to general in my custom tab and it needed to be set to text in order for the formula to read the number. Thank you.

+ 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