ENDEBook a demo
← Back to all tasks

LibreOffice Calc

Calculate the total sales in an underneath row called "Total" and display the total of each month as bars. Then calculate the month-on-month growth percentage for Feb to Jun in another row called "Growth" and show them in a line chart (Jan should be omitted in the chart as well). Set the chart titles as the two row headers respectively.

Result
Solved
Points
1 / 1
Steps
22
Duration
14 min 57 s

Evaluation criteria

  • Checks that the spreadsheet matches the expected one on the values and properties the task names.
View the task definition in the OSWorld repository

Final response

Done! I've completed all the requested changes to SalesRep.xlsx: 1. **Total row (row 12)**: Added 'Total' label in A12 with SUM formulas for each month column (Jan: 4852, Feb: 4587, Mar: 3943, Apr: 3857, May: 4677, Jun: 4243). 2. **Growth row (row 13)**: Added 'Growth' label in A13 with month-on-month growth percentages for Feb–Jun (Feb: -5.46%, Mar: -14.04%, Apr: -2.18%, May: 21.26%, Jun: -9.28%), formatted as percentages. B13 is empty (Jan omitted). 3. **Bar chart**: Created a column chart of the six monthly totals (B1:G1 + B12:G12) with the title 'Total'. 4. **Line chart**: Created a line chart of the five Feb–Jun growth values (C1:G1 + C13:G13) with the title 'Growth'. Jan is omitted from both the data and the axis. The file has been saved in xlsx format.

Trajectory

  1. Step 10:00

    The task: (1) add a 'Total' row under the data summing each month, shown as a bar chart; (2) add a 'Growth' row with month-on-month growth % for Feb-Jun, shown as a line chart (Jan omitted); (3) chart titles = 'Total' and 'Growth' respectively. I'll work in the open app. Layout: Total row = row 12 (A12='Total', B12:G12 = SUM of each column), Growth row = row 13 (A13='Growth', B13 empty, C13:G13 = (thisMonth-prevMonth)/prevMonth as %). Charts: bar from B1:G1+B12:G12 titled 'Total'; line from C1:G1+C13:G13 titled 'Growth'. Let me draft the plan.

    • Plan created
      1. Add a 'Total' row (row 12): A12='Total', B12:G12 = SUM of each month column
      2. Add a 'Growth' row (row 13): A13='Growth', C13:G13 = month-on-month growth % for Feb-Jun (B13 empty), formatted as percentage
      3. Create a bar chart of the monthly totals (B1:G1 + B12:G12) titled 'Total'
      4. Create a line chart of the Feb-Jun growth (C1:G1 + C13:G13) titled 'Growth'
      5. Save the file in xlsx format
  2. Step 21:17

    The plan is ready. I'll commit it to enter execution phase.

    • Plan confirmed5 subgoals
  3. Step 31:26

    Start subgoal 1: add Total row. Navigate to A12 via Name Box, then type 'Total' and SUM formulas across B12:G12 using Tab to move right.

    • Clickthe Name Box showing A1 at top left
    • TypeA12
    • Key pressReturn
    • TypeTotal =SUM(B2:B11) =SUM(C2:C11) =SUM(D2:D11) =SUM(E2:E11) =SUM(F2:F11) =SUM(G2:G11)
  4. Step 41:58

    Now add the Growth row in row 13. A13='Growth', B13 left empty (Jan omitted), and C13:G13 = month-on-month growth = (current - previous)/previous using the Total row values. I'll type across with tabs, leaving B13 empty by starting at C13.

    • Clickthe Name Box at top left
    • TypeA13
    • Key pressReturn
    • TypeGrowth
    • Type=(C12-B12)/B12 =(D12-C12)/C12 =(E12-D12)/D12 =(F12-E12)/E12 =(G12-F12)/F12
  5. Step 52:33

    Select C13:G13 and apply percentage formatting using the % toolbar button.

    • Clickthe Name Box at top left
    • TypeC13:G13
    • Key pressReturn
    • Clickthe percent % button in the formatting toolbarfailed
  6. Step 63:08

    The range is still selected. I just need to click the percent % button in the toolbar to format C13:G13 as percentages.

    • Clickthe percent % button in the formatting toolbar (right of the number format buttons)
  7. Step 73:19

    When I typed 'Growth\t' then the first formula, the cursor moved to B13 and the Feb-growth formula landed there. I need to clear B13:F13 and re-enter the five formulas starting at C13. I'll select B13:F13, delete, then enter into C13:G13 and apply percentage format.

    • Clickthe Name Box at top left
    • TypeB13:F13
    • Key pressReturn
    • Key pressDelete
    • Clickthe Name Box at top left
  8. Step 84:12

    I over-deleted. Re-enter the growth formulas for Feb(C13), Mar(D13), Apr(E13), May(F13). G13 (Jun) is already correct. B13 stays empty. I'll go to C13 and tab across.

    • Clickthe Name Box at top left
    • TypeC13
    • Key pressReturn
    • Type=(C12-B12)/B12 =(D12-C12)/C12 =(E12-D12)/D12 =(F12-E12)/E12
  9. Step 94:57

    The Name Box click didn't focus properly so my typed 'C13' appended to existing text. I'll click directly on cell C13 in the grid instead, which is more reliable, then type the four growth formulas across C13:F13. G13 already holds the Jun growth (from the earlier C13:G13 entry that's still there? No — row 13 is empty except A13). Actually the whole row 13 B:G is empty now, so I need to fill C13:G13 with all five growth formulas. Let me click C13 directly and type all five.

    • Clickcell C13 (third column, row 13, just below the Total row)
    • Type=(C12-B12)/B12 =(D12-C12)/C12 =(E12-D12)/D12 =(F12-E12)/E12 =(G12-F12)/F12
  10. Step 105:34

    Subgoals 1 and 2 are complete. Now I need to create the bar chart of monthly totals. I'll select the month headers (B1:G1) plus the Total row values (B12:G12) as a non-contiguous selection, then Insert > Chart. I'll mark sg-1 and sg-2 done and start the selection.

    • Subgoal completedAdded Total row 12 with SUM formulas for each month column.
    • Subgoal completedAdded Growth row 13 with Feb-Jun month-on-month growth % in C13:G13, B13 empty, formatted as percentage.
    • In progressCreate a bar chart of the monthly totals (B1:G1 + B12:G12) titled 'Total'
    • Clickcell B1 (header 'Jan')
    • Clickcell G1 (header 'Jun')
  11. Step 116:33

    Now insert the bar chart of monthly totals. I'll use Insert > Chart. But the chart should show the TOTALS (row 12), not the headers. I need to select the data range that includes both the month labels (B1:G1) and the total values (B12:G12). For a chart with categories, I need the headers as categories and the total row as data. Let me select B1:G1 and B12:G12 together (non-contiguous selection) so the chart uses B1:G1 as category labels and B12:G12 as the data series. I'll select B1:G1, then Ctrl+click to add B12:G12. Actually, let me first select B1:G1 (already done), then hold Ctrl and select B12:G12.

    • Clickcell B12 (Total row, Jan column, value 4852)
    • Clickcell G12 (Total row, Jun column, value 4243)
  12. Step 127:16

    The selection is correct. Now I need to insert a chart via Insert > Chart menu.

    • Clickthe Insert menu in the menu bar
  13. Step 137:38

    I'll click 'Chart...' to launch the chart wizard. It should use my non-contiguous selection (B1:G1 + B12:G12) as the data range, giving a bar chart of the six monthly totals with month labels.

    • Clickthe 'Chart...' item in the Insert menu
  14. Step 147:57

    I need to navigate to the 'Chart Elements' step to set the chart title to 'Total'. I'll click on 'Chart Elements' in the left panel to jump directly there.

    • Clickthe 'Chart Elements' option in the left panel of the Chart Type wizard
  15. Step 158:10

    Set the chart title to 'Total' then finish the wizard.

    • Clickthe Title text field
    • TypeTotal
    • Clickthe Finish button at bottom right of the wizard
  16. Step 168:32

    I need to click outside the chart to exit chart edit mode, then select the range C1:G1 + C13:G13 for the line chart.

    • Clickan empty cell area far from the chart, e.g. cell A20
    • Subgoal completedCreated a bar chart of the six monthly totals with title 'Total'.
    • In progressCreate a line chart of the Feb-Jun growth (C1:G1 + C13:G13) titled 'Growth'
  17. Step 178:54

    Now I need to select C1:G1 (Feb-Jun headers) and C13:G13 (growth values) for the line chart. I'll select C1:G1 first, then ctrl+click to add C13:G13.

    • Clickcell C1 (header 'Feb')
    • Clickcell G1 (header 'Jun')
    • Clickcell C13 (Growth row, Feb column, value -5.46%)
    • Clickcell G13 (Growth row, Jun column, value -9.28%)
  18. Step 1810:09

    Now I'll insert a line chart from this selection via Insert > Chart.

    • Clickthe Insert menu in the menu bar
    • Clickthe 'Chart...' item in the Insert menu
  19. Step 1910:47

    The chart wizard is open for the second (Growth) chart. I need to select 'Line' as the chart type, then navigate to Chart Elements to set the title to 'Growth'. Let me click 'Line' in the chart type list.

    • Clickthe 'Line' option in the chart type list
  20. Step 2010:59

    Click the Lines Only variant (third icon in the top row), then go to Chart Elements to set the title to 'Growth', then Finish.

    • Clickthe third chart variant icon (Lines Only) in the top row
    • Clickthe 'Chart Elements' option in the left panel
    • Clickthe Title text field
    • TypeGrowth
    • Clickthe Finish button at bottom right
  21. Step 2112:00

    I need to click outside the chart to exit edit mode, then save the file in xlsx format. Let me click on an empty cell area to exit chart edit mode, then save with Ctrl+S.

    • Clickcell A25 (empty area below the chart)
    • Key pressctrl+s
    • Key pressReturn
  22. Step 2212:25

    All subgoals are complete: Total row added, Growth row added, bar chart created with title 'Total', line chart created with title 'Growth', and the file saved. I should mark the remaining subgoals as done and finish.

    • Subgoal completedCreated a line chart of the Feb-Jun growth values with title 'Growth'.
    • Subgoal completedFile saved in xlsx format with both charts and new rows.
    • Reported as completed