Pivot tables have revolutionized the way we interact with data, transforming extensive datasets into meaningful insights with just a few clicks. This powerful tool allows users to reorganize and summarize selected columns and rows of data in a spreadsheet to obtain a desired report. Unlike traditional data analysis, which can be time-consuming and error-prone, pivot tables provide a flexible and efficient solution. They enable users to shift perspectives easily, offering insights from different points of view which is crucial for making informed decisions.
Here's an in-depth look at how pivot tables can enhance your data analysis:
1. Data Summarization: Pivot tables allow you to quickly summarize large amounts of data. For example, you can calculate the sum, average, or count of data points in a matter of seconds.
2. Data Segmentation: You can segment data based on categories. If you have sales data, you can create a pivot table to display sales by region or by product.
3. Trend Analysis: By organizing data in a pivot table, you can identify trends over time. For instance, you might spot a seasonal trend in sales data that wasn't apparent in the raw data.
4. Comparative Analysis: Pivot tables make it easy to compare different sets of data. For example, you could compare this year's sales to last year's to measure growth.
5. Data Exploration: With pivot tables, you can explore your data from various angles. You might start by looking at total sales, then drill down to see sales by product, and then by region.
6. Interactive Reporting: Pivot tables are interactive, so when you change the data being analyzed, the table updates instantly. This allows for dynamic reporting and analysis.
7. Customization: You can customize pivot tables to highlight the data that's most relevant to you. For example, you can apply filters to focus on specific time periods or products.
8. Data Integrity: Since pivot tables are generated from the data in your spreadsheet, they help maintain data integrity. There's no need to manually enter data, which reduces the risk of errors.
To illustrate, imagine you're a sales manager looking at a spreadsheet full of sales data. It's your job to report on the performance of different sales teams. By creating a pivot table, you can quickly summarize sales team, by month, or by product category, without having to sort through each row of data manually. This not only saves time but also provides a clear and concise report that can be easily understood by stakeholders.
pivot tables are a game changer for anyone who relies on data to make decisions. They simplify the process of data analysis, making it accessible to users of all skill levels. Whether you're a business professional, a researcher, or a student, learning to use pivot tables will undoubtedly enhance your reports and provide a competitive edge in the world of data.
A Game Changer in Data Analysis - Spreadsheet Functions: Spreadsheet Functions Simplified: Enhancing Your Reports with Pivot Tables
To harness the full potential of pivot tables, it's crucial to lay a solid foundation with your data. This means ensuring that your dataset is clean, organized, and structured in a way that pivot tables can interpret and manipulate effectively. The initial setup of your data can make or break the efficiency and accuracy of your pivot table reports. From a data analyst's perspective, this involves removing duplicates, ensuring consistency in data entry, and verifying that each column contains data of the same type. A database manager, on the other hand, would emphasize the importance of data normalization to reduce redundancy and improve data integrity before it's even brought into a spreadsheet. Meanwhile, a business intelligence professional might focus on how the data will be used to make strategic decisions, advocating for the inclusion of relevant categories and metrics that align with business goals.
Here's an in-depth look at setting up your data for pivot table success:
1. Start with Data Cleaning: remove any blank rows or columns that could disrupt the pivot table's ability to accurately categorize data. Ensure that all data entries are free from typos and inconsistencies, such as varying date formats or misspelled category names.
2. Ensure Proper Data Structure: Each column should represent a single variable, and each row should represent a unique record. This tabular format is essential for pivot tables to function correctly.
3. Define Your Data Types: Make sure that numerical data is formatted as numbers, dates as dates, and textual information as strings. This prevents any confusion when performing calculations or sorting data.
4. Use Descriptive Headers: Clear column headers are pivotal for understanding the data fields. Headers like "Sales Q1" are more informative than just "Q1," providing context for the data.
5. Check for Duplicates: Duplicate entries can skew your results. Use spreadsheet functions to identify and remove any redundant data.
6. Normalize Your Data: If you're pulling data from a database, ensure it's normalized to reduce redundancy and improve the pivot table's performance.
7. Categorize Your Data: Group similar data into categories that will be useful for analysis. For example, if you're analyzing sales data, you might categorize products by type or region.
8. Create a Data Dictionary: A reference document explaining what each column in your dataset represents can be invaluable, especially when working with large or complex datasets.
9. Consider Future Needs: Structure your data in a way that allows for easy updates and additions. This might mean leaving extra columns for future data points or ensuring that your data range is defined dynamically.
For example, imagine you're working with a dataset containing sales information. You've cleaned the data, ensured proper structure, and now you're ready to analyze. You create a pivot table to summarize sales by product category and quarter. Because you've set up your data with clear headers and consistent formatting, you can easily drag and drop fields to create a report that highlights trends over time, such as an increase in sales for a particular product category in Q3.
By taking the time to set up your data correctly, you not only facilitate a smoother pivot table creation process but also ensure that the insights you derive are based on accurate and meaningful information. This preparatory work may seem tedious, but it's a critical step that can significantly enhance the quality of your reports and the decisions they inform.
Setting Up Your Data for Pivot Table Success - Spreadsheet Functions: Spreadsheet Functions Simplified: Enhancing Your Reports with Pivot Tables
pivot tables are a powerful tool in the realm of data analysis, offering a flexible way to summarize large datasets without the need for complex formulas. They enable users to extract significance from a vast sea of data by allowing for the dynamic rearrangement of information to highlight different aspects and trends. This functionality is particularly useful in business settings where decision-makers need to analyze sales data, inventory levels, or performance metrics quickly and efficiently. From the perspective of a project manager, pivot tables can reveal resource allocation and project timelines at a glance. For a marketing analyst, they can sort customer demographics and campaign results to tailor future strategies.
Here's a step-by-step guide to creating a pivot table:
1. Select Your Data: The first step is to select the range of data you want to analyze. This could be a range of cells within a sheet or an entire table. For example, if you have sales data, you would select all the columns that contain the sales information.
2. Create the Pivot Table: With your data selected, go to the 'Insert' tab and choose 'PivotTable'. A dialogue box will appear, asking where you want the pivot table to be placed. You can choose a new worksheet or a location within an existing sheet.
3. Choose Your Fields: The PivotTable Field List pane appears, and here is where you start building your pivot table. Drag fields to the 'Rows' or 'Columns' areas to start shaping your table. For instance, dragging the 'Date' field to the 'Rows' area and the 'Sales' field to the 'Values' area will give you a breakdown of sales by date.
4. Arrange Your Data: You can further arrange your data by adding more fields to the 'Rows', 'Columns', or 'Filters' areas. If you add a 'Product' field to the 'Columns' area, you'll see sales broken down by product and date.
5. Customize Value Field Settings: By default, numerical fields added to the 'Values' area will be summed, but you can change this by clicking on the field in the 'Values' area and selecting 'Value Field Settings'. You can choose to count, average, find the maximum, minimum, and more. For example, if you want to know the average sales per product, you would change the setting from 'Sum' to 'Average'.
6. Refresh Your Data: If the original data changes, you can update the pivot table by right-clicking anywhere in the table and selecting 'Refresh'. This ensures your pivot table reflects the most current data.
7. Apply Conditional Formatting: To make your data stand out, apply conditional formatting. For example, you could highlight top-performing products in green and underperforming ones in red.
8. Create a Pivot Chart: For visual representation, you can create a pivot chart by selecting your pivot table and going to the 'Insert' tab to choose the type of chart that best represents your data.
9. Slice and Dice with Slicers: slicers are visual filters. Adding a slicer for 'Product Category' allows you to filter the entire pivot table by just clicking on the category you're interested in.
10. Analyze Data with PivotTable Tools: Use the tools under the 'PivotTable Tools' tab to further analyze and find patterns in your data.
By following these steps, you can transform raw data into insightful summaries. For example, a sales manager might use a pivot table to quickly identify which products are selling well in which regions, and then use that information to make informed decisions about inventory and marketing strategies. Pivot tables turn the tedious task of data analysis into a manageable and even enjoyable process, unlocking the potential for informed decision-making based on solid data insights. Remember, the key to mastering pivot tables is experimentation and practice, so don't hesitate to try different arrangements and settings to see what insights you can uncover.
A Step by Step Guide - Spreadsheet Functions: Spreadsheet Functions Simplified: Enhancing Your Reports with Pivot Tables
In the realm of data analysis, the ability to sort and filter data stands as a cornerstone for deriving meaningful insights and making informed decisions. These functionalities are not just about organizing rows and columns; they are about bringing clarity to complexity, transforming raw data into accessible information. Sorting allows us to arrange data in a logical sequence, be it ascending or descending, which can reveal trends and patterns that might otherwise remain hidden in a sea of numbers. Filtering, on the other hand, empowers us to focus on specific subsets of data, enabling a more targeted analysis. Together, sorting and filtering are the gatekeepers of data relevance, ensuring that the most pertinent information is brought to the forefront.
1. Sorting Techniques: Sorting can be as simple as arranging numbers from smallest to largest, or it can involve more complex criteria such as multi-level sorting where you first sort by one column and then by another. For instance, in a sales report, you might sort first by region and then by total sales to see which regions are performing best.
2. Filtering for Focus: Filters are used to display only the rows that meet certain criteria. This is particularly useful when dealing with large datasets where you're only interested in a specific segment. For example, if you're analyzing survey data, you might filter to view responses from a particular age group or geographic location.
3. Custom Sorts and Filters: Beyond basic sorting and filtering, most spreadsheet programs allow for custom functions. You could, for example, sort a list of products not just by sales, but by the ratio of sales to returns, giving you insight into product performance.
4. Data Segmentation: This involves breaking down your data into manageable chunks. If you have a customer database, you might segment it by purchase history or customer demographics to tailor marketing strategies.
5. pivot tables: Pivot tables take sorting and filtering to the next level by allowing dynamic reorganization of data. You can quickly pivot your data based on different variables to find out, for example, which products are selling best in which quarters.
6. Conditional Formatting: This feature works hand-in-hand with sorting and filtering by highlighting data that meets certain conditions, making it stand out. For instance, you could highlight all sales above a certain threshold in green to easily spot high performers.
7. Integration with Other Functions: Sorting and filtering don't exist in isolation. They often work best when combined with other functions like SUMIF or vlookup, which can perform calculations or look up data based on the sorted or filtered results.
8. Data Cleaning: Before sorting and filtering can be effective, data often needs to be cleaned. This might involve removing duplicates, correcting errors, or standardizing formats.
9. advanced Filtering techniques: For more sophisticated analysis, advanced filters can be used to create complex criteria, such as filtering based on a formula.
10. impact on Decision making: Ultimately, the power of sorting and filtering lies in their impact on decision making. By making data more navigable, they allow for quicker, more accurate decisions.
Example: Imagine you're managing a bookstore and want to analyze last month's sales. You could sort your sales data by genre and then filter to show only those books that sold more than 100 copies. This would quickly give you an idea of which genres are most popular and deserve more shelf space.
Sorting and filtering are about more than just neatness; they are about making sense of the data deluge that confronts us in the digital age. By mastering these tools, you can turn data into insights, and insights into action. Whether you're a business analyst, a marketer, or just someone trying to organize a personal budget, these skills are invaluable in the information era.
Making Sense of Your Data - Spreadsheet Functions: Spreadsheet Functions Simplified: Enhancing Your Reports with Pivot Tables
In the realm of data analysis, the ability to summarize data effectively is crucial for transforming raw data into actionable insights. Summarization techniques, such as calculating totals and averages, serve as the foundation for more complex analytical tasks. Totals provide a snapshot of the cumulative value, offering a quick understanding of the scale or magnitude of data. Averages, on the other hand, offer a central tendency measure, which is essential for comparing datasets of different sizes or understanding the 'typical' value in a set of numbers. Both totals and averages are instrumental in pivot table reports, where they can be used to distill large datasets into comprehensible and comparable figures.
Here's an in-depth look at how these summarization methods enhance reports:
1. Totals: The total, or sum, is the aggregation of numerical data in a column or row. In a pivot table, you can quickly calculate the total sales for a quarter, the total number of units sold, or the total expenses for a project. For example, if a company sold 100, 200, and 150 units in the first three months of the year, the total units sold in the quarter would be $$ 100 + 200 + 150 = 450 $$ units.
2. Averages: The average, or mean, is calculated by dividing the sum of a set of numbers by the count of numbers in the set. In a pivot table, this could mean finding the average monthly sales to smooth out fluctuations and identify trends. For instance, if those sales figures from the previous example were in thousands of dollars ($100k, $200k, $150k), the average monthly sale would be $$ \frac{100 + 200 + 150}{3} \approx 150k $$.
3. Weighted Averages: Sometimes, averages need to account for varying weights, such as when products have different levels of importance or profitability. A weighted average multiplies each number by its weight and divides the sum by the total weights. For example, if the products sold for $100k, $200k, and $150k contribute 20%, 50%, and 30% to the profit margin, respectively, the weighted average profit would be calculated as $$ \frac{(100 \times 0.2) + (200 \times 0.5) + (150 \times 0.3)}{0.2 + 0.5 + 0.3} $$.
4. Running Totals: A running total adds up values cumulatively in the order they appear in the dataset. This is useful for tracking progress over time, such as cumulative sales throughout the year. If January sales were $100k, February $200k, and March $150k, the running total for March would be $450k.
5. Moving Averages: This average is used to smooth out short-term fluctuations and highlight longer-term trends or cycles. It is calculated by taking the average of any subset of numbers. For example, a 3-month moving average for the second quarter would be the average of April, May, and June sales.
By utilizing these summarization tools within pivot tables, data analysts can create reports that not only present data in a clear and concise manner but also reveal underlying patterns and insights that might not be immediately apparent. These summaries act as the building blocks for more advanced analysis, such as trend analysis, forecasting, and comparative studies, ultimately leading to more informed decision-making processes. The power of pivot tables lies in their ability to handle these summarizations dynamically, adjusting as new data is added or criteria are changed, ensuring that reports remain up-to-date and relevant.
From Totals to Averages - Spreadsheet Functions: Spreadsheet Functions Simplified: Enhancing Your Reports with Pivot Tables
Pivot tables are a powerful tool for summarizing, analyzing, exploring, and presenting your data. They can transform long and complex datasets into a format that's easier to understand and manage. However, the effectiveness of a pivot table is not just in its ability to organize data – it's also in how it presents that data. Good formatting can make your pivot table more readable and impactful, ensuring that the insights it provides are clear at a glance. Whether you're presenting to a client, reporting to management, or analyzing data for your own projects, taking the time to format your pivot table can greatly enhance the communication and understanding of your data's story.
Here are some in-depth insights into pivot table formatting:
1. Conditional Formatting: This feature allows you to apply formats to cells that meet certain criteria. For example, you could highlight sales above a certain threshold in green and below that threshold in red. This visual cue can quickly draw attention to high and low performers.
2. Number Formatting: Pivot tables often contain numerical data, and it's important to ensure that these numbers are easy to read. Applying number formatting, such as currency, percentage, or decimal places, helps to standardize your data presentation and makes it easier to perform quick comparisons.
3. Layout and Design: The layout of your pivot table should facilitate easy reading and interpretation. Excel offers several built-in layouts and styles, but you can also customize these to suit your needs. For instance, you might choose to display subtotals at the top of each group for immediate visibility.
4. Blank Cells and Errors: Sometimes, pivot tables can contain blank cells or error values which can be distracting. You can format these cells to display a custom message or a zero, which can make your table look more professional and less confusing.
5. Band Rows and Columns: To improve readability, you can apply banded rows and columns, which alternate the background color of each row or column. This 'zebra striping' makes it easier to follow data across the table without losing your place.
6. Headers and Labels: Clear headers and labels are crucial for understanding the data within a pivot table. Make sure they are bold and distinct from the data they describe. You can also rename headers to be more descriptive, which can be particularly helpful when sharing your pivot table with others.
7. Size and Alignment: The default size and alignment of cells in a pivot table may not always be optimal. adjusting the column width and row height, as well as the text alignment, can make your data more legible.
8. PivotChart Integration: For a visual representation of your pivot table data, consider creating a PivotChart. This can be formatted to match the style of your pivot table and provides an immediate visual summary of the data trends.
Example: Imagine you have a dataset of monthly sales figures for different regions. After creating a pivot table, you apply conditional formatting to highlight months where sales exceeded $10,000 in green and those below $5,000 in red. You also use banded rows to make the table easier to read. Then, you create a PivotChart that shows sales trends over the year. This combination of formatting and visual aids turns a simple table of numbers into a compelling data story.
Remember, the goal of formatting is not just to make your pivot table look good, but to make it a more effective tool for communicating your data's narrative. Thoughtful formatting can highlight key information, draw attention to important trends, and make your data accessible to a wider audience.
Making Your Data Look Good - Spreadsheet Functions: Spreadsheet Functions Simplified: Enhancing Your Reports with Pivot Tables
Pivot tables are a powerful tool in the arsenal of spreadsheet functions, allowing users to quickly summarize large datasets and gain insights that can inform business decisions. As users become more proficient with pivot tables, they often seek advanced techniques to further enhance their reports and analyses. These advanced methods go beyond simple summarization, enabling a deeper dive into data manipulation and presentation. From calculated fields to custom grouping, and from slicers to Power Pivot, there's a wealth of functionality waiting to be explored. By mastering these techniques, users can transform their pivot tables from basic summaries to dynamic and interactive reports that provide valuable insights from various perspectives.
Here are some advanced pivot table techniques that can take your data analysis to the next level:
1. Calculated Fields and Items: Add your own formulas within a pivot table to analyze data that isn't explicitly in your source data. For example, if you have sales data, you could create a calculated field to determine the profit by subtracting the cost from the revenue for each item.
2. Grouping Data: Beyond the default grouping, you can group dates by weeks, months, or even fiscal quarters. You can also group numeric fields to categorize data into ranges, such as sales tiers or age groups.
3. Slicers and Timelines: These visual tools allow you to filter your pivot table data interactively. Slicers can be connected to multiple pivot tables, providing a unified control to filter related reports simultaneously.
4. Pivot Charts: Enhance your reports by creating dynamic charts linked to your pivot table data. As you filter and manipulate the pivot table, the pivot chart updates in real time to reflect the changes.
5. Conditional Formatting: Apply formatting rules to highlight trends and patterns in your data. For instance, use color scales to visualize the performance of sales representatives against their targets.
6. Data Model and Power Pivot: Utilize Excel's data Model to create relationships between different tables and use Power Pivot to perform complex data modeling and create sophisticated measures using DAX formulas.
7. GETPIVOTDATA Function: Use this function to retrieve specific data from a pivot table, which can be useful for creating customized reports or dashboards outside of the pivot table itself.
8. Custom Sort Order: Instead of the default alphabetical or numerical sorting, you can define a custom sort order for your pivot table items, such as sorting products by their life cycle stage.
9. pivot Table options: Dive into the pivot table options to fine-tune its behavior, such as disabling automatic refresh, preserving cell formatting, or setting the layout to tabular form for easier reading.
10. Macro Automation: Record macros to automate repetitive tasks in pivot tables, like refreshing data, applying filters, or formatting reports.
For example, let's say you're analyzing a dataset of retail sales. You could use a calculated field to determine the average sale per transaction by creating a formula that divides the total sales by the number of transactions. Then, apply conditional formatting to highlight transactions that are above or below this average, providing a quick visual cue to identify outliers.
By incorporating these advanced pivot table techniques, you can elevate your reports from simple data summaries to comprehensive analytical tools that offer nuanced insights and drive informed decision-making. Remember, the key to leveraging pivot tables effectively is to experiment with these features and find the combinations that best suit your specific data needs.
Beyond the Basics - Spreadsheet Functions: Spreadsheet Functions Simplified: Enhancing Your Reports with Pivot Tables
Pivot tables are a powerful tool in spreadsheet software, allowing users to quickly summarize and analyze large amounts of data. However, even the most seasoned data analysts can fall into traps that can lead to misleading results or inefficient workflows. Understanding these common pitfalls is crucial to harnessing the full potential of pivot tables and ensuring your reports are both accurate and insightful.
One of the first mistakes often encountered is overlooking the importance of clean data. Pivot tables are only as good as the data they summarize. If your dataset contains duplicates, errors, or inconsistencies, your pivot table will reflect these flaws. To avoid this, always perform a thorough data cleaning process before creating a pivot table. For example, use functions like `TRIM()` to remove extra spaces, and `UNIQUE()` to eliminate duplicates.
Another pitfall is ignoring the refresh requirement. Pivot tables do not automatically update when the underlying data changes, which can lead to outdated information being displayed. Always remember to refresh your pivot table after making changes to the data set. This can be done manually or by setting up automatic refresh options if your spreadsheet software supports it.
Here are some additional pitfalls with insights on how to avoid them:
1. Misusing subtotals and grand totals: It's easy to get carried away with the subtotal and grand total features, but they can clutter your pivot table and make it harder to read. Use these features sparingly and only when they add value to your analysis. For instance, if you're analyzing sales data by region, a grand total can give you the overall sales figure, but subtotals for each country within a region might be unnecessary if you're not comparing countries.
2. Overcomplicating the layout: A pivot table should make data easier to understand, not more complex. Avoid using too many layers of data or creating overly complex calculated fields. Stick to a layout that presents the most relevant information clearly and concisely. For example, if you're tracking monthly expenses, a simple layout that categorizes expenses by type and shows monthly totals may be more effective than a detailed breakdown by day.
3. Ignoring the power of filters: Filters are a key feature of pivot tables that allow you to focus on specific subsets of data. Not using them effectively can lead to a lack of insights. Use filters to drill down into your data and uncover trends that might not be visible at a higher level. For example, filtering by a specific product line can reveal which items are driving the most revenue.
4. Forgetting to format data appropriately: Numeric data should be formatted correctly to ensure clarity. This includes setting the number of decimal places, using currency symbols where appropriate, and applying percentage formats when dealing with ratios. For instance, displaying financial figures without currency formatting can cause confusion about the scale of the numbers.
5. Neglecting to use slicers for interactive reports: Slicers are interactive filters that make it easy for users to understand and manipulate the data presented in a pivot table. Not using slicers can make your pivot table static and less user-friendly. Incorporate slicers to allow users to interact with the data, such as selecting different time periods or product categories to compare performance.
By being aware of these common pitfalls and implementing the suggested strategies, you can ensure that your pivot tables serve as an effective tool for data analysis, providing clear and actionable insights. Remember, the goal is to enhance your reports, not complicate them, so always strive for simplicity and accuracy in your pivot table designs.
Common Pitfalls and How to Avoid Them - Spreadsheet Functions: Spreadsheet Functions Simplified: Enhancing Your Reports with Pivot Tables
Pivot tables have revolutionized the way we interact with data, offering a dynamic approach to summarizing, analyzing, and presenting large datasets. They serve as a cornerstone in the toolkit of data analysts, financial experts, and business intelligence professionals. By enabling users to extract significant insights from raw data, pivot tables facilitate informed decision-making across various industries. The versatility of pivot tables lies in their ability to reorganize and summarize selected columns and rows of data to obtain a desired report.
Let's delve into some real-world success stories that showcase the transformative power of pivot tables:
1. retail Inventory management: A mid-sized retail chain was struggling with inventory management, leading to overstocking and stockouts. By implementing pivot tables, they could analyze sales data across different time periods, product categories, and regions. This allowed them to identify trends and adjust their inventory levels accordingly, resulting in a 20% reduction in carrying costs and improved customer satisfaction due to better product availability.
2. Financial Reporting: A financial analyst at a large corporation used pivot tables to streamline the monthly reporting process. By creating a pivot table that linked to real-time financial data, they could quickly generate reports that highlighted key financial metrics such as revenue, expenses, and net income by department and project. This not only saved hours of manual data compilation but also provided executives with up-to-date financial insights.
3. human Resources analytics: An HR department utilized pivot tables to analyze employee data and uncover patterns related to turnover rates. By segmenting data by department, tenure, and performance ratings, they identified a high turnover rate among top performers in certain departments. This insight led to targeted retention strategies, resulting in a 30% decrease in turnover for that group.
4. marketing Campaign analysis: A marketing campaign channels. By comparing metrics such as cost-per-click, conversion rates, and return on ad spend, they could allocate their budget more effectively. The data-driven approach led to a 15% increase in campaign ROI.
5. Healthcare Patient Data: A hospital used pivot tables to manage patient data more efficiently. By sorting and filtering patient information by diagnosis, treatment, and outcome, healthcare professionals could identify patterns and improve patient care protocols. This resulted in enhanced patient outcomes and a significant reduction in readmission rates.
These examples highlight the practical applications of pivot tables in various sectors, demonstrating their ability to turn data into actionable insights. Whether it's optimizing inventory, refining financial strategies, improving employee retention, boosting marketing efforts, or enhancing patient care, pivot tables serve as an invaluable asset in data-driven decision-making.
Real World Success Stories with Pivot Tables - Spreadsheet Functions: Spreadsheet Functions Simplified: Enhancing Your Reports with Pivot Tables
Read Other Blogs