Excel Integration: Step-by-Step Explanation

Go to the Excel Integration section in the DATA tab to set up and manage your Excel. ๐Ÿ“‚๐Ÿƒโ€โ™‚๏ธ

๐Ÿ“คUpload Template:

This is the first step in creating a custom Excel template. It lets users upload a sample Excel file ๐Ÿ—‚๏ธ, which will be the basis for mapping and structuring raw data into a platform-compatible format. Here's how it works:

๐Ÿ“Template Name: Users start by assigning a unique name to the template they are about to create.โœ๏ธ

If the Excel file contains business travel data, the template name could be โ€œBusiness Travel Data Excel.โ€ This name helps users easily identify templates later for editing or reuse.โœ๏ธ

๐Ÿ”ขStarting Rows: Users specify the row number where data begins in the uploaded Excel file (e.g., row 6).

This ensures the platform skips headers or irrelevant information in the file and focuses only on the actual data. โœ…

๐Ÿ“‚Upload Excel File:

  • The uploaded file must be in .xlsx format๐Ÿ“„.
  • Users can drag and drop or browse๐Ÿ” to upload their files.
  • Once uploaded, the system processes the file:
    • Validation Stage๐Ÿ•’: Users see a progress indicator as the platform scans the file๐Ÿ”„, extracts unique column values, and validates its structure.
    • Successful Upload๐ŸŽ‰: A confirmation message appears with the file name displayed๐Ÿ“›. Users can delete๐Ÿ—‘๏ธ and re-upload๐Ÿ”„ the file if necessary.

๐Ÿ”“Users must first input the starting row value before the upload option becomes active.

๐Ÿค–The system simplifies the process by automating column recognition, saving users time and reducing manual effort.โฑ๏ธ๐Ÿ’ช

This step sets the foundation for a seamless and efficient later-stage mapping process. Once the file is uploaded and recognized, users can define columns, activity data, emission factors, and other parameters.๐ŸŒ๐Ÿ“Š


๐Ÿ—‚๏ธDefine Columns

This step ensures that the data columns in the uploaded Excel file are correctly mapped to the corresponding fields in the platform.๐Ÿ› ๏ธ The process involves reviewing, previewing, and mapping the columns to align with the platform's data requirements.

๐Ÿ“‹Columns in the File:

  • After uploading the Excel file, all the columns are automatically listed under the "Columns in the File" section.๐Ÿ—ƒ๏ธ
  • The names of the columns appear exactly as they are in the file, maintaining familiarity for the user.๐Ÿ‘“

๐Ÿ‘€Data Preview:

  • A sample of the data within each column is displayed to give users a quick overview of its content.๐Ÿ“Š
  • This preview helps users verify that they are mapping the correct column.โœ…

๐Ÿ”„Platform Fields Mapping:

The "Platform Fields" section allows users to assign each Excel column to a corresponding field in the platform.๐Ÿ› ๏ธ

A drop-down menu provides various options for mapping, such as:

  • ๐Ÿ“‰Activity Quantitative Data: For numerical data related to activities.
  • โ™ป๏ธEmission Factors: For columns containing emission factor data.
  • ๐Ÿท๏ธEmission Activity Type: To categorize the activity type.
  • ๐Ÿ“Location of Emission: For columns related to specific locations.
  • ๐Ÿ“…Date: For date-related data columns.

๐Ÿšซ Users can choose โ€œNot Mappedโ€ if a column does not need to be imported into the platform.

Users can delete mappings or reassign them if necessary by interacting with the mapping dropdown๐Ÿ”ฝ or using the delete๐Ÿ—‘๏ธ icon next to each column.

โš ๏ธ If any columns remain unmapped, a confirmation popup appears when the user clicks Next.

The popup lists all unmapped headers along with a preview of their data๐Ÿšจ. The user is informed that these headers will be ignored during import.

Two options are available:

  • โŒCancel: To go back and map the columns if necessary.
  • โžก๏ธProceed: To continue, knowing the listed columns will not be imported.

Once the column mappings are complete, users can proceed to the next step to further define activity data or emission factors.

 


๐ŸงฎDefine Activity Data

This step allows users to create custom formulas that calculate activity data based on the columns from the uploaded Excel file. ๐Ÿ“„This ensures that data is structured and formatted for further use in the platform.

๐Ÿ“ŠThe Activity Data field is where users define a formula that calculates activity data. Users can combine

  • ๐Ÿ“‚ Column headers
  • ๐Ÿ”ข Numeric values
  • โž— Mathematical operators to create meaningful calculations.

๐Ÿ“‹Column Headers That Can Be Used in the Formula: The platform lists all column headers from the uploaded Excel file that are mapped in the Define columns part.๐Ÿ—‚๏ธ Users can select these column headers to add them to the formula.๐Ÿ› ๏ธ

Operators That Can Be Used in the Formula: A variety of operators are available for constructing formulas:

  • + (Addition)
  • - (Subtraction)
  • * (Multiplication)
  • / (Division)
  • () (Parentheses)
  • ** (Exponentiation)

These operators enable flexibility and complexity in calculations.๐Ÿ”„

๐Ÿ”ข Numeric Values: Users can directly input numeric values into the formula by typing a number and clicking Add Numberโž•.

๐Ÿ”„ Building the Formula To construct a formula:

  • Select column headers or input numeric values. ๐Ÿ“‚๐Ÿ”ข
  • Combine them with mathematical operators. โž—
  • The formula dynamically updates in the Activity Data field as elements are added. ๐Ÿงฉ

โš ๏ธError Handling: The platform validates the formula in real-time.๐Ÿšจ Errors are flagged immediately with detailed messages:

  • โŒInvalid Formula Format: This appears if the formula structure is incorrect (e.g., missing operators or invalid characters).
  • โŒUnclosed Parentheses: Highlights missing or unmatched parentheses, ensuring proper grouping in calculations. Users can resolve errors by adjusting the formula until it is valid.

๐Ÿ”„โœ… Clear All Option: Users can reset the formula using the Clear All button, which removes all elements and allows them to start fresh.


๐ŸŒฟDefine Emission Factors Parameters

This step allows users to define custom formulas ๐Ÿงฎ for calculating Emission Factors ๐ŸŒ, which are critical for determining environmental impacts based on activity data. It provides flexibility in using columns, numerical constants, and operators to tailor emission calculations.

If no emission factors were mapped during the column definition stage, the platform retrieves emission factors automatically from mapped emission sources. Users can optionally define their own formula for calculating emission factors at this stage.

โœ๏ธ Formula Editor: Similar to the Activity Data step, this stage includes a formula editor where users can build a custom formula for emission factors. The formula editor includes:

๐Ÿ“‹ Emission Factor Field: Displays the formula built dynamically as users add elements.


๐Ÿ—บ๏ธ Map Emission Sources

This step allows users to map the columns from the uploaded Excel file to specific emission sources in the platform. Users ensure accurate and structured emissions calculations by defining conditions and linking data to platform emission sources. ๐Ÿ”—โœ”๏ธ

๐ŸŒ If no emission source mapping was performed during the column definition stage, the platform assumes the uploaded file contains a single emission source. Users can manually map the data to the correct emission source if needed.

โž• Adding and Configuring Conditions:

Users can define specific conditions to link data columns to emission sources.

๐Ÿงพ Headers of Column: Choose a column from the uploaded file

โš™๏ธ Operators: Select comparison operators like: = (Equal to) in (Matches one of the listed values)

(Greater than) < (Less than) between (Within a range of values) Values: Define specific values or ranges that satisfy the condition.

๐Ÿ”— Combining Multiple Conditions: Users can add multiple conditions for the same emission source using the "Add Condition" button. Conditions are combined using logical operators: If (Main condition) and (Additional conditions)

๐ŸŒ Adding Multiple Emission Sources To handle multiple scenarios or data categories, users can map additional emission sources using the "Add Emission Source" button. Each emission source mapping is displayed in its section for clarity.

๐Ÿ”ฝ Platform Emission Source Selection:

Users select a predefined emission source from a dropdown menu.

If the desired source is not listed, they can create a new emission source using the "Create a new source" option.

โœ… Final Mapping Overview: After completing the mapping, each set of conditions and its associated emission source is displayed for review. Users can delete or edit mappings as needed before proceeding to the next step.


๐ŸŒ Map Locations

This step allows users to link columns in the uploaded Excel file to the corresponding platform locations.

๐Ÿ› ๏ธ No Pre-Mapping? No Problem!

If no mapping for locations was performed during the column-defining stage, the platform assumes that the user will specify the location information during this step.

โž• Adding a Location: Use the "+ Add Location" button to begin mapping locations. Each added location mapping is represented as a row for clarity.

๐Ÿ—‚๏ธ Mapping Columns to Platform Locations Users are required to select headers (columns) from the uploaded file to represent location-based data:

๐Ÿงพ Header of column*: Select the column from the uploaded file that contains location data (e.g., "Tรผrkiye" for country or "Ankara" for city).

๐ŸŒ Platform Locations: Map the selected column(s) to a predefined platform location.

๐Ÿ“ŠIf location data is distributed across multiple columns (e.g., country and city), users can map both columns:

Header of column 1: Represents one aspect of location (e.g., country).

Header of column 2: Represents another aspect (e.g., city).

โœ… Final Mapping: After selecting columns and platform locations, users review the mappings to ensure correctness. ๐Ÿ“๐ŸŒŸ


๐Ÿ“… Map Date

This section allows users to configure date-related information for the data being uploaded, ensuring that the dates in the Excel file align with the platform's requirements.

โ“ No Pre-Mapping? No Problem!

If no date column mapping was defined earlier, users uploading data will need to select the relevant date columns during the Excel upload process. โณ๐Ÿ“ฅ

๐Ÿ”ง Selecting Date Separator: The user chooses the date separator used in the Excel file, such as Slash (/) Hyphen (-) Comma (,), etc. This ensures that the system can correctly interpret the date format in the uploaded file.

๐Ÿ“‹ Selecting Date Format: The user selects the specific date format from the following options:

  • ๐ŸŒ International Standards: YYYY MM DD
  • ๐Ÿ‡บ๐Ÿ‡ธ United States: MM DD YYYY
  • ๐Ÿ‡ช๐Ÿ‡บ European/Other: DD MM YYYY

This ensures compatibility between the Excel file's date formatting and the platform's processing.

๐Ÿ”— Mapping Date Columns: Users specify the start and end date columns from the Excel file (if applicable).

This step ensures the date information is accurately interpreted and mapped, providing a clear time reference for the uploaded data. After mapping, users can finalize the template creation by clicking the "Create" button. ๐Ÿ“…๐Ÿ’ก