Advanced Spreadsheet/Database Advice
Advanced Spreadsheet/Database Advice
Author
Discussion

ModernAndy

Original Poster:

2,094 posts

167 months

Thursday 15th February 2018
quotequote all
I'm trying to put together a rather large spreadsheet for work. I've figured out how I'll sort out the actual data used but I'm trying to find some way of having the sheet automatically fill itself in (I'm using Excel- I'm happy to use another bit of software if that makes the job easier). The 'fitment' information will come from a flat file database where an asset is in the first column, application types are the headers and the products required for that asset and application are in the columns after the asset name.

I want the finished sheet laid out like this:

first row: headers

second row: separated product information across multiple columns (e.g. colour, weight, length, etc.)

subsequent rows: compatible assets for that product

once all the possible compatibilities have been put in, I want it to start another row like row 2 followed by compatibility info rows and then repeat that till it has dealt with every product.

I've been looking into this for quite a while and can't quite figure out how to do it. Does anybody have a programme or solution they can recommend? I'd prefer to use something less computer intensive than excel if possible as my less advanced system that I currently use to do a similar job takes an age to modify or save on a fairly powerful computer. Thanks.


sgrimshaw

7,587 posts

282 months

Thursday 15th February 2018
quotequote all
It would really help to see what the file from the database looks like.

Anyway you can screenshot the first few rows?

ModernAndy

Original Poster:

2,094 posts

167 months

Thursday 15th February 2018
quotequote all
This is how the assets and the compatibilities are written down:



so the products are in columns B and C and their relationship with the asset in column A is given in the header.

This is how the finished sheet should look:


Troubleatmill

10,210 posts

191 months

Thursday 15th February 2018
quotequote all
Looks like some very simple VLOOKUP's.

Errata - it isn't.

But read here - This should get you going.
https://www.ablebits.com/office-addins-blog/2017/0...



Edited by Troubleatmill on Thursday 15th February 16:53

ModernAndy

Original Poster:

2,094 posts

167 months

Thursday 15th February 2018
quotequote all
Troubleatmill said:
Looks like some very simple VLOOKUP's.

Errata - it isn't.

But read here - This should get you going.
https://www.ablebits.com/office-addins-blog/2017/0...



Edited by Troubleatmill on Thursday 15th February 16:53
I'm very good with excel and use vlookup a lot. I could do some sort of nested functions to pull it all together but I'd imagine it would use a hell of a lot of memory when doing thousands of different bits at once (which is the aim). I think I need to use something that's actually a database then it's just a case of calling up the correct info once the way it's all laid out in the final spreadsheet has been solved.

sideways sid

1,467 posts

247 months

Friday 16th February 2018
quotequote all
This may become complicated, but can you let us know what you're ultimately trying to achieve?

It would seem much more usual to be taking the layout that you want to achieve, and converting it into something more like you're starting with, so that it can be interrogated, analysed, reported upon etc.

It's not clear what you will use the proposed format for - but there may be a better way of doing it.

David A

3,727 posts

283 months

Friday 16th February 2018
quotequote all
sideways sid said:
This may become complicated, but can you let us know what you're ultimately trying to achieve?

It would seem much more usual to be taking the layout that you want to achieve, and converting it into something more like you're starting with, so that it can be interrogated, analysed, reported upon etc.

It's not clear what you will use the proposed format for - but there may be a better way of doing it.
And surely a case that some sql could deliver that way easier than excel manipulation.