VLOOKUP, IF statements, and contains functions?

AK_Excel_13

New Member
Joined
Jul 11, 2014
Messages
30
I am trying to do something, but I am not sure if excel can do it.

In column C:C, I have a list of over 100,000 hyperlinks. These hyperlinks are very long and have a lot characters in them. These hyperlinks sometimes contains a project number.
In range F2:F100, I have a list of project numbers.

In column D:D, I would to see which hyperlinks (in column C:C) contain a project number (range F2:F100) somewhere in the text.

Can excel do this?

Thank you!
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Yes, but you'll have to use an array formula :(


Excel 2010
CDEF
1HyperLinksProject (If Applicable)Projects List
2FHMK-IF0105AF0105F0101
3FHMK-IF0101AF0101F0105
4FHMK-IF0105AF0105
5FHMK-IF0101AF0101
6FHMK-IF0105AF0105
7FHMK-IF0105AF0105
8Fjlasdf
Sheet2
Cell Formulas
RangeFormula
D2{=IFERROR(INDEX($F$2:$F$100,MATCH(TRUE,ISNUMBER(SEARCH($F$2:$F$100,C2)),0)),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.


Check if a cell contains text compared to a range of cells | PC Review
 
Upvote 0
The actual formula is this:
Code:
Cell[D2]=IFERROR(INDEX($F$2:$F$100,MATCH(TRUE,ISNUMBER(SEARCH($F$2:$F$100,C2)),0)),"")
Just make sure you're using the Ctrl+Shift+Enter. It should be able to work fine.

If you're not familiar with the Array Method, look at this website:

Excel Array Formulas - Easy Excel Tutorial
 
Last edited:
Upvote 0
=IFERROR(INDEX($F$2:$F$100,MATCH(TRUE,ISNUMBER(SEARCH($F$2:$F$100,C2)),0)),"")
I've the above is cell D2 and it did not work.

=IFERROR(INDEX($F$2:$F$100,MATCH(TRUE,ISNUMBER(SEARCH($F$2:$F$100,C3)),0)),"")
I've also put the above in cell D3 and it also did not work.


I do not know what I am doing wrong.
 
Upvote 0
Are you using the Array Method?
Also, confirm that when the formula is getting ran, it is pulling the text from C2. You can walk through what the formula is doing by having the cell activated, looking in the "Formulas" tab, and using the "Evaluate Formula" feature. If it's not grabbing the correct value from cell C2, you can replace "C2" with "TEXT(C2,0)"
 
Last edited:
Upvote 0
I was not using the Array Method.
I tried it, and it work.

Thank you so much for your help! I really apprentice it.:biggrin:
 
Upvote 0

Forum statistics

Threads
1,215,216
Messages
6,123,669
Members
449,114
Latest member
aides

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