RDAVIS1976
New Member
- Joined
- Dec 28, 2016
- Messages
- 2
What I'm trying to build is a formula that will search a range of cells and return a specified text value if there's a match. Specifically I'm looking for names which may appear along a reports to hierarchy, 1-7. If the formula finds a particular name, any where in the range, I want it to return the name I specify.
For example, I have 3 managers named; Mountain Man, Dan Fountain, and Now Begin...what formula would I use to locate them based on the table below?
I was using - IF(ISNUMBER(SEARCH("Man, Mountain",H13:M13)),"Mountain Man",IF(ISNUMBER(SEARCH("Fountain, Dan",H13:M13)),"Dan Fountain",IF(ISNUMBER(SEARCH("Begin, Now",H13:M13)),"Now Begin"))) but it's not working
[TABLE="width: 972"]
<colgroup><col span="6"></colgroup><tbody>[TR]
[TD]Supervisor Level 1 Name
[/TD]
[TD]Supervisor Level 2 Name
[/TD]
[TD]Supervisor Level 3 Name
[/TD]
[TD]Supervisor Level 4 Name
[/TD]
[TD]Supervisor Level 5 Name
[/TD]
[TD]Supervisor Level 6 Name
[/TD]
[/TR]
[TR]
[TD]Man, Mountain[/TD]
[TD]Krieg, Dave[/TD]
[TD]Sweeny, Jim[/TD]
[TD]Wilson, Russ[/TD]
[TD]Baldwin, Doug[/TD]
[TD]Sweeny, Jim[/TD]
[/TR]
[TR]
[TD]Sweeny, Jim[/TD]
[TD]Dilfer, Trent[/TD]
[TD]Krieg, Dave[/TD]
[TD]Fountain, Dan[/TD]
[TD]Parcells, Bill[/TD]
[TD]Parcells, Bill[/TD]
[/TR]
[TR]
[TD]Parcells, Bill[/TD]
[TD]Begin, Now[/TD]
[TD]Parcells, Bill[/TD]
[TD]Krieg, Dave[/TD]
[TD]Sweeny, Jim[/TD]
[TD]Krieg, Dave[/TD]
[/TR]
</tbody>[/TABLE]
For example, I have 3 managers named; Mountain Man, Dan Fountain, and Now Begin...what formula would I use to locate them based on the table below?
I was using - IF(ISNUMBER(SEARCH("Man, Mountain",H13:M13)),"Mountain Man",IF(ISNUMBER(SEARCH("Fountain, Dan",H13:M13)),"Dan Fountain",IF(ISNUMBER(SEARCH("Begin, Now",H13:M13)),"Now Begin"))) but it's not working
[TABLE="width: 972"]
<colgroup><col span="6"></colgroup><tbody>[TR]
[TD]Supervisor Level 1 Name
[/TD]
[TD]Supervisor Level 2 Name
[/TD]
[TD]Supervisor Level 3 Name
[/TD]
[TD]Supervisor Level 4 Name
[/TD]
[TD]Supervisor Level 5 Name
[/TD]
[TD]Supervisor Level 6 Name
[/TD]
[/TR]
[TR]
[TD]Man, Mountain[/TD]
[TD]Krieg, Dave[/TD]
[TD]Sweeny, Jim[/TD]
[TD]Wilson, Russ[/TD]
[TD]Baldwin, Doug[/TD]
[TD]Sweeny, Jim[/TD]
[/TR]
[TR]
[TD]Sweeny, Jim[/TD]
[TD]Dilfer, Trent[/TD]
[TD]Krieg, Dave[/TD]
[TD]Fountain, Dan[/TD]
[TD]Parcells, Bill[/TD]
[TD]Parcells, Bill[/TD]
[/TR]
[TR]
[TD]Parcells, Bill[/TD]
[TD]Begin, Now[/TD]
[TD]Parcells, Bill[/TD]
[TD]Krieg, Dave[/TD]
[TD]Sweeny, Jim[/TD]
[TD]Krieg, Dave[/TD]
[/TR]
</tbody>[/TABLE]