Hi All,
I am currently using a VLOOKUP formula on a weight against price spreadsheet and it works well, but I need to expand it so it looks at three column sets and pulls the required information from the correct one depending on which data is in another column.
At the moment I am using:
=VLOOKUP(I7,Rates!$A$1:$B$17,2,TRUE)
Where I7 is the item weight and A1:B17 gives the weight to price breakdown.
What I need to do is add another column on the main sheet and input A, B or C per item, depending on which type of packaging is required. And each type will have its own price breakdown table.
So I need the formula to say:
If the cell=A then go to lookup table 1 and pull that info, if the cell=B then go to lookup table 2, if the cell=C then go to table 3.
All in one formula.
I'm sure it's simple stuff for all you Excel gurus out there
but I can't seem to suss the stringing-it-all-together bit!
Any ideas appreciated.
Thank you![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
Neil.
I am currently using a VLOOKUP formula on a weight against price spreadsheet and it works well, but I need to expand it so it looks at three column sets and pulls the required information from the correct one depending on which data is in another column.
At the moment I am using:
=VLOOKUP(I7,Rates!$A$1:$B$17,2,TRUE)
Where I7 is the item weight and A1:B17 gives the weight to price breakdown.
What I need to do is add another column on the main sheet and input A, B or C per item, depending on which type of packaging is required. And each type will have its own price breakdown table.
So I need the formula to say:
If the cell=A then go to lookup table 1 and pull that info, if the cell=B then go to lookup table 2, if the cell=C then go to table 3.
All in one formula.
I'm sure it's simple stuff for all you Excel gurus out there
![[smarty] [smarty] [smarty]](/data/assets/smilies/smarty.gif)
Any ideas appreciated.
Thank you
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
Neil.