This project involves analyzing order data using Excel. The dataset includes columns like Order ID, Order Date, Order Priority, Order Quantity, Order Type, Expanded Order Type, Sales, Discount, Sales with Discount, Sales with Free Shipping, Ship Mode, Shipping Cost, and SalesDeliveryTruck. The project includes creating data validations, conditional formatting, and utilizing advanced Excel formulas like VLOOKUP, XLOOKUP, and INDEX MATCH to derive insights and automate tasks.
-
Data Validation:
- Created a drop-down list for the
Ship Mode
column using data validation to ensure consistent data entry. - Steps:
- Select the
Ship Mode
column. - Go to
Data
>Data Validation
. - Set the validation criteria to
List
and enter the possible ship modes.
- Select the
- Created a drop-down list for the
-
Conditional Formatting:
- Applied conditional formatting to highlight high-priority orders.
- Steps:
- Select the range.
- Go to
Home
>Conditional Formatting
. - Add a new rule and set the condition based on the
Order Priority
column.
-
Formulas:
- VLOOKUP:
- Used to find the
Shipping Cost
based onOrder ID
. - Formula:
=VLOOKUP(OrderID, TableRange, ColumnIndex, FALSE)
- Used to find the
- XLOOKUP:
- An advanced version of VLOOKUP that can search in both directions.
- Formula:
=XLOOKUP(OrderID, LookupArray, ReturnArray)
- INDEX MATCH:
- A more flexible alternative to VLOOKUP.
- Formula:
=INDEX(ReturnRange, MATCH(LookupValue, LookupRange, 0))
- VLOOKUP:
-
Clone the Repository:
git clone https://github.com/PPathole/excel-order-analysis.git cd excel-order-analysis
-
Open the Excel File:
- Open the
Store-Sales-2012 Raw.xlsx
file in Excel.
- Open the
-
Data Validation:
- Follow the steps under
Features > Data Validation
to set up the drop-down list forShip Mode
.
- Follow the steps under
-
Conditional Formatting:
- Apply conditional formatting as described under
Features > Conditional Formatting
.
- Apply conditional formatting as described under
-
Using Formulas:
- Insert the provided formulas in the appropriate cells to automate data lookup and analysis.
-
VLOOKUP Example:
=VLOOKUP(A2, $A$2:$G$100, 4, FALSE)
-
XLOOKUP Example:
=XLOOKUP(A2, $A$2:$A$100, $G$2:$G$100)
-
INDEX MATCH Example:
=INDEX($G$2:$G$100, MATCH(A2, $A$2:$A$100, 0))