Forum Discussion
Store a range of numbers in one cell? Excel Question
As noted by the other responses more information and in particular a sample sheet would be helpful.
That said, you are correct that excel can NOT store a range of numbers in a single cell as values and putting a list or range of values into a single cell will cause it to be treated as text. That said it doesn't mean what you want to do isn't possible. There are many ways to treat text and to extract numbers from text or just search the text. Alternatively you say 1 or 2 cells and it sounds like it is a range of values (i.e. continuous) so could you just have min and max columns for the range and then return the rows that have a min < the value and the max > the value. Again this would be easier to show if we have a sample sheet. But it sounds like a FILTER() might work well for you. Here is a formula in 'pseudo code' to return the "data" of interest based on the corresponding [min] and [max] columns bracketing the "value" of interest
=FILTER( data, (data[min] < value)*(data[max] > value), "none found")
Hey m_tarler , thank you for your response! From what I understand about your response, is that to capture the range of, for example 1-25, I could utilize the max function. In the case scenario, where I want all crops where temperature zone < 25 degrees, max < 25, such so that all crops below 25 is returned. Is this correct?
Attached is the link to the drive:
https://docs.google.com/spreadsheets/d/1shn8arKSoY9nkuGF7cDEFMiy8rnOWc4d/edit?usp=sharing&ouid=113669357501570955749&rtpof=true&sd=true