ENDEDemo vereinbaren
← Zurück zu allen Aufgaben

LibreOffice Calc

Calculate revenue in a new column according to the Retail Price sheet (consider product price and quantity and discount), and generate a Pivot Table in a new sheet (Sheet2) that summarizes the revenue of each product.

Aufgabe und Verlauf liegen im englischen Original vor.

Ergebnis
Nicht gelöst
Punkte
0 / 1
Schritte
21
Dauer
12 min 1 s

Bewertungskriterien

  • Checks that the spreadsheet matches the expected one on the values and properties the task names.
Aufgabendefinition im OSWorld-Repository ansehen

Abschließende Antwort

Done! Here's what was accomplished: 1. **Revenue column (G)** added to Sheet1 with the formula `=VLOOKUP(C2,'Retail Price'.$A:$B,2,0)*E2*(1-F2)` — looks up each product's retail price, multiplies by quantity, and applies the discount. Filled from G2 to G35 (all 34 data rows). 2. **Pivot Table** created in a new sheet named **Sheet2**, with Product as the row field and Sum of Revenue as the data field. The pivot table summarizes total revenue for each of the 15 products, with a grand total of **12,913.37**. 3. The workbook was saved in its original .xlsx format.

Verlauf

  1. Schritt 10:00

    I'm in the plan-first phase. I need to: (1) understand the Retail Price sheet structure, (2) add a Revenue column to Sheet1 based on product price, quantity and discount, (3) build a Pivot Table in a new Sheet2 summarizing revenue per product, and (4) save. Let me draft the plan and commit it to unlock execution tools. I'll start by inspecting the data, then refine as I learn the exact column layout of the Retail Price sheet.

    • Plan erstellt
      1. Inspect Sheet1 and the Retail Price sheet to learn the exact column layout and the product-to-price mapping.
      2. Add a Revenue column to Sheet1 using a VLOOKUP formula referencing the Retail Price sheet (price x quantity x (1 - discount)), filled across all data rows.
      3. Create a new sheet named Sheet2 and build a Pivot Table there summarizing total revenue per product.
      4. Save the workbook in its original .xlsx format.
    • Plan bestätigt4 Teilziele
  2. Schritt 20:46

    I need to understand the Retail Price sheet's layout (product name column and price column) before building the VLOOKUP. Let me click the Retail Price tab to view it.

    • Klickthe 'Retail Price' tab at the bottom of the window
  3. Schritt 31:01

    I now have all the information needed: - Sheet1: C=Product, E=Quantity, F=Discount, last data row=35 - Retail Price: A=Product, B=Retail Price Revenue formula: =VLOOKUP(C2,'Retail Price'.$A:$B,2,0)*E2*(1-F2) Now I need to go back to Sheet1, add 'Revenue' header in G1, enter the formula in G2, and fill down to G35.

    • Klickthe 'Sheet1' tab at the bottom of the window
    • Klickthe Name Box (cell reference box) in the top-left showing the current cell address
    • EingabeG1
    • EingabeRevenue =VLOOKUP(C2,'Retail Price'.$A:$B,2,0)*E2*(1-F2)
  4. Schritt 41:42

    The Text Import dialog appeared because my interaction with the Name Box didn't work as expected — the typed text was somehow interpreted as a text import. I need to cancel this dialog and directly click on cell G1 in the spreadsheet to enter the data there.

    • Klickthe Cancel button in the Text Import dialog
  5. Schritt 52:01

    G1 is already selected. I can now type 'Revenue' as the header, press Enter to move to G2, and then type the VLOOKUP formula. The formula should look up the product name in column C from the Retail Price sheet (which has Product in A and Retail Price in B), multiply by Quantity (E) and (1 - Discount) (F).

    • EingabeRevenue
    • Eingabe=VLOOKUP(C2,'Retail Price'.$A:$B,2,0)*E2*(1-F2)
  6. Schritt 62:22

    I need to fill the formula from G2 down to G35 (last data row). I'll select G2, copy it, then select the range G3:G35 and paste.

    • Klickcell G2 which shows 604.832
    • Tastenkombinationctrl+c
    • Klickcell G3fehlgeschlagen
  7. Schritt 72:50

    I need to fill the G2 formula down to G35. I'll click G2, copy it, select G3:G35 via the Name Box, then paste.

    • Klickcell G2 showing 604.832
    • Tastenkombinationctrl+c
    • Klickthe Name Box in the top-left corner
    • EingabeG3:G35
    • Tastenkombinationctrl+v
  8. Schritt 83:29

    Revenue column is done. Now I need to: (1) mark subgoals 1 and 2 as done, (2) create a new sheet named Sheet2, (3) build a pivot table there. I'll right-click on the sheet tab area to insert a new sheet.

    • Teilziel erreichtSheet1 has columns A=Date Time, B=Web Site, C=Product, D=Type, E=Quantity, F=Discount. Retail Price sheet has A=Product, B=Retail Price. Last data row is 35.
    • Teilziel erreichtRevenue column G added to Sheet1 with formula =VLOOKUP(C2,'Retail Price'.$A:$B,2,0)*E2*(1-F2), filled from G2 to G35.
    • Rechtsklickthe Sheet1 tab at the bottom of the window
  9. Schritt 94:02

    I need to click 'Insert Sheet...' to create a new sheet that will become Sheet2. After inserting, I'll rename it to Sheet2 if needed, then create the pivot table there.

    • Klickthe 'Insert Sheet...' option in the context menu
  10. Schritt 104:24

    I need to change the sheet name from 'Sheet3' to 'Sheet2'. I'll triple-click the Name field to select all text, type 'Sheet2', then click OK.

    • Dreifachklickthe Name field showing 'Sheet3' in the Insert Sheet dialog
    • EingabeSheet2
    • Klickthe OK button in the Insert Sheet dialog
  11. Schritt 115:09

    Now I need to create a Pivot Table in Sheet2 summarizing revenue per product. In LibreOffice Calc, I need to: 1) Go to Sheet1 and select the data range, 2) Use Insert > Pivot Table, 3) Configure Product as row field and Revenue as data field (sum), 4) Set destination to Sheet2. Let me first navigate to Sheet1 and select the data range A1:G35.

    • Klickthe 'Sheet1' tab at the bottom of the window
    • Klickthe Name Box in the top-left corner showing the cell reference
    • EingabeA1:G35
  12. Schritt 125:41

    Locator failed for 'the 'Current selection' option in the source selection dialog' — action skipped

    • Klickthe 'Current selection' option in the source selection dialogfehlgeschlagen
  13. Schritt 135:53

    I need to create a Pivot Table. According to KB, I should click a cell inside the data and use Insert > Pivot Table. The range A1:G35 is already selected. Let me use the Insert menu to create a Pivot Table.

    • Klickthe 'Insert' menu in the menu bar
    • Klickthe 'Pivot Table' option in the Insert menu
  14. Schritt 146:37

    I need to click OK to proceed to the Pivot Table layout dialog where I can configure the fields (Product as row field, Revenue as data field).

    • Klickthe OK button in the Select Source dialog
  15. Schritt 156:53

    I need to drag 'Product' to Row Fields and 'Revenue' to Data Fields to create a pivot table summarizing total revenue per product. I'll use drag_and_drop for both.

    • Ziehen und Ablegenthe 'Product' field in the Available Fields list → the Row Fields area in the Pivot Table Layout dialog
    • Ziehen und Ablegenthe 'Revenue' field in the Available Fields list → the Data Fields area in the Pivot Table Layout dialog
  16. Schritt 167:42

    I need to expand the 'Source and Destination' section to set the destination sheet to Sheet2, then click OK to create the pivot table there.

    • Klickthe 'Source and Destination' expandable section in the Pivot Table Layout dialog
  17. Schritt 178:11

    I need to set the destination to Sheet2. I'll click the 'Selection' radio button under Destination, then type $Sheet2.$A$1 as the destination cell reference.

    • Klickthe 'Selection' radio button under the Destination section
    • Dreifachklickthe text field next to the 'Selection' radio button under Destination
    • Eingabe$Sheet2.$A$1
    • Klickthe OK button at the bottom right of the Pivot Table Layout dialog
  18. Schritt 188:52

    Let me click on Sheet2 to verify the pivot table was created there.

    • Klickthe 'Sheet2' tab at the bottom of the window
  19. Schritt 199:09

    Subgoal 3 is complete. Now I need to save the file in .xlsx format (subgoal 4). I'll use Ctrl+S to save.

    • Teilziel erreichtPivot table created in Sheet2 with Product as row field and Sum - Revenue as data field, showing total revenue per product with a grand total of 12913.37.
    • Tastenkombinationctrl+s
  20. Schritt 209:29

    No save dialog is visible. I'll press ctrl+s again to ensure the file is saved. If a format dialog appears, I'll confirm keeping the xlsx format.

    • Tastenkombinationctrl+s
  21. Schritt 219:51

    All four subgoals are complete: (1) inspected the sheets, (2) added Revenue column G with VLOOKUP formula, (3) created Sheet2 with a pivot table showing total revenue per product, (4) saved the file. Time to mark the last subgoal done and finish.

    • Teilziel erreichtFile saved in .xlsx format with no format dialog needed.
    • Als abgeschlossen gemeldet