Go-Bruins
asked on
Storing 3 Dimensional Data in Excel
Hi all,
I have a "database theory" type question for spreadsheets.
Let's say we're dealing with a commodity that has something like 3 variables. For example, a car:
1. Make
2. Model
3. Color
So for example, a Chevy Malibu could come in different colors like: white, red, black, grey, etc.
What's the most efficient way to store the data in a spreadsheet so that queries and data extractions are efficient?
Thanks in advance.
I have a "database theory" type question for spreadsheets.
Let's say we're dealing with a commodity that has something like 3 variables. For example, a car:
1. Make
2. Model
3. Color
So for example, a Chevy Malibu could come in different colors like: white, red, black, grey, etc.
What's the most efficient way to store the data in a spreadsheet so that queries and data extractions are efficient?
Thanks in advance.
ASKER
Hi,
Do you mean something like this?
https://goo.gl/W1sgxX
It seems that it goes against the theories of normalization, etc.
Do you mean something like this?
https://goo.gl/W1sgxX
It seems that it goes against the theories of normalization, etc.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Martin,
That kind of code is probably above my pay grade. What would the table actually look like?
That kind of code is probably above my pay grade. What would the table actually look like?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And agreed, this isn't "normalized", but in your care you need to know configurations, so I expect some repetition. I doubt it makes sense to have three different base tables, one each for Make, Model and Color. Because they are of limited value independently. You can't associate ANY model with ANY make, etc.
»bp
»bp
That kind of code is probably above my pay grade. What would the table actually look like?I wasn't actually thinking about a table.
Please tell me/us more about how the data would be used.
ASKER
Thanks.
Bill - referring to your picture, is there any way to "tidy" up the data so that I don't have to see "Chevy" and "Blazer" on 3 different rows?
Bill - referring to your picture, is there any way to "tidy" up the data so that I don't have to see "Chevy" and "Blazer" on 3 different rows?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you, one and all. I think the way you guys laid out the data is probably the best way, and as you mentioned, the data extraction would involve pivot tables, etc.
You're welcome and I'm glad I was able to help.
If you expand the “Full Biography” section of my profile you'll find links to some articles I've written that may interest you.
Marty - Microsoft MVP 2009 to 2017
Experts Exchange MVE 2015
Experts Exchange Top Expert Visual Basic Classic 2012 to 2017
If you expand the “Full Biography” section of my profile you'll find links to some articles I've written that may interest you.
Marty - Microsoft MVP 2009 to 2017
Experts Exchange MVE 2015
Experts Exchange Top Expert Visual Basic Classic 2012 to 2017
»bp