Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Let's start with two simple tables. The first contains the engagement budget. The second contains project budgets. We'd like to get the engagement budget included in the second table. 

Engagement Budget Table

Engagement CodeEngagement Budget
P001000100k
P001002200k

Project Budget Table

Engagement CodeProject CodeProject BudgetEngagement Budget
P001000P001000-00110k?
P001001P001001-00111k?
P001002P001002-00112k?

Where you see the question marks, we are going to insert a formula. The formula will take the engagement code from the second table, look for it the first table, and then return the budget.

...

Project Budget Table (end result)

Engagement CodeProject CodeProject BudgetEngagement Budget
P001000P001000-00110k100k
P001001P001001-00111k
 

P001002P001002-00112k200k

...