if column contains certain value, display value from adjacent cell
I have a list of food in my freezer and in another sheet I have a planning of when I'm gonna use up what, because I will be moving soon and I need my freezer to be empty by then 🙂
So in the list sheet, column A contains the names of the food. In column B I wrote the date of when I will use it.
The planning sheet has columns with the date and I want the food to automatically come in there.
What I have been trying is, for instance under monday april 5th 2015:
IF(CONTENT :: B=DATE(2015;4;6);CONTENT :: A;"none")
This just results in "none", no matter if there actually is an entry in that B-column with the correct date.
When I tried to select the cell myself
IF(CONTENT :: B27=DATE(2015;4;6);CONTENT :: A27;"none")
Then of course I actually got the name of the food that was entered in A27 as a result.
So I somehow need to be able to adapt the first formula, so that it knows that I need it to search the B-column for the entry that has the correct date and then as a result show me the entry of the cell in the A-column with the same row-number.
I hope any of this makes sense.
Thanks in advance.
Btw I use numbers '09 version 2.3 (554)