• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member
  • Login

Searched words|VBA & Macros|Excel Forum|My Online Training Hub

You are here: Home / Searched words|VBA & Macros|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumVBA & MacrosSearched words
sp_PrintTopic sp_TopicIcon
Searched words
Avatar
Marsil Sarvis
Member
Members
Level 0
Forum Posts: 73
Member Since:
September 6, 2019
sp_UserOfflineSmall Offline
1
September 6, 2019 - 2:02 am
sp_Permalink sp_Print

Hi All,

Really, I’m very happy to find myonlinetraininghub.com as it is very valuable and I’m sure about I will learn a lot after I joined.

I would appreciate if you can help us to create macro as I have a lot of words and I want to know if it is found in other cells or not.

Like this word “Texas” and I want to know if it is found in these words or not.

Texas Instruments Incorporated         :  Found

Texasins device                                       :  Not Found  

The Texas Company                               :  Found

Note: the word should be found exact not part of word.

Please can anyone help me to create macro to do this.

Input:

Column “A”, will contain the word that’s need to search about it.

Column “B”, will contain the words will search on it.

Column “C”, contain website

Column “D”, contain Year

Output:

Column “F”: will contain the found word from Column”A”.

Column “G”: will contain the names which contain the word.

Column “H”: contain website

Column “I”: contain Year

Please check Attached file to get more sample.

 

Thanks;

Marsil

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
2
September 6, 2019 - 5:47 pm
sp_Permalink sp_Print

Hi Marsil

Give this a try.

Sunny

Avatar
Marsil Sarvis
Member
Members
Level 0
Forum Posts: 73
Member Since:
September 6, 2019
sp_UserOfflineSmall Offline
3
September 7, 2019 - 10:14 am
sp_Permalink sp_Print

Hi Sunny.

It works perfectly.
Thank you very much; your support is greatly appreciated.
just can you help me to let this macro ignore character sensitivity
I mean don't care the upper or lower case.
macro result for TExas is the same for texas

Thanks;

Marsil

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
4
September 7, 2019 - 2:39 pm
sp_Permalink sp_Print

Hi Marsil

Hope this helps.

Sunny

Avatar
Marsil Sarvis
Member
Members
Level 0
Forum Posts: 73
Member Since:
September 6, 2019
sp_UserOfflineSmall Offline
5
September 8, 2019 - 1:51 am
sp_Permalink sp_Print

Hi Sunny,

You are amazing! Thank you so much! 

If u can fix the run-time error 13 – Type mismatch issue, please.

see attached file.

Thanks;

Marsil

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
6
September 8, 2019 - 5:21 am
sp_Permalink sp_Print

Try this

Avatar
Marsil Sarvis
Member
Members
Level 0
Forum Posts: 73
Member Since:
September 6, 2019
sp_UserOfflineSmall Offline
7
September 9, 2019 - 12:53 am
sp_Permalink sp_Print

Please let me know why I got this red words in macro Although "TEXAs"  is part from "Texasins".

is there any wrong from my side?

 

Thanks;

Marsil

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
8
September 9, 2019 - 5:43 am
sp_Permalink sp_Print

Hi Marsil

I think you should include as many All name scenarios as possible so that I could test it all at once.

See if this works.

Sunny

Avatar
Marsil Sarvis
Member
Members
Level 0
Forum Posts: 73
Member Since:
September 6, 2019
sp_UserOfflineSmall Offline
9
September 9, 2019 - 7:04 am
sp_Permalink sp_Print

Hi Sunny,

Can you check attached result, as I added spaces in yellow space, If u can apply trim to avoid as this issue.

 

Thanks;

Marsil

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
10
September 9, 2019 - 2:17 pm
sp_Permalink sp_Print

Hope this is correct.

Sunny

Avatar
Marsil Sarvis
Member
Members
Level 0
Forum Posts: 73
Member Since:
September 6, 2019
sp_UserOfflineSmall Offline
11
September 11, 2019 - 6:25 am
sp_Permalink sp_Print

Hi Sunny,

Just I would like to thank you for your info and your support.
How kind you are to help me. Thank you very much.

Thanks;

Marsil

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
12
September 11, 2019 - 4:31 pm
sp_Permalink sp_Print

No problem.

Glad I was able to help.

Sunny

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Velouria, B Leonard, Filipa Almeida, Jig Dhimmar, Lorna Henning, Joaquim Amorim
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
jaryszek: 183
Newest Members:
David von Kleek
Ronald White
Ginette Guevremont
Taryn Ambrosi
Mark Davenport
Christy Nichols
Harald Endres
Ashley Hughes
Herbie Key
Trevor Pindling
Forum Stats:
Groups: 3
Forums: 24
Topics: 6528
Posts: 28594

 

Member Stats:
Guest Posters: 49
Members: 32817
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel Office Scripts
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook

Sign up to our newsletter and join over 400,000
others who learn Excel and Power BI with us.

 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate
  • Sponsor Our Newsletter

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.