issue57:tutolibre
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue57:tutolibre [2012/02/06 21:49] – créée fredphil91 | issue57:tutolibre [2012/02/20 16:59] (Version actuelle) – auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | In the last part of this series, we added the data and formulas for our budget worksheet. The end result, while functional, is not very pretty or easy to read. Now, we will add some styles to our spreadsheet to help make the worksheet not only more pleasant to look at, but easier to read and find specific data. We will accomplish this using cell styles. | + | **In the last part of this series, we added the data and formulas for our budget worksheet. The end result, while functional, is not very pretty or easy to read. Now, we will add some styles to our spreadsheet to help make the worksheet not only more pleasant to look at, but easier to read and find specific data. We will accomplish this using cell styles. |
- | Back in part 3 of this series, we used paragraph styles to format the paragraphs in our documents. Cell styles are Calc's equivalent to paragraph styles. Cell styles allow us to specify the border, font, background color, font effects, number format, alignment and cell protection. Styles help to create consistency throughout the spreadsheet. | + | Back in part 3 of this series, we used paragraph styles to format the paragraphs in our documents. Cell styles are Calc's equivalent to paragraph styles. Cell styles allow us to specify the border, font, background color, font effects, number format, alignment and cell protection. Styles help to create consistency throughout the spreadsheet.** |
+ | Dans la dernière partie de cette série, nous avions ajouté les données et les formules à notre feuille de calcul Budget. Le résultat final, bien que fonctionnel, | ||
+ | |||
+ | Nous avions utilisé, dans la partie 3 de cette série, les styles de paragraphe pour formater les paragraphes de nos documents. Les styles de cellule sont les équivalents dans Calc des styles de paragraphe. Les styles de cellule nous permettent de définir la bordure, la police, l' | ||
+ | |||
+ | ** | ||
Section and Column Title Styles | Section and Column Title Styles | ||
Ligne 11: | Ligne 16: | ||
Now, we can apply our two new styles to cells in our spreadsheet. The sections are “Income This Period”, “Assets”, | Now, we can apply our two new styles to cells in our spreadsheet. The sections are “Income This Period”, “Assets”, | ||
+ | ** | ||
- | Editable, Total, and Date Styles | + | Styles des titres de section et de colonne |
+ | |||
+ | Nous commencerons par créer des styles pour nos titres de section et de colonne. Cliquez sur l' | ||
+ | |||
+ | Application des styles aux titres de section et de colonne | ||
+ | |||
+ | Nous pouvons à présent appliquer nos deux nouveaux styles de cellules à notre feuille de calcul. Les sections sont « Revenu pour la période », « Actif » et « Dépenses ». Sélectionnez les cellules pour ces éléments et double-cliquez sur le style Section dans la fenêtre Styles et formatage. Vous pouvez sélectionner plus d'une cellule et appliquer le style en une seule fois. Par exemple, mettez en surbrilliance tous les titres des colonnes sous Revenu (Source et Montant) et double-cliquez sur le style Titre Colonne. Faites de même pour les titres des colonnes dans les deux autres sections. | ||
+ | |||
+ | **Editable, Total, and Date Styles | ||
Editable items are the items in our budget spreadsheet that we will need to change from use to use. These are most of the cells under the column titles, except those that contain formulas - which are our total cells. We will first create the Editable style and use it as the link for our Total and Date styles. | Editable items are the items in our budget spreadsheet that we will need to change from use to use. These are most of the cells under the column titles, except those that contain formulas - which are our total cells. We will first create the Editable style and use it as the link for our Total and Date styles. | ||
Ligne 20: | Ligne 34: | ||
Now, we will create the Total styles by linking it with the Editable style. Right-click on the Editable style in the Style and Formatting window, and select New. Once again, we are starting with an exact copy of the style we right-clicked. Name the style “Total”. We will make changes to distinguish our totals from ordinary items. On the Font tab, change the style to bold. On the background tab, select a darker gray color than the light gray we used for the borders - like gray or gray 40%. Finally, check Protected on the Cell Protection tab. | Now, we will create the Total styles by linking it with the Editable style. Right-click on the Editable style in the Style and Formatting window, and select New. Once again, we are starting with an exact copy of the style we right-clicked. Name the style “Total”. We will make changes to distinguish our totals from ordinary items. On the Font tab, change the style to bold. On the background tab, select a darker gray color than the light gray we used for the borders - like gray or gray 40%. Finally, check Protected on the Cell Protection tab. | ||
- | Apply the styles much in the same manner as we did previously. You will notice that if you apply the Editable style to the date column under expenses, you get a strange result for your dates (probably ####). That's because it was converted into currency. Right-click the Editable style and create a new style named “Dates”. All we need to do here is change the number type to Date and select a simple numeric date style on the Numbers tab. | + | Apply the styles much in the same manner as we did previously. You will notice that if you apply the Editable style to the date column under expenses, you get a strange result for your dates (probably ####). That's because it was converted into currency. Right-click the Editable style and create a new style named “Dates”. All we need to do here is change the number type to Date and select a simple numeric date style on the Numbers tab.** |
- | Conditional Formatting | + | |
+ | Styles Modifiable, Total et Date | ||
+ | |||
+ | Les éléments modifiables sont les éléments dans notre feuille de calcul Budget que nous aurons besoin de changer à chaque utilisation. Ce sont la plupart des cellules sous le titre des colonnes, sauf ceux qui contiennent des formules qui sont nos cellules de total. Nous créerons d' | ||
+ | |||
+ | Dans la fenêtre Styles et formatage, cliquez droit sur le style par défaut et sélectionnez Nouveau. Nommez le nouveau style « Modifiable ». Sous l' | ||
+ | |||
+ | Nous allons, à présent, créer le style Total en le liant au style Modifiable. Cliquez droit sur le style Modifiable dans la fenêtre Style et formatage, puis sélectionnez Nouveau. Encore une fois, nous commençons avec une copie exacte du stylesur lequel nous avons fait un clic-droit. Nommez le style « Total ». Nous apporterons des modifications pour distinguer nos totaux des éléments ordinaires. Sous l' | ||
+ | |||
+ | Appliquez les styles comme nous l' | ||
+ | |||
+ | **Conditional Formatting | ||
We need a way to break up the big block of data under the Expenses section. We could just put borders around them, but large groups of bordered boxes look dull. Instead, we will highlight all the even rows with light gray. We also want to do this quickly. For this we will use conditional formatting. | We need a way to break up the big block of data under the Expenses section. We could just put borders around them, but large groups of bordered boxes look dull. Instead, we will highlight all the even rows with light gray. We also want to do this quickly. For this we will use conditional formatting. | ||
Ligne 30: | Ligne 55: | ||
With this formula, whatever style we choose will only apply to the even rows. For the cell style, click on the New Style button. Give the style the name “Editable Highlight” and link it to the Editable style. On the Borders tab, change the border color from light gray to gray. Move to the Background tab and change the background color to light gray. Click OK to save the changes. You will notice the Cell style is now Editable Highlight. Click OK and you will see the even number rows are highlighted in light gray. | With this formula, whatever style we choose will only apply to the even rows. For the cell style, click on the New Style button. Give the style the name “Editable Highlight” and link it to the Editable style. On the Borders tab, change the border color from light gray to gray. Move to the Background tab and change the background color to light gray. Click OK to save the changes. You will notice the Cell style is now Editable Highlight. Click OK and you will see the even number rows are highlighted in light gray. | ||
- | Unfortunately, | + | Unfortunately, |
- | Finishing Touches | + | |
+ | Formatage conditionnel | ||
+ | |||
+ | Nous avons besoin d'un moyen de morceler le gros bloc de données dans la section Dépenses. Nous pourrions simplement mettre des bordures autour d' | ||
+ | |||
+ | EST.PAIR(LIGNE()) | ||
+ | |||
+ | Avec cette formule, quel que soit le style que nous choisissons, | ||
+ | |||
+ | Malheureusement, | ||
+ | |||
+ | **Finishing Touches | ||
Just a few simple things to make all things even. If you have more than two items in the Income section, you can add the highlights to it as well using conditional formatting and the Highlight Editable style. Also, you can right justify the “Total Expenses” and “Total Payments” labels at the bottom. | Just a few simple things to make all things even. If you have more than two items in the Income section, you can add the highlights to it as well using conditional formatting and the Highlight Editable style. Also, you can right justify the “Total Expenses” and “Total Payments” labels at the bottom. | ||
Ligne 38: | Ligne 74: | ||
Now, to test run your spreadsheet. Remember, we protected the cells we didn't want to change. Tools > Protect Document > Sheet. You can enter a password to password-protect the document, or just click OK to protect it without a password. If you try to edit one of the protected cells you will get a message window saying the cell is protected. However, the unprotected cells are easily edited as before. Using cell protection is a good way to keep your formulas from getting changed once you have the spreadsheet set up and working the way you want it. | Now, to test run your spreadsheet. Remember, we protected the cells we didn't want to change. Tools > Protect Document > Sheet. You can enter a password to password-protect the document, or just click OK to protect it without a password. If you try to edit one of the protected cells you will get a message window saying the cell is protected. However, the unprotected cells are easily edited as before. Using cell protection is a good way to keep your formulas from getting changed once you have the spreadsheet set up and working the way you want it. | ||
- | In the next part of this series, we will prepare our spreadsheet for printing by adding a header and footer to the page, and looking into our printing options. | + | In the next part of this series, we will prepare our spreadsheet for printing by adding a header and footer to the page, and looking into our printing options.** |
+ | |||
+ | |||
+ | Touche finale | ||
+ | |||
+ | Juste quelques petites choses simples pour que tout soit bien. Si vous avez plus de deux éléments dans la section Revenu, vous pouvez ajouter la surbrillance en utilisant aussi bien le formatage conditionnel que le style Modifiable en Surbrillance. En outre, vous pouvez aligner à droite les labels « Total Dépenses » et « Total Paiements » situés plus bas. | ||
+ | |||
+ | Testez à présent votre feuille de calcul. Rappelez-vous, | ||
+ | Dans la prochaine partie de cette série, nous préparerons notre feuille de calcul pour l' |
issue57/tutolibre.1328561389.txt.gz · Dernière modification : 2012/02/06 21:49 de fredphil91