If a portion of a text string matches something in a list, return adjacent cells - FORMULA QUESTION

andrewbhilty

New Member
Joined
Nov 23, 2016
Messages
8
All,

I'm working on a portion of a spreadsheet where I'm trying to minimize the amount of input the user has to do. I would like a few cells to use the info in one cell (the Quote #) and return a variety of information.

The user inputs the quote number. I want the name and territory to fill automatically by referencing the master lists of quote prefixes, names, and territories.

See example below:
I was trying something like: =if(left(A3,3)=F3:F11,G3:G11,"")
Obviously doesn't work, but I wasn't sure how to have it search a list and return adjacent cells.

Quote #NameTerritoryPrefixName OptionsTerritory Options
A13-1621A10BradMichigan
A10-1618A11AndrewOhio
A21-4820A12JimIllinois
A11-1652A13JonKentucky
A15-1525A14BlakeTennessee
A15TimWisconsin

<tbody>
</tbody>

All help would be appreciated. Thanks!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
FIGURED IT OUT! Used the =Vlookup function.

All,

I'm working on a portion of a spreadsheet where I'm trying to minimize the amount of input the user has to do. I would like a few cells to use the info in one cell (the Quote #) and return a variety of information.

The user inputs the quote number. I want the name and territory to fill automatically by referencing the master lists of quote prefixes, names, and territories.

See example below:
I was trying something like: =if(left(A3,3)=F3:F11,G3:G11,"")
Obviously doesn't work, but I wasn't sure how to have it search a list and return adjacent cells.

Quote #NameTerritoryPrefixName OptionsTerritory Options
A13-1621A10BradMichigan
A10-1618A11AndrewOhio
A21-4820A12JimIllinois
A11-1652A13JonKentucky
A15-1525A14BlakeTennessee
A15TimWisconsin

<tbody>
</tbody>

All help would be appreciated. Thanks!
 
Upvote 0

Forum statistics

Threads
1,215,949
Messages
6,127,888
Members
449,411
Latest member
AppellatePerson

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top