Skip to main content

MS Excel- Data Validation

Data Validation: Data validation let the user to enter restricted data only,so it helps to avoid mistakes.For example: For a student, marks should be between 0 and 100. To put this restriction, select all the cells and click on 'Data validation' in 'Data tab' as shown in fig below:

 
Now select the data type under 'Allow' like in our case, we are selecting 'whole number'. Under 'Data', select the condition which we want to impose on the data, as  'between' is selected to restrict the values from 0 to 100 as shown in fig below:


Now click on 'Error Alert' tab  and type the title under 'Title' and message under 'Error message' which we want to display, if user enter different data other than restricted.



Group and Ungroup: This option helps us to easily view and hide data in rows and columns. To do this select the rows and click on 'Group' option in 'Data' tab as shown in fig below:



After clicking the 'Group' option, data will be grouped as shown below and you can easily hide it .

Clicking on 'Ungroup' in 'Data' tab to simply undo the grouping.

Moreover it gets very easy with groups to perform specific functions on data belonging to common category.To understand this , consider an example, if we want to calculate average of students based on gender then
  • select the number of rows
  • click on 'subtotal' option in 'data' tab

  • Set 'At each change' to 'Gender'
  • Set 'Use function' to 'Average'
  • Set 'Add subtotal to' to 'Total'
  • Click on 'OK' button


It will give us average of 'Total' based on gender and total average too.




To learn about VLOOKUP function in MS Excel click here




Comments

Popular posts from this blog

MS Excel: 5 most useful shortcuts

 MS Excel: 5 Most useful shortcuts in Excel 1. Shift+space : This shortcut is used to select the single entire row . Hold down the shift key and use up/down arrows to select multiple rows. 2. Ctrl+ space : This shortcut can be time saving to select an entire column . Hold down the shift key and use left/right arrows to select multiple columns 3. Ctrl+T : This is used to quickly insert the table . It would ask where the data is for your table before creating the table. 4. Ctrl+9 : It can be used to hide rows  in a worksheet.Note, hidden rows will not be printed. 5. Ctrl+0 : This is helpful in hiding the columns in a worksheet. Note,hidden columns will not be printed.  Click here to learn about Charts in Excel

MS Excel: To create charts

MS Excel: To create charts Ms Excel provides us different type of  charts which can be used according to the demand of data . Following type of charts can be used in ms excel: Pie Chart : It is used to express data in the form of percentage. Bar Chart:  It is used if we want to compare different values related to different categories.It runs horizontally as shown in fig below: Column chart: It is similar to Bar chart, however it runs vertically as shown in below diagram : Line Chart:   To show trend of  data over a span of time this kind of chart is used: Example: Lets us understand how to insert a chart in MS excel with an example. Consider we have a following data in the form of table and we want to display it in the form of chart. To display it in the form chart: Select the data Click on 'Column' under 'Insert' tab to select 'Column chart' Select the chart type to insert the chart 5 Most useful shortcuts in Excel

MS Excel- For beginners

Lets learn basic things about MS- excel. Very first question, What is it? Ms-Excel is a spreadsheet program developed by Microsoft.Using this we can manipulate, format or calculate various arithmetic functions on data arranged in columns and rows.It looks like below: MS Excel basically consists of rows and columns. Rows :  Rows consists of horizontal lines, two parallel horizontal lines make a row as shown in fig below:   Here first row is selected. Number 1 represent row number 1 and similarly each number represents respective row number. Columns: Columns consists of vertical lines, two parallel vertical lines make a column as shown in fig below:   Each column is identified by a different alphabet as first column is marked as A.  Cell : A cell is a rectangular box which occurs as the result of intersections of rows and columns as shown below:               How to perform various arithmetic...