samuelbruxel
New Member
- Joined
- Aug 16, 2013
- Messages
- 1
I'm trying for a few days to get this done right, so I thought I should ask for help in this forum.
So, I have 2 tables like this:
Table1 with 2 columns: OrderID(alphanumerical formatted as text) and Price($)
Table2 that has a column ServiceID (number), and Orders (same as OrderID, but formatted with Orders separated by commas, 1 to 10 orders usually)
Table1
OrderID Price
DW4500 $7540,00
DW4501 $2497,00
DW4502 $7961,00
DW4503 $672,00
Table2
ServiceID Orders
22701715 DW4500
22701716 DW4501,DW4502,DW4503
What I want is to SUM total value for that ServiceID.
At first I tried Lookupvalue for an extra column on Table1 to get the ServiceID and SUM after on a pivottable.
I can easily do that when the ServiceID has only ONE order.
I need to find a way to get that ServiceID into the corresponding row on Table2.
Anyone? Thanks in advance
So, I have 2 tables like this:
Table1 with 2 columns: OrderID(alphanumerical formatted as text) and Price($)
Table2 that has a column ServiceID (number), and Orders (same as OrderID, but formatted with Orders separated by commas, 1 to 10 orders usually)
Table1
OrderID Price
DW4500 $7540,00
DW4501 $2497,00
DW4502 $7961,00
DW4503 $672,00
Table2
ServiceID Orders
22701715 DW4500
22701716 DW4501,DW4502,DW4503
What I want is to SUM total value for that ServiceID.
At first I tried Lookupvalue for an extra column on Table1 to get the ServiceID and SUM after on a pivottable.
I can easily do that when the ServiceID has only ONE order.
I need to find a way to get that ServiceID into the corresponding row on Table2.
Anyone? Thanks in advance