Development of a Crop Recommendation system Based on Soil and Climatic parameters using Excel
Build an Excel tool that suggests crops from soil tests (Nitrogen, Phosphorus, Potassium, pH) and local climate.
About this internship
Data Preparation & Cleaning (Power Query & Excel Tables)
- Agronomic Dataset Ingestion: Importing historical crop yield datasets containing features like Soil Macronutrients (Nitrogen (N), Phosphorus (P), Potassium (K)), Soil Chemistry (pH levels, Electrical Conductivity), and Climatic Variables (Temperature, Rainfall, Humidity) into Excel.
- Data Profiling with Power Query: Cleaning the dataset by removing duplicate entries, filtering out extreme outliers (e.g., negative rainfall or impossible pH values), and handling missing cells.
- Structured Table Structuring: Converting raw data rows into formal Excel Tables (
Ctrl + T) to enable dynamic, structured references that expand automatically when new soil test data is added.
Advanced Logic Engineering & Rule-Based Modeling
- Threshold Multi-Criteria Matrix: Building a backend reference sheet mapping the optimal growth envelopes (Minimum, Optimum, and Maximum thresholds) for 10–20 localized crops (e.g., Rice, Maize, Cotton, Ragi).
- Nested Logic Mapping: Writing complex logical validation arrays using combinations of
IF,AND, andIFSformulas to cross-reference a farmer's real-world soil test values against optimal agronomic ranges. - Dynamic Matrix Indexing: Implementing advanced lookup engines using
XLOOKUPorINDEX/MATCHarrays to rank crops based on how closely the soil's current N-P-K profiles fit the crop's nutrient draw profile.
Predictive Scoring & Distance Vector Modeling
- Nutrient Gap Scoring: Creating formulas to calculate the absolute deviation or "distance score" between the current soil conditions and the ideal baseline conditions for each crop.
- Recommendation Ranking: Using the
SORTandFILTERarray functions to dynamically rank the top 3 recommended crops from most viable to least viable based on the lowest cumulative deviation score. - Fertilizer Requirement Calculator: Programming backend mathematical formulas that calculate the exact deficit in N-P-K kilograms per hectare, giving the user actionable advice on what fertilizer quantities to buy.
Interactive Dashboard Engineering & UX
- Farmer Input Portal: Designing a clean, uncluttered user input interface using Data Validation (Drop-down lists) for selecting regions, alongside structured input boxes for entering raw soil testing metrics.
- Visual Alerting (Conditional Formatting): Setting up color-coded heat rules (e.g., using soft reds, yellows, and greens) to instantly flag parameters that are outside normal thresholds (like critically low nitrogen or high soil acidity).
- Yield & Parameter Charts: Building dynamic charts (like Radar/Spider charts to display N-P-K balance or Clustered Column charts for climate data) that update instantaneously when input fields are modified.