If a value is found in a column, return a name.

kpeekit

New Member
Joined
May 18, 2015
Messages
1
I'm working a spreadsheet and trying to figure out this formula but have had not luck. What I have is a list of people on one sheet, and on the other sheets, I have different offices. I need to have a function that searches the other sheets and, if it finds them on the other sheets, return and past the location.

The list of names is on "Active Lines-Phones" under column F.
The office sheet is "Sheet1". The list of names on that sheet is column A.

If it finds the name from "Active Lines-Phones" column F cell 86 on the list of names from Sheet1 column A, I need it to return the text "Kansas City"

Can someone help me figure out this script?

And if this one is fairly simple, what I'd like it to eventually be able to do it check multiple sheets to see if it can find it on a different sheet.(EG: If it doesn't find the name on Sheet1, it checks Sheet2, then Sheet3 and so on... And if it doesn't find it on any of those, it returns a value of "False" or "?" or something)

Thanks!
 
Last edited:

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,223,892
Messages
6,175,236
Members
452,621
Latest member
Laura_PinksBTHFT

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