Ok it's actually more tables conected.
First table consists input data. The second table consists of some linked data and of course calculations.
I can give you an example of banking. (It's for my UNI, seminar paper)
Input Table:
ID code
Data
Name
amount
type of loan
grace period
(These data are spread throughout columns)
Loan types Table: this is actually a list consisting of Loan1 and loan2
Bank Info Table: (description and values in columns)
Interest - Value
Loan1 (=Loan1 from loan types table) - Duration
Loan2 (=) - Duration
and finally, the last table. the one with a problem. It's a calculation table
Id code: there is a droplist from the first table and you choose code
Name: when code is chosen name automatically copies via VLOOKUP function
Total amount: automatic, vlookup
interest: calcs = Total amount * Interest (from BankInfoTable)
Amount with interest: = Total amount + interest
payment: =ROUNDUP(AmountWithInterest/(VLOOKUP(LoanType,BankInfoTable,2,FALSE)-Grace period),0)
years left: =(VLOOKUP'Loan Type',BankInfoTable,2,0))-'Current year'-('Loan Started')
Loan type: Vlookup
Started: Vlookup
Ending: VLOOKUP('loanType',BankInfoTable,2,0)+'year started'
Grace period: vlookup
Already paid: Ok, this is a long one because it also recognizes grace period, but it works so won't write it down
Now everything works at first. It works perfectly, But when I try to sort it, or delete a loan that was already paid the data just show me #VALUE!# error and they get mixed up. I guess to many tables are involved and it doesn't know where to look anymore.