MixedUpExcel
Board Regular
- Joined
- Apr 7, 2015
- Messages
- 222
- Office Version
- 365
- Platform
- Windows
Hi All,
I couldn't find a specific match to this query but I'm assuming it's been asked before - please help or point me to the correct solution
Thanks.
Example:
Sheet 1 Cell A1 - Text (basically it a description of a product)
Sheet 1 Cell B1 - I will place my formula (this will then be dragged down to approx. Cell B1000 (where ever there is a description in Column A)
Sheet 2 Cells A1 to A5 (this Range can get bigger) contains the Range names of the products
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Sheet1 Cell A1 (downwards)[/TD]
[TD]Sheet1 Cell B1[/TD]
[/TR]
[TR]
[TD]THIS IS THE SIMON ONE RANGE[/TD]
[TD]FORMULA HERE - SHOULD SHOW THE RESULT AS "SIMON" (without the quotes)[/TD]
[/TR]
[TR]
[TD]Next Row: PETER THE GREAT RANGE[/TD]
[TD]Next Row: Formula from Cell A2 dragged down and giving a result of "PETER" (without the quotes[/TD]
[/TR]
</tbody>[/TABLE]
Sheet2
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Sheet2 Cell A1 (downwards)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PAUL
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JAMES[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PETER[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SIMON[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]MIKE[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So recap: I want to put a formula in Cell B1 on Sheet1.. this will check the description in Cell A1 to see if there is a match (the Range Name eg. SIMON appears at some point in that description in Cell A1)
IF there is a match, it will then put the name of the Range it has found in the description.
IF there is no match, then it will either put 'no match' or blank eg. "" or anything else.
I can't quite get my head around what Index Match Vlookup IF etc that I need to use to construct..
Thanks in advance.
Simon
I couldn't find a specific match to this query but I'm assuming it's been asked before - please help or point me to the correct solution
Thanks.
Example:
Sheet 1 Cell A1 - Text (basically it a description of a product)
Sheet 1 Cell B1 - I will place my formula (this will then be dragged down to approx. Cell B1000 (where ever there is a description in Column A)
Sheet 2 Cells A1 to A5 (this Range can get bigger) contains the Range names of the products
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Sheet1 Cell A1 (downwards)[/TD]
[TD]Sheet1 Cell B1[/TD]
[/TR]
[TR]
[TD]THIS IS THE SIMON ONE RANGE[/TD]
[TD]FORMULA HERE - SHOULD SHOW THE RESULT AS "SIMON" (without the quotes)[/TD]
[/TR]
[TR]
[TD]Next Row: PETER THE GREAT RANGE[/TD]
[TD]Next Row: Formula from Cell A2 dragged down and giving a result of "PETER" (without the quotes[/TD]
[/TR]
</tbody>[/TABLE]
Sheet2
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Sheet2 Cell A1 (downwards)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PAUL
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JAMES[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PETER[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SIMON[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]MIKE[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So recap: I want to put a formula in Cell B1 on Sheet1.. this will check the description in Cell A1 to see if there is a match (the Range Name eg. SIMON appears at some point in that description in Cell A1)
IF there is a match, it will then put the name of the Range it has found in the description.
IF there is no match, then it will either put 'no match' or blank eg. "" or anything else.
I can't quite get my head around what Index Match Vlookup IF etc that I need to use to construct..
Thanks in advance.
Simon