0

Linking Multiple Tables

Hi,

I'm trying to link multiple tables and can't seem to get it.

What I'm trying to do is return the item rate from the Pricing Schedule (using effective dates and work dates) and unit of measure (UM) for a particular item (FA_ID). I have an NL row formula to return all the instances where the item has been used (from the EQ_Usage Table) and need to return the Reg_Rate from the EQ_Rate Table. The EQ_Usage Table has the FA_ID and UM but the EQ_Rate Table only has the UM and a Seq_Num. Another table, EQ_Schd Table, has the FA_ID and Seq-Num, the kicker is there are multiple Seq_Num's for each FA_ID based on both the UM and Effective date.

My formula is
=NL("FIRST","EQ_RATE","REG_RATE","JOB_ID",C2,"UM",K5,"LINK=","EQ_SCHD","JOB_ID","=JOB_ID","SEQ_NUM","=SEQ_NUM","LINK=","EQ_USAGE","FA_ID","=FA_ID")

Anyone able to help me?

I have three tables with the following data;
Table 1 - EQ_ Rate
Field - Reg_Rate (value I want to return)
Field - Seq_Num
Field - Eff-Dat
Field - UM
Field - Job_ID

Table 2 - EQ_Schd
Field - FA_ID
Field - Seq_Num
Field - Eff_Date
Field - Job_ID

Table 3 - EQ_Usage
Field - FA_ID
Field - UM
Field - Date Used
Field - Job_ID

2 comments

Please sign in to leave a comment.