Moin André
Ich stelle gerade fest, dass Dein Tool nicht den Wert ausgibt, den der Zahlenformatcode vorgibt.
Beispiel:
Zahlenformatcode: MM.JJJJ
Ausgabe durch Dein Tool: 02.02.19
Falls sich das einfach ändern ließe, wäre das hilfreich.
Und natürlich wäre auch die Ausgabe des Zahlenformatcodes nützlich.
Als Anregung habe ich mal etwas HTML mit CSS gebaut. Vielleicht gefällt es Dir/euch?
Durch die Ausgabe der Werte, Formeln und Zahlenformatcodes in einer einzigen Tabelle kann das Auge schneller die korrespondieren Zellen erfassen, finde ich.
Da ich ich nicht weiß, ob man auf sichere Weise CSS in einer Forumssoftware im Element style verwenden kann, habe ich zunächst mal die sichere Variante mit Inline-Styles verwendet.
Tabellenblattname: Tabelle1
| Ausgaben | |
|---|
| | A | B |
|---|
| 1 | Wartungsdatum | Verstrichene Monate bis heute |
|---|
| 2 | 03.2018 | 11 |
|---|
| Formeln | |
|---|
| | A | B |
|---|
| 1 | | |
|---|
| 2 | | =DATEDIF([@Wartungsdatum];HEUTE();"m") |
|---|
| Zahlenformatcodes | |
|---|
| | A | B |
|---|
| 1 | | |
|---|
| 2 | MM.JJJJ | |
|---|
Tabellencode eingefügt mit dem Makro
table2www von © schauan
Code:
<table style="border-collapse: collapse;">
<caption>Tabellenblattname: Tabelle1</caption>
<thead>
<tr>
<th colspan="3" style="font-weight: normal; border: 1px solid black; text-align: center; background-color: beige;">Ausgaben<th>
</tr>
</thead>
<tbody>
<tr>
<th style="font-weight: normal; border: 1px solid black;"> </th>
<th style="font-weight: normal; border: 1px solid black; background-color:#E6E6E6;">A</th>
<th style="font-weight: normal; border: 1px solid black; background-color:#E6E6E6;">B</th>
</tr>
<tr>
<th style="font-weight: normal; border: 1px solid black; background-color:#E6E6E6;">1</th>
<td style="border: 1px solid black;">Wartungsdatum</td>
<td style="border: 1px solid black;">Verstrichene Monate bis heute</td>
</tr>
<tr>
<th style="font-weight: normal; border: 1px solid black; background-color:#E6E6E6;">2</th>
<td style="border: 1px solid black;">03.2018</td>
<td style="border: 1px solid black;">11</td>
</tr>
</tbody>
<thead>
<tr>
<th colspan="3" style="font-weight: normal; border: 1px solid black; text-align: center; background-color: beige;">Formeln<th>
</tr>
</thead>
<tbody>
<tr>
<th style="font-weight: normal; border: 1px solid black;"> </th>
<th style="font-weight: normal; border: 1px solid black; background-color:#E6E6E6;">A</th>
<th style="font-weight: normal; border: 1px solid black; background-color:#E6E6E6;">B</th>
</tr>
<tr>
<th style="font-weight: normal; border: 1px solid black; background-color:#E6E6E6;">1</th>
<td style="border: 1px solid black;"></td>
<td style="border: 1px solid black;"></td>
</tr>
<tr>
<th style="font-weight: normal; border: 1px solid black; background-color:#E6E6E6;">2</th>
<td style="border: 1px solid black;"></td>
<td style="border: 1px solid black;">=DATEDIF([@Wartungsdatum];HEUTE();"m")</td>
</tr>
</tbody>
<thead>
<tr><th colspan="3" style="font-weight: normal; border: 1px solid black; text-align: center; background-color: beige;">Zahlenformatcodes<th>
</tr>
</thead>
<tbody>
<tr>
<th style="font-weight: normal; border: 1px solid black;"> </th>
<th style="font-weight: normal; border: 1px solid black; background-color:#E6E6E6;">A</th>
<th style="font-weight: normal; border: 1px solid black; background-color:#E6E6E6;">B</th>
</tr>
<tr>
<th style="font-weight: normal; border: 1px solid black; background-color:#E6E6E6;">1</th>
<td style="border: 1px solid black;"></td>
<td style="border: 1px solid black;"></td>
</tr>
<tr>
<th style="font-weight: normal; border: 1px solid black; background-color:#E6E6E6;">2</th>
<td style="border: 1px solid black;">MM.JJJJ</td>
<td style="border: 1px solid black;"></td>
</tr>
</tbody>
</table>
<div style="color: gray">Tabellencode eingefügt mit dem Makro <a href="http://www.xltips.de/ftxt/lnk-dow/table2www.htm">table2www</a> von © schauan</div>