Hi,
I have 2 sheets.
sheet 1 = field "INV/CN" = INVOICE or CREDIT NOTE
field "ICO Number" unique number
in sheet 2 I have these 2 query's
cell Debit / Credit => =VLOOKUP([ICO Number]@row; {ICO Header Range 1}; 2; false) = INVOICE
cell Result => =IF([Debit / Credit]@row = "INVOICE"; "Credit"; "Debit") = Credit
Question is how can I make this in one go ? combination VLOOKUP with the IF
regards