+ Reply to Thread
Results 1 to 3 of 3

Help Joining 3 worksheets using common fields using IF & VLOOKUP formula

  1. #1
    Registered User
    Join Date
    11-01-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    45

    Help Joining 3 worksheets using common fields using IF & VLOOKUP formula

    Hi, I need some help with joining 3 worksheets that are connected to each other by common fields. If you look at the attached image you will see that I have 3 worksheets; Opportunities, Quotes, QuoteDetail.

    I need to get the Currency displayed in the Opportunities worksheet. The way I need to do this is to first match the crmOpportunityID from the Opportunities worksheet with the crmOpportunityID in the Quotes worksheet. Then I need to get the corresponding Quote ID from the Quotes worksheet and match that with the Quote ID in the QuoteDetail worksheet. Then I need to get the corresponding Currency value and display that in the Opportunities worksheet.

    I tried to do this using the following forumla which seems to work until there is not a corresponding crmOpportunityID in the Quotes worksheet?

    =IF(B2=Quotes!A:A,VLOOKUP(Quotes!B:B,QuoteDetail!A:B,2,TRUE),"")

    Any suggestions would be greatly appreciated.
    Thanks
    Steve
    Attached Images Attached Images

  2. #2
    Forum Contributor Dave H9's Avatar
    Join Date
    03-10-2011
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    418

    Re: Help Joining 3 worksheets using common fields using IF & VLOOKUP formula

    Hi Jennsy,

    Please see attached. I haven't created the three tabs but you should get the idea.

    Hope that helps

    Dave H
    Attached Files Attached Files
    - Mark your post [SOLVED] if it has been answered satisfactorily, by editing your original post using advanced mode.
    - Thank those that provided useful help, its nice and its very well appreciated...use the star on the lower left of the post

  3. #3
    Registered User
    Join Date
    11-01-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Help Joining 3 worksheets using common fields using IF & VLOOKUP formula

    Hi Dave,

    That is absolutely FANTASTIC, thanks very much! Really appreciate your help and effort.

    Thanks,
    Jennsy

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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