How to create relational databases in Excel 2013

Aug 7, 2014 6:18 PM
thanks to : -----> Julie Sartain(http://www.pcworld.in/how2s/how-create-relational-databases-excel-2013)

Excel used to be the poor schmuck's database, with spreadsheets that just sort of sat there. You could create something more sophisticated with LOOKUP functions, but they were a huge hassle to set up.
Not anymore: Excel 2013's table tools include features that make it easy to link charts and cells, perform searches, and create dynamically updated reports, just like--yes--a relational database. Excel can handle a lot of day-to-day office data this way, and we'll show you how to set it up.
How Excel makes a relational database Relational databases--databases structured to recognize relations among the information stored in them--are essential for working with large amounts of business data. They let you quickly search and retrieve specific information, view the same data set in multiple ways, and reduce data errors and redundancy. Try doing that with a spreadsheet.
To show you how Excel makes it easier, we will create two tables: the master table and the detail table. The master table is the primary table, which generally contains unique records (such as name, address, city, state, etc.). This table rarely changes except to, say, add or delete individuals.
For every record in the master table, there can be many records in the detail tables (also called slave or child tables) that link back to the master table. This is called a one-to-many relationship. The data in the detail tables--such as daily sales, product prices, quantities--usually changes constantly.
To avoid repeating all the master information in every detail table, you create relationships using one unique field, such as the Sales ID, then let Excel do the rest. For example, you have 10 sales people who all have unique, demographic information (master table). Each sales person has 200 products that he/she sells (detail or child table). At the end of each year, you need a report that provides the total yearly sales by person, but you also need a report that provides the total sales by city.
For this tutorial, we'll create a master table with the salespersons' information and a second table that provides their total sales, by quarter, for the year. The Sales ID is the relational field that connects the tables. Then, we'll create a report (or pivot table) that shows which cities had the highest sales.
Open Excel and select a new, blank worksheet.
Create the master table 1. First, double-click the tab at the bottom of the screen (above the green bar line) and type Master over the tag line Sheet1.
2. In cell A1 type: Master. In cells A3 through F3 type these column headers: Sales ID, Sales Person, Address, City, State, Zip Code.
3. In cells A4 through A13 type the sales ID numbers--in this case, 101 through 110. The Sales ID is the unique data value that's used to create a relationship between your two tables.
4. Enter names, addresses, cities, states, and zip codes in the remaining cells. You can copy the information from this sample worksheet or create your own data. Since we are looking for the highest sales by city, be sure to create multiple cities in your table. For example, we have three salespeople in Los Angeles, two in Hollywood, two in San Francisco, and three in San Diego.
5. Once the data is entered, highlight A3 through F13, including the column headers. From the Styles group, select Format as Table. From the dropdown, choose a color and format you like. A Format As Table dialog box appears with the table range displayed in the white box. Ensure that the My Table Has Headers box is checked, then click OK.
6. With the table still highlighted, select the Design tab under the text that says Table Tools (this option is available only when the table is highlighted). In the Properties group (far left), in the box under Table Name, type Master.
Create the detail table 1. At the bottom of the screen beside the Master tab, click the '+' sign to insert a new sheet. Double-click the tab and type Sales over the tag line Sheet2.
2. In cell A1, type Total Sales for 2013. In cells A3 through E3, type Sales ID, Quarter1, Quarter2, Quarter3, and Quarter4.
3. In cells A4 through A13 type the sales ID numbers: 101 through 110.
4. In B4 through E13, enter 40 random numbers that represent sales dollars or copy the data from this example table.
5. Once the data is entered, highlight cells A3 through E13. From the Styles group, select Format as Table. From the dropdown, choose a color and format you like. A Format As Table dialog box appears with the table range displayed in the white box. Ensure that the My Table Has Headers box is checked, then click OK.
6. With the table still highlighted, select the Design tab under the text that says Table Tools (this option is only available when the table is highlighted). In the Properties group, in the box under Table Name, type Sales.
Set relationships in the pivot table report section The first rule of pivot tables: You must define the table relationships within the Pivot Table report section. Do not attempt to create the relational connections first, because Excel will not recognize them from the Pivot Table reporting section. Also, be sure to select the detail table (Sales) for the "analyze data" table, otherwise it won't work.
1. Go to the Sales table and highlight cells A1 through E11. Click the Insert tab, then click the Pivot Table button.
2. In the Create Pivot Table dialog box, ensure that the Select a Table or Range > Table Range field says "Sales." If you want to import a table/database from another program such as Word or Access, click the second option, Use an External Data Source.
3. In the second field--Choose Where You Want the Pivot Report placed--click New Worksheet if you want the table on a separate sheet by itself, or click Existing Worksheet if you want the report to drop in beside your Sales table.
4. And for the last field--Choose Whether You Want to Analyze Multiple Tables--click Add this Data to the Data Model, then click OK.
The Pivot Table menus appear with a Help box on the left that says "To build a report, choose fields from the Pivot Table field list."
1. Under Pivot Table Fields, the Active button is selected because only one table is currently active. Click the boxes Quarter1, Quarter2, Quarter3, and Quarter4 and some numbers appear in a grid on the left.
2. Click the All button, then click the Master table link. The fields from the Master table appear. Click the box beside City. A yellow box appears that says "Relationships between tables may be needed."
3. This is where you define the relationship between the two tables. Click the Create button and the Create Relationship dialog box appears. Under Table, click the down arrow and choose Sales from the available tables list. Under Column (Foreign), click the arrow and choose Sales ID from the field list.
4. Remember the Sales ID is the only field that's in both tables. Under Related Table, choose Master and under Related Column (Primary), choose Sales ID again, then click OK.
Excel makes the connection, then displays the report on the screen: Total Sales by City. Enter a report title in A1, and it's complete.
Sort, create filters, and select data by other fields Filters are used to select specific data by fields. To filter the data by city, click anywhere inside the table, then click the city field--notice the small arrow on the right.
1. Click the arrow and the Sort-Filter Options dialog box pops up with selections for Filters and Sorting. If you want to Sort, click Sort A to Z or Sort Z to A, or see the graphic below for the options under Sort More Options.
The Filter options include Label Filters, Value Filters, and Search (or select specified records in the current search field). If you have a huge database with hundreds of records, you can enter a city name (or partial name) in the Search box, then click the hour glass to locate the specified record/city. Excel displays the city in the list below the Search box.
2. If your database is relatively small, first uncheck the Select All button, then scroll down to the city you want, click the box, then click OK. The report now shows total sales for each quarter in that city only.
Label Filters and Value Filters are additional filtering options to help you refine your search. For example, in the Label Filters, if you choose all cities that Begin With "S," you get San Diego and San Francisco. If you choose all cities Less Than "S," you get Hollywood and Los Angeles. Numeric fields are filtered the same way most all other databases do it--Less Than, Greater Than, Equals, Between, etc.
3. You can also select a different field and quickly create a new report. For example, if you'd like to see the quarterly sales plus totals by sales person, uncheck City and check Sales Person. The report drops in.
4. Next, click Sales Person, click the down arrow, then uncheck Select All in the Sort-Filter Options dialog box. Click four names on the list, click OK, and the filtered report drops in.
The Pivot Tables/database options are endless. There are numerous ways to analyze the data, create and manage sets, group fields, insert slicers and timelines, drill up and down, and import and export data, as well as design reports with custom layouts and styles, create hundreds of colorful charts, then print it all out for distribution.
Charts and styles To spice up your table before you print it, try adding a chart and/or some colors and style to the table.
To add a chart, highlight the table, select Pivot Table Tools > Analyze > Tools > Pivot Chart, then select a chart from the gallery of charts, and click OK.
To add colors and style, select Pivot Table Tools > Design > Pivot Table Styles and choose a table design from the gallery of styles. Click Banded Rows under the Pivot Table Style Options group to alternate colors and/or shading on the odd and even rows for easier viewing. And that's all there is to it.
With this new relational database/table feature, this process is so easy that once it's set up in Excel, you can extract specific data and create dozens of reports in minutes.

books

Computer Science Tutorial


Study Material on Computer Science & Engineering




J2EE Design & Development.zip
Building Java Enterprise Systems with J2EE.zip
wiley - java tools for extreme programming.zip
Javascript Programmers Reference.zip
Whizlabs red hat rhce rh302 exam simulator v4.0.zip
Firewalls 24seven EBook.zip
Linux Security & Optimization.zip
JBoss Administration Guide.zip
JBoss Administration & Development.zip
PHP 5.0 & MySQL Bible.zip
Network Performance Toolkit.zip
Linux Bible.zip
Linux C++ Programming.zip
Linux Installation & Administration Guide.zip
PC Hardware - Complete Guide.zip
Understanding Hard Disks.zip
Windows - Programming.zip
Applying UML Patterns 3rd Edition.zip
Gateway to 3rd Generation Mobile Networks.zip
JBuilder Java Developer Guide.zip
Que - C++ Professional Programmer's Handbook.zip
Redhat Rhce Study Guide.zip
Sams - PHP Developers Cookbook 2nd Edition.zip
Sams, Mysql Tutorial (2004).zip
Simple Apache and Tomcat HOWTO.zip
Solaris 9 Fun with Sunscreen.zip
Steve'S Rhce Study Guide.zip
Sun Scsa 310-014 Solaris 9 Admin I Exam Q&A v6.0 Correctexams.zip
Sun Scsa 310-015 Solaris 9 Admin II Exam Q&A v6.0 Correctexams.zip
Test King - Sun 310-044 Sun Certified Network Administrator For Solaris 9 (4.0).zip
Test King Oracle 1Z0-031 (4.1).zip
Using Linux As A Router.zip
Python Programming with JavaT Class Libraries.zip
Que - MySQL and PHP from Scratch.zip
Solaris 9 Network Administrator Exam CX-310-044.zip
Sams - C Programming - Just the FAQS - PDF.zip
Sams,.MySQL.Certification.Study.Guide.(2004).DDu.zip
Sybex - Mastering MySQL 4.zip
UNIX Shells by Example, 3rd Edition.zip
Excel Programming Tips.zip
Javascript Bible Gold Edition.zip
Java How to Program Fourth Edition.rar
Windows XP and Office Shortcuts.zip
Java Secrets.zip
System Processor Identification Utility.zip
Java - Code Bits, Open-Source Libraries & Project Ideas.zip
An Introduction to 3D Computer Graphics.zip
McGraw-Hill SQL - Complete Reference.zip
JDBC, Metadata, MySQL &Oracle Recipes.zip
Excel Scientific and Engineering Cookbook.zip
SE-Pressman-Software Engineering.zip
web_application_recipes.zip
Software Developers Guide.zip
C programming.exe
Programming for Java Virtual Machine.zip
Software Sizing Estimation & Risk Management.zip
Software Requirements EBook.zip
Formulas and Functions with Microsoft Excel 2003.zip
Integrating Excel & Access - OReilly.zip
OReilly.Head.First.HTML.with.CSS.and.XHTML.Dec.2005.INTERNAL.zip
Wiley.Mastering.Enterprise.JavaBeans.3.0.4th.Edition.Jul.2006.zip
Java Enterprise Edition 5 Tutorial 3rd Edition.zip
Sams.Java.Phrasebook.Nov.2006.zip
Java 2 Programmer Exam Cram 2 (CX-310-035).zip
Testing.And.Quality.Assurance.For.Component.Based.Software.zip
JSP Basic Tutorial.zip
sun dictionary.zip
ppt of excel_tips.zip
Junit testing Tool Software.zip
Manning - Ajax in Action.pdf
HXH.zip
Zope and MySQL.rar
UI Development With Java Server Faces.rar
UML Design Patterns - Java.rar
UML Java Reverse Engineering Tutorial.rar
UNIX Cook Book.rar
UNIX Programmer's Manual.rar
Using Linux.rar
Web Services - Introduction.rar
Websphere Studio Application - IBM Tutorial.rar
Working with XHTML.rar
XHTML W3C Recommendation Summary.rar
XML - Extending your Markup.rar
XML - W3C Tutorial.rar
XML Based Web Services - Developer's Guide.rar
XML Developers Guide.rar
XML Programming Bible.rar
XML Programming with SQL.rar
XMLC Java Presentation Development.rar
Ethereal - User Guide.rar
Java Tools for Extreme Programming.rar
MySQL PHP Database Applications.rar
PHP - Building 50 Practical Applications.rar
Professional Ajax Guide.rar
UNIX - Haters Handbook.rar
Visual JSharp - Core Reference.rar
Web 2.0 & AJAX.rar
Weblogic Tutorial.rar
Writing Apache Modules with Perl and C.rar
AJAX - Building Applications.rar
Zope Bible.rar
XHTML - Introduction Guide.rar
XHTML - Mobile Profile & CSS Reference.rar
XHTML - Quick Reference Card.rar
XHTML - W3C Tutorial.rar
XML - Tutorial.rar
XML MDB Tutorial.rar
XML Syntax Quick Reference.rar
XSLT - Mastering XML Transformations - OReilly.rar
Advanced Linux Networking.rar
Algorithms in Java .rar
Applied Software Engineering Using Apache Jakarta Commons.rar
Linux - Practical Uses for Open Source Software.rar
Protect Your Information With Intrusion Detection.rar
Sendmail Performance Tuning.rar
UNIX Network Programming.rar
Visual C++ Optimization with Assembly Code.rar
C Basics.rar
C Guide.rar
C Introduction.rar
C Tutorial.rar
C-faq.rar
Connector.rar
Context-Object-Pattern.rar
Eclipse_Magazine_Volume06.rar
elsevier.rar
HTML Tutorial.rar
IEEE-demuxing.rar
ieee-patterns.rar
IEEE-proc.rar
IEEE-SW04.rar
Multiple Tutorial.rar
webservices.rar
Advanced Linux Programming.rar
Art Of Unix Programming.rar
BEA WebLogic Server Administration Kit.rar
Beyond Java - Oreilly.rar
Building J2EE Applications Using JBoss & Eclipse.rar
Business Intelligence for Enterprise.rar
C Primer Plus.rar
C++ Primer Plus.rar
C++ tutorial.rar
Concurrent Programming in Java.rar
Core J2EE Patterns Best Practices & Design Strategies.rar
Data Structures and Algorithms with Object-Oriented Design Patterns.rar
Definitive Guide to MySQL.rar
Developing Games in Java.rar
Developing Intranet Applications With Java.rar
Enterprise Java Beans.rar
FreeBSD Handbook.rar
Head Rush AJAX - OReilly.rar
Administering And Securing The Apache Server.rar
Linux Power Tools.rar
Java 2 Platform Security.rar
Java Design Guidelines.rar
Java Enterprise in a Nutshell - Oreilly.rar
Java Extreme Programming Cookbook - OReilly.rar
Java Oracle Database Development.rar
Java Programming Language.rar
Java Projects for You.rar
Java Servlets, JSP & EJB.rar
Java Thread Programming.rar
Java Tutorial A Short Course on the Basics.rar
Java Web Services Tutorial.rar
Java, J2EE, JSP, XML Integrated Webserves.rar
JavaScript & DHTML Cookbook - Oreilly.rar
Javascript Language Reference.rar
JBuilder Developer Guide.rar
JDBC API Tutorial & Reference.rar
Jython for Java Programmers.rar
Linux Desk Reference.rar
J2EE Design & Development.rar
Oracle High Performance Tuning.rar
Mastering Resin.rar
Maximum Security.rar
Microsoft Computer Dictionary.rar
MIDP Style Guide for Java 2 Platform.rar
MySQL - Essential Skills.rar
MySQL & JSP Web Applications Programming Using Tomcat & MySQL.rar
MySQL & PHP.rar
MySQL Certification Study Guide.rar
MYSQL Tutorial - Introduction.rar
MySQL Tutorial.rar
Oracle Database 10g, A Beginner's Guide.rar
Oracle Database SQL.rar
Mastering MySQL.rar
Oracle Database 10g High Availablity with RAC Flashback & Data Guard.rar
PHP and PostgreSQL Advanced Web Programming.rar
PHP Developers Cookbook.rar
PHP for World Wide Web Visual.rar
PHP Functions Essential Reference.rar
PostgreSQL Developers Handbook.rar
PostgreSQL Essential Reference.rar
PostgreSQL Tutorial.rar
Professional Apache Tomcat.rar
Programming Microsoft Visual J++ 6.0.rar
Python Documentation.rar
Python Programming with JavaT Class Libraries.rar
PHP and MySQL Web Development.rar
Red Hat Linux Bible - Fedora and Enterprise Edition.rar
PHP Fast And Easy Web Development.rar
Red Hat Certified Engineer - Linux Study Guide RH302.rar
php_manual_en.zip
Beginning SQL Server 2005 Programming.rar
J2EE Tutorial.rar
Some Java IDEs.rar
Software Syntax Reference Cards.rar


Complete Reference Books




Complete Reference - Fedora Linux.chm
Complete Reference - C++.pdf
Complete Reference - C Sharp.chm
Complete Reference - C.pdf
Complete Reference - Data Compression
Complete Reference - Java.pdf
Complete Reference - HTML & XHTML.chm
Complete Reference - IIS 6.chm
Complete Reference - J2EE.pdf
Complete Reference - J2ME.pdf
Complete Reference - Javascript.chm
Complete Reference - Linux Command.pdf
Complete Reference - Oracle 9i.pdf
Complete Reference - Oracle 10G.pdf
Complete Reference - Perl.pdf
Complete Reference - Solaris 10.pdf
Complete Reference - SQL Server 2005.chm
Complete Reference - Storage Networks.pdf
Complete Reference - Struts.chm
Complete Reference - VB.NET.pdf
Complete Reference - Visual Basic 6.pdf
Complete Reference - Visual C++ 6.chm
Complete Reference - Windows Server 2003.pdf
Complete Reference - XML Schema.chm
Complete Reference - GNU Compiler Collection.pdf
Complete Reference - IBM Websphere.pdf
Complete Reference - MS Access 2003.pdf
Complete Reference - Oracle 8i.pdf





Electronics Tutorial

Tutorial on Electronics


Complete Book on Electrical Engineering Click here
Article on LED Click here
Article on Measurement Analysis Click here
Fundamental on Digital Electronics Click here
Article on Microcontroller Part 1 Click here
Article on Microcontroller Part 2 Click here
Book on Networking Terms & Concepts Click here
Computer Communication Networks ( by Latrobe) Click here
Microwave theory & Techniques Click here
Instrumentation & Measurement Click here
Analog & Digital Electronics Click here
Circuit Theory & Design Click here
Signal & System Click here
Data Communication & Network Click here

Electrical Tutorial

Tutorial on Electrical