Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-11-2017, 02:26 AM
Bassem Bassem is offline If a Cell Contains a Certain Text (From Another Table) Windows 10 If a Cell Contains a Certain Text (From Another Table) Office 2016
Novice
If a Cell Contains a Certain Text (From Another Table)
 
Join Date: Mar 2017
Posts: 1
Bassem is on a distinguished road
Exclamation If a Cell Contains a Certain Text (From Another Table)

Hi There,



I have a very challenging exercise that I want to solve with your help.

My excel workbook contains two sheets.

The first sheet is my main sheet.
The cells in the first column (A) contain all the different codes.
and I am trying to check if this cell contains specific text. (in my example, codes I am trying to search for are H01, H02, H03 ...etc.)
Meaning: If a Cell (A2) Contains a Certain Text (e.g. H05 ...etc.), then Put in cell B2 a Specified Text (H Code Name listed in the second sheet)


The second sheet contains the table of these H codes (source)



and this is the final result that I am trying to achieve.




Would you please help me in this.
the sample excel sheet is attached as well.

Thanks
Attached Images
File Type: png 1.png (72.2 KB, 20 views)
File Type: png 2.png (30.1 KB, 20 views)
File Type: png 3.png (25.5 KB, 20 views)
Attached Files
File Type: xlsx H Codes.xlsx (11.5 KB, 10 views)
Reply With Quote
  #2  
Old 03-12-2017, 01:07 AM
xor xor is offline If a Cell Contains a Certain Text (From Another Table) Windows 10 If a Cell Contains a Certain Text (From Another Table) Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

If the letter "H" (in All Codes Text) only can appear in connection with a H code then maybe the attached can be used.
Attached Files
File Type: xlsx code.name.xlsx (12.4 KB, 13 views)
Reply With Quote
  #3  
Old 03-12-2017, 01:40 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline If a Cell Contains a Certain Text (From Another Table) Windows 7 64bit If a Cell Contains a Certain Text (From Another Table) Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Hi and welcome
Please do not crosspost your question on multiple forums without including links here to the other threads on other forums.

Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

We are here to help so help us to help you!

Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

http://www.excelguru.ca/forums/showt...0804#post30804
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
If a Cell Contains a Certain Text (From Another Table) VBA Table – Search All Tables - Find & Replace Text in Table Cell With Specific Background Color jc491 Word VBA 8 09-30-2015 06:10 AM
Pasting text from Excel cell into word without creating a table, and keeping the in-cell formatting hanvyj Excel Programming 0 08-28-2015 01:15 AM
If a Cell Contains a Certain Text (From Another Table) Table with text that flows from cell to cell hwrigley Word Tables 7 02-18-2014 02:59 AM
Cut Text from one table cell to another mrayncrental Word VBA 3 02-09-2014 01:49 PM
Auto-populate an MS Word table cell with text from a diff cell? dreamrthts Word Tables 0 03-20-2009 01:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft