Assignment
Assignment
Quest2> How do we define macros in OpenOffice.org Calc? Ans: Macros in OpenOffice.org Calc is used record formatting actions and some other event to the
specific cell or cells. As soon as we record the macro for a specific cell or cells, we can use that macro for the same cell or cells on any worksheet for the actions recorded in that macro. To record and use macro in OpenOffice.org Calc follow the following steps: Step 1) Go for Tools menu and select or move mouse over Macros and select Record Macro to record new macro. Select the cell for performing actions like formatting, inserting formula etc. and click on Stop Recording button appear on the worksheet. Step 2) On clicking Stop Recording button a dialog box will opens provide the for field Macro Name for macro name and click on Save Button. Step 3) To run that macro again go to Tools menu and select Macros then select Run Macro a dialog box will appears having two boxes; first named Library where you save your macro and last one named Macro name. Select the macro you have created earlier and click on Run button to run that macro.
Quest3> Explain with example data sorting and filtering. Ans: Sorting: Sorting in OpenOffice.org Calc lets us easily reorder our data based on the type of sorting
that we choose. This sorting may based on alphabetic or numeric data, in ascending or descending order by one or more columns or even by specific sort order you set up yourself. To understand it more clearly consider the following example: Let we have the following data of students of class and their mark in a particular subject in spreadsheet and we have to sort them: We can sort the given data on the basis of name in ascending or descending order or on the basis of marks same in ascending or descending. One of the simple ways for sorting is to select the whole data and go for standard toolbar and click on Sort Ascending or Sort Descending button and the whole data will reordered according to the selected sorting that may be either based on first column i.e. name or marks which one is highlighted. Or we can sort it in advanced way as go to Data menu and select Sort submenu the following dialog box will open with fields Sort by , Then by and Then by. Select one of the column name and sorting order provided in drop down list and options and click on OK button. Now the whole data are rearranged in order you want.
Filtering: There are a three ways to do filter out data so that we see only what we want: a quick
simple autofilter thats often good enough as is, and the filter you can define the way you want using standard filter or advanced filter. Using the AutoFilter Lets say that we have mark details of a class in a spreadsheet, and we just want to see the mark of a particular student say Bhushan. Thats a good example of when to use the autofilter. Autofilter lets us pick one value for a column, like Bhushan for the Name column, and view the rows in that spreadsheet with Bhushan in the Name column.
1. Choose Data Filter AutoFilter from menu bar. Now the spreadsheet looks like: 2. Dropdown arrows will appear at the top of each column. This means you can restrict what you see in the spreadsheet to rows with a particular value. 3. Click and hold down the arrow and select a value. 4. The spreadsheet will filter out everyone except the rows with that value. 5. To go back to showing all, click and hold down on the columns arrow (blue now) and choose All. 6. When youre done, choose Data Filter Hide AutoFilter to turn off the filter.
Creating a Standard Filter The autofilter works great for some situations, but when we want something a little more complicated. With the autofilter you can just select one value for a column (or the top 10). What if we wanted to just show the marks details of such whose name starts with A and got more than 80% marks, for this we have to create our own filter. Lets say we are still working with the same spreadsheet as before. You need to list down our spreadsheet to student who got 80% or above mark and his/her name starts with A further his/hir roll no. may less than or equals to 3. 1. Select all the cells containing data, including the headings. 2. Choose Data Filter Standard Filter. 3. The Standard Filter window will appear. 4. Fill in the first row with your first criteria, listing the column, the operator (equal to, greater than, etc.), and the respective value to the value fields as shown in the picture. 5. Enter additional filters, if necessary. Select And or Or, depending on whether they are combined or independent. 6. Click OK. The data meeting the criteria will appear in your spreadsheet. 7. To remove the filter, choose Data Filter Remove Filter. Creating Advanced Filter 1. Copy the heading of the data goes to cell apart of the data on the same sheet or any other sheet and paste the copied headings. Write the necessary conditions of filtering the data. 2. Select the data from which you have to filter data 3. Go to menu Data Filter Advanced Filter.
4. In the above dialog box fill the range of heading and all the conditions. And press OK. 5. To remove Advanced Filter go to Data Filter Remove Filter.
To print handout go to File Print or press key Ctrl + P the following print dialog box will come in Content field select the field value as Handouts and in Slide per page field select the number of slides which to be print on a single page like one, two, three, four, six or nine. As shown in the picture and press OK button.