I want to import a products.tex in a spreadtab. The content of the products.tex is
@ Plant & 1 & 60 & 2 & 77 \\
@ Book & 2 & 90 & 4 & 64 \\
@ Other & 3 & 100 & 10 & 6 \\
and I want to import it in the following table
\begin{document}
\begin{spreadtab}{{tabular}{lcc}}
\toprule
@ Product name & @ Number & @ Price & @ Count & Count2 \\
\midrule
\input{products}
\midrule
@ Total & &:={sumprod(b2:[0,-1];c2:[1,-1])} & sum(c2:[0,-1])& sum(d2:[0,-1])\\
\bottomrule
\end{spreadtab}
\end{document}
I have no Idea how to implement it. I would be very thankful for your help