Results 1 to 3 of 3

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

Threaded View

  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

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