Hi, Newbie tothe forum and basic Excel user.
From a text cell (Column A) I am struggling to extract the Cost Centre(Column B) and report the Project Name (Column C).
In the table below, I need to see if the values in column B "CostCentre" exist in any part of the cells in column A "Cost Code",and if they do then report the text in column C "Project".
i.e. does "100000" exist in any of the cells in column A, if so report"Project 1" in the relevant cells.
I don't think a simple vlookup or find/search formula can do this?
Is there a way it can be done backwards? i.e. vlookup if any of the valueswithin each cell in column A exist in column B, if they do report the correspondingvalue found in column C.
To be clear columns B and C are related to each other i.e. Cost Centre 100000is Project 1.
Thanks in advance.
Tom.
[TABLE="width: 232"]
<tbody>[TR]
[TD="width: 159, bgcolor: transparent"] Cost Code
[/TD]
[TD="width: 80, bgcolor: transparent"] Cost Centre
[/TD]
[TD="width: 71, bgcolor: transparent"] Project
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586/100000/54545
[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] Project 1
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 100006
[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] Project 2
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586 100002/54547
[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] Project 3
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586/100003/545HB
[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] Project 4
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586/100001/54549
[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] Project 5
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586 :100005/54550
[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] Project 6
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586/100004/54551
[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] Project 7
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 100008/54552
[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] Project 8
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586/100007/545.53
[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] Project 9
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586 /100009/54554
[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] Project 10
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586/100010/545.55
[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] Project 11
[/TD]
[/TR]
</tbody>[/TABLE]
From a text cell (Column A) I am struggling to extract the Cost Centre(Column B) and report the Project Name (Column C).
In the table below, I need to see if the values in column B "CostCentre" exist in any part of the cells in column A "Cost Code",and if they do then report the text in column C "Project".
i.e. does "100000" exist in any of the cells in column A, if so report"Project 1" in the relevant cells.
I don't think a simple vlookup or find/search formula can do this?
Is there a way it can be done backwards? i.e. vlookup if any of the valueswithin each cell in column A exist in column B, if they do report the correspondingvalue found in column C.
To be clear columns B and C are related to each other i.e. Cost Centre 100000is Project 1.
Thanks in advance.
Tom.
[TABLE="width: 232"]
<tbody>[TR]
[TD="width: 159, bgcolor: transparent"] Cost Code
[/TD]
[TD="width: 80, bgcolor: transparent"] Cost Centre
[/TD]
[TD="width: 71, bgcolor: transparent"] Project
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586/100000/54545
[/TD]
[TD="bgcolor: transparent"]
100000
[TD="bgcolor: transparent"] Project 1
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 100006
[/TD]
[TD="bgcolor: transparent"]
100001
[TD="bgcolor: transparent"] Project 2
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586 100002/54547
[/TD]
[TD="bgcolor: transparent"]
100002
[TD="bgcolor: transparent"] Project 3
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586/100003/545HB
[/TD]
[TD="bgcolor: transparent"]
100003
[TD="bgcolor: transparent"] Project 4
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586/100001/54549
[/TD]
[TD="bgcolor: transparent"]
100004
[TD="bgcolor: transparent"] Project 5
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586 :100005/54550
[/TD]
[TD="bgcolor: transparent"]
100005
[TD="bgcolor: transparent"] Project 6
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586/100004/54551
[/TD]
[TD="bgcolor: transparent"]
100006
[TD="bgcolor: transparent"] Project 7
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 100008/54552
[/TD]
[TD="bgcolor: transparent"]
100007
[TD="bgcolor: transparent"] Project 8
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586/100007/545.53
[/TD]
[TD="bgcolor: transparent"]
100008
[TD="bgcolor: transparent"] Project 9
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586 /100009/54554
[/TD]
[TD="bgcolor: transparent"]
100009
[TD="bgcolor: transparent"] Project 10
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] 16586/100010/545.55
[/TD]
[TD="bgcolor: transparent"]
100010
[TD="bgcolor: transparent"] Project 11
[/TD]
[/TR]
</tbody>[/TABLE]