blaineschultz
New Member
- Joined
- Feb 5, 2013
- Messages
- 3
I have a master data source sheet 'msf12' tht contains a column with the names of companies. i have a second sheet that contains a list of all the companies names, their region, zip code ect. sheet name 'companies'. I am trying to create a formula that will look at the companies name and then generate their respective region served in a new column on the same sheet using the reference sheet 'companies' however, my results have either been accurate up to around row 100 when the regions column starts giving row references that are off by 1-3 rows. I tried to combat this by using index match but in that case i only get a few regions and the rest of the cells display N/A. 'companies' is sorted in ascending order both fields are text values i feel like i have tried everything. here is a quick example.
My main source that has the companies name- I need to create a column that shows the corresponding region. Right now I have name/Service type
[TABLE="width: 500"]
<tbody>[TR]
[TD]Martz Transport - Wikes - Sacramento
[/TD]
[TD]CTC[/TD]
[/TR]
[TR]
[TD]Martz Transport - Wikes - Vegas[/TD]
[TD]CTC
[/TD]
[/TR]
[TR]
[TD]MTR Western
[/TD]
[TD]CTC[/TD]
[/TR]
[TR]
[TD]Abbott Trails
[/TD]
[TD]CTC[/TD]
[/TR]
[TR]
[TD]Mlaker Trans[/TD]
[TD]CTC[/TD]
[/TR]
</tbody>[/TABLE]
The reference sheet is like this.. Company name/zip/region(the cell i need) is in col E
[TABLE="width: 500"]
<tbody>[TR]
[TD]Martz Transport - Wikes - Sacramento[/TD]
[TD]94445[/TD]
[TD]Southern Cal
[/TD]
[/TR]
[TR]
[TD]Martz Transport - Wikes - Vegas[/TD]
[TD]74665[/TD]
[TD]Western[/TD]
[/TR]
[TR]
[TD]MTR Western[/TD]
[TD]37382[/TD]
[TD]Great Lakes[/TD]
[/TR]
[TR]
[TD]Abbott Trails[/TD]
[TD]83727[/TD]
[TD]NY Metro[/TD]
[/TR]
[TR]
[TD]Mlaker Trans[/TD]
[TD]88888[/TD]
[TD]Southeast[/TD]
[/TR]
</tbody>[/TABLE]
Right now i have this formula and it works for the companies up until Martz..
=LOOKUP([@operator],'Bus region Source1'!$A$2:$A$243,'Bus region Source1'!$E$2:$E$243)
Any way to make this work??
My main source that has the companies name- I need to create a column that shows the corresponding region. Right now I have name/Service type
[TABLE="width: 500"]
<tbody>[TR]
[TD]Martz Transport - Wikes - Sacramento
[/TD]
[TD]CTC[/TD]
[/TR]
[TR]
[TD]Martz Transport - Wikes - Vegas[/TD]
[TD]CTC
[/TD]
[/TR]
[TR]
[TD]MTR Western
[/TD]
[TD]CTC[/TD]
[/TR]
[TR]
[TD]Abbott Trails
[/TD]
[TD]CTC[/TD]
[/TR]
[TR]
[TD]Mlaker Trans[/TD]
[TD]CTC[/TD]
[/TR]
</tbody>[/TABLE]
The reference sheet is like this.. Company name/zip/region(the cell i need) is in col E
[TABLE="width: 500"]
<tbody>[TR]
[TD]Martz Transport - Wikes - Sacramento[/TD]
[TD]94445[/TD]
[TD]Southern Cal
[/TD]
[/TR]
[TR]
[TD]Martz Transport - Wikes - Vegas[/TD]
[TD]74665[/TD]
[TD]Western[/TD]
[/TR]
[TR]
[TD]MTR Western[/TD]
[TD]37382[/TD]
[TD]Great Lakes[/TD]
[/TR]
[TR]
[TD]Abbott Trails[/TD]
[TD]83727[/TD]
[TD]NY Metro[/TD]
[/TR]
[TR]
[TD]Mlaker Trans[/TD]
[TD]88888[/TD]
[TD]Southeast[/TD]
[/TR]
</tbody>[/TABLE]
Right now i have this formula and it works for the companies up until Martz..
=LOOKUP([@operator],'Bus region Source1'!$A$2:$A$243,'Bus region Source1'!$E$2:$E$243)
Any way to make this work??