If and fill cells automated

Hello,

I have a map with different tables (projects, inventory, employees). You find here.

Plan:

table projects
No. | project | CM  | Inventory  | Weight | ...
1      Screed      1       1,2,3,4,4
1      Screed      2       1,2,3,4,4
1      Screed      3       1,2,3,4,4     

table Inventory
No. | Inventory | Buy Date       | Culumn | Weight | 
1         blabla      10/12/2015       1            0,3
2         blabla      10/12/2015       1            0,3
3         blabla      10/12/2015       1            0,3
4         blabla      10/12/2015       2            0,3
5         blabla      10/12/2015       2            0,3
6         blabla      10/12/2015       2            0,3

I ask me is it possible that when I write in Project/CM 1 (2,3,4 …) that libreoffice looks in Inventory search the number 1 (2,3,4 …) in Inventory/Culumn and print the No. (first row inventory) in Projects/Inventory and count the Inventory/Weight and write in Projects/Weight.

Hope I it explain to understand well. Have someone a idea for easy function?

Thank you and nice day
Silvio

Silvio sounds Italian and your domain is French. However, the ways you worded the question itself is German in its structure and everything else is also pointing in that direction. As I am German I might better understand what you want to achieve if you also describe it in German. (What about your username?)

Der Name hat aber nicht immer etwas mit der Herkunft zu tun. Was soll mit den username sein? Die wollen ein Nick und der fiel mir ein. Hat keine tiefe Bedeutung :slight_smile: Ich würde gerne wissen ob es einfacher (ohne Programmierstudium) möglich ist das, wenn in Tabelle Projekt/CM 1 eingeben wird (oder eine andere) LO in der Tabelle Inventar/Culumn nachschaut ob die Nummer existiert und alle No. (1) in Projekt/Inventory reinschreibt und das Gewicht zusammen rechnet und schreibt.

Natürlich geht mich weder Herkunft noch Nickname etwas an. Ich habe halt einen Hebel gesucht, besser zu verstehen. Sorry!
My attempt faild. I cannot understand the question worded this way in German (kind of) either.

War ja nicht böse gemeint keine Sorge. Silvio war glaube ich ein beliebter Name im Osten. Aber warum keine Ahnung. Was verstehst du den nicht, ich habe keine Ahnung wie ich das besser erklären soll. Vielleicht mal ein Tipp, kannst mich gerne privat kontaktieren.

Sag’ so etwas wie: Ich möchte in diese bestimmte Zelle (Tabellen haben viele Zellen!) genau diesen Inhatlt “…” eingeben, und in (z.B.) der rechten Nachbarzelle genau dieses Resultat ("…") bekommen. Natürlich ist es besser, so etwas sowohl in Beispielen, als auch in Begriffen zu beschreiben. Wenn schon ein Beispieldokument vorliegt, setzt man das Ganze am Besten für mehrere Beispiele dort ein. Einzelne Beispiele lassen oft noch Missverstöndnisse zu.

Ich gebe in der Tabelle, Spalte D (CM) eine 1 oder andere Zahl ein, dann soll LO in der Tabelle Inventar Spalte G (Culumn) alle 1 suchen und die Nummern der Spalte A sortiert in Projekte Spalte J (inventory) schreiben. Wie viel Zellen weiß ich nicht, Projekte und Inventar werden fortlaufend aktualisiert. Gewicht habe ich jetzt nur in Inventar Spalte E, einfach anhängen in Tabelle Projekte Spalte M.

Vielleicht so:
Wenn ich in der Tabelle ‘Projekte’ in Spalte ‘CM’ eine Zahl (z.B. 1) eingebe, soll in der gleichen Reihe in Spalte ‘Inventory’ eine Liste aller Inventarnummern (aus Spalte ‘No.’ der Tabelle ‘Inventar’) erscheinen, zu denen die Spalte ‘Culumn’ der Tabelle ‘Inventar’ die eingegebene Zahl (eben 1) als Wert enthält.
Wieso enthält die bereits vorliegende Liste zu ‘CM’ =1 (etwa in Zelle D2) die Listenelemente 4,6,9 - aber nicht 19,23,33,37,41,45? Alles falsch?

Das was in der Tabelle Inventar rot ist, wurde verkauft und grün ist aktuell vorhanden. Ich erneuere alle 5/10 Jahre das Inventar aber damit man noch zurückblicken kann bleibt es eben erhalten.

Das sagt leider nichts zur Sache. Ist meine Vermutung richtig oder falsch?

weil das falsch ist, die 1 muss in Inventar gelöscht werden. 4,6,9 sind alt und nicht mehr im Inventar.

Jetzt verstehe ich gar nichts mehr.

You may check the attached example for usability concerning your task. I did no longer understand the comments pretending to answer mine.
Sorry!

Any software or function is limited in some way. I do neither know the limitations of the Excel-2016-TEXTJOIN nor those of the Calc-TEXTJOIN. I know the bug I mentioned. For my own purposes I use a similar function written in BASIC but avoiding the bug and adding some functionality. There is one unavoidable limitation: No formula returning text to a cell of a Calc spreadsheet can deliver more than 65535 characters.Originally this is not a limitation of a function but one of the cell.

Okay thanks.

Hello Lupp that’s what I search.

=INDEX(VERBINDEN(",";1; WENN($Inventar.$G$2:$Inventar.$G$101=$D11;$Inventar.$A$2:$Inventar.$A$101;""));1)

This I can combine with more numbers? On some projects only one group work, but in most all of my "worker groups (in German Kolonne) work on a project. So stand in cell CM on table projects for example 1,2 or other row 3,4 but it can be too 1,2,3,4.

But so perfect give me Idea to understand more. Thanks for it.

Silvio