Forum Discussion
Store a range of numbers in one cell? Excel Question
"Sheet 1" lists Hardiness Zone, Crop, Annual or Perennial, Min. Temperature Range, Max Temperature Range. My goal is to pull up all the crops that exist within the Hardiness Zones. (Ex. If searching Hardiness Zone 9, every Crop with the Hardiness Zone of 9 is pulled up.)
I'm trying to figure out how store data in the manner that if I wanted every crop with Hardiness Zone of 9, it would pull all the crops. Originally, my idea was to store the hardiness zones as a range. However, I haven't found a solution towards that.
I'm too lazy to recreate that. Please attach a small sample workbook (not screenshots) demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar.
- johannsomosaDec 18, 2024Copper Contributor
Hey HansVogelaar ,
Excuse me, of course let me share a drive file. https://docs.google.com/spreadsheets/d/1shn8arKSoY9nkuGF7cDEFMiy8rnOWc4d/edit?usp=sharing&ouid=113669357501570955749&rtpof=true&sd=true- HansVogelaarDec 19, 2024MVP
Based on the formula proposed by m_tarler :
=TEXTJOIN(", ", TRUE, FILTER(USDA_Crops5[Crop], ISNUMBER(SEARCH(", "&[@[Hrdiness Zone 2023]]&",", ", "&USDA_Crops5[Hardiness Zones]&",")), "None"))