Name | Allergies
----------------
Jane | Peanuts
John | Carrots
Jane | Milk
Ron | Eggs
Jane | Snakes
John | Cookies
That goes on for several dozen name-allergy pairs. On a separate worksheet, I want to be able to have a column for Jane that automatically lists all her allergies, another column for John, etc., like:
Jane | John | Ron
-----------------------------
Peanuts | Carrots | Eggs
Milk | Cookies |
Snakes | |
Heh, it would be such a dream to actually work with databases instead of this heterogeneous mess of spreadsheets… but I doubt I could convince the rest of my team
I used to often create Access databases that import an Excel file and then use queries to make it function like a normal database. That way I can do database stuff on Excel data.
It’s been a while, so i don’t remember if you had to save your results in a table and export it as a Excel file or not. I know I did that sometimes, but I don’t know if I figured out another way.
You can export Access queries directly to an Excel spreadsheet.
I also do a lot of that. Import various text/Excel files into Access, crunch it around, export it back out into the format that other people need/are comfortable with, all in code so they just click a button.
Wait, so where does the data live? In an Access database? Does that mean that the spreadsheet you pass around is just a table of values (as opposed to a working spreadsheet), or is it actually connected to the live DB somehow?
I see. While intriguing, I suppose that’s not exactly elegant or portable. I don’t know anyone who uses or even has Access anymore. Maybe it’s just the circles I run in.