Forum Discussion

Kota's avatar
Kota
New Member
5 years ago

Finding a value based in another table based on name and if a value is within a range

Hi,

 

Stuck here with a difficult one and hoping the community could help.

 

Table A is a list of completed work with items, qty, size of job and the user who completed the work

 

Table B is a reference table with the Item, size range, user1 price, user2 price, user3 price

 

I am trying to calculate the price on table A of the individual job by matching the following in Table B correct item, size of job fits in range, with user price. then Multiplying it by the QTY in table A.

 

There are duplicate items that have different prices per user based on the size range in TABLE B.

 

Not sure where to start on this, Hopefully, the description makes sense.

 

thanks 

2 Replies