Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-03-2017, 08:25 AM
Rudi Rudi is offline Does Excel have a search function for an entire worksheet and if so can it be combined with IF Windows 7 64bit Does Excel have a search function for an entire worksheet and if so can it be combined with IF Office 2010 64bit
Novice
Does Excel have a search function for an entire worksheet and if so can it be combined with IF
 
Join Date: Jan 2012
Posts: 15
Rudi is on a distinguished road
Default Does Excel have a search function for an entire worksheet and if so can it be combined with IF

I have two data sets on two separate worksheets (in the same document). I now have to allocate a certain entry from worksheet B to an entry in worksheet A. A concrete example: In worksheet A I have a participant ID (e.g. 1234) and a corresponding participant name (e.g. Smith). In worksheet B I have report names with the participant ID as part of it (e.g. Water Contamination_1234_submitted) and the report name (e.g. Changes in Water Contamination in April).

My challenge is the following: What I would like to do is enter the report name from worksheet B in worksheet A behind the correct name, identified by the ID number. Without any automatisation I will have to sift through worksheet B entry by entry and then manually enter the required information in worksheet A.

The question, therefore, is (and I realise this is a long shot): does Excel have a function that does not only make it search the entire worksheet B for a certain element of data (in this case the ID, e.g. 1234) but can also identify this bit of info if it is part of an entry in a cell and not the only info in there (i.e. Water Contamination_1234_submitted instead of just 1234)?
Reply With Quote
  #2  
Old 05-04-2017, 06:42 AM
gebobs gebobs is offline Does Excel have a search function for an entire worksheet and if so can it be combined with IF Windows 7 64bit Does Excel have a search function for an entire worksheet and if so can it be combined with IF Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

The concatenated key you have (rptname_participantid_submitted) obviously presents a challenge. Is there any reason they can't be split up into three distinct fields?

Otherwise, is the format universal where the participantid is always separated by underscores? If so, you can make a calculated field to suss that out using a MID function.

Do participants only have one report each? If so, you can put the above MID function in column A of sheet B and then use a VLOOKUP to find the report name.
Reply With Quote
  #3  
Old 05-04-2017, 06:58 AM
Rudi Rudi is offline Does Excel have a search function for an entire worksheet and if so can it be combined with IF Windows 7 64bit Does Excel have a search function for an entire worksheet and if so can it be combined with IF Office 2010 64bit
Novice
Does Excel have a search function for an entire worksheet and if so can it be combined with IF
 
Join Date: Jan 2012
Posts: 15
Rudi is on a distinguished road
Default

Dear gebobs

Thank you for your reply. To answer your first question, this is how the participants enter it. I don't know whether you are a betting man / woman but this is a university system so the odds of getting anything changed are zero.

As for the rest of your reply, yes this is how they enter it and they only have one report each. Therefore, I will give this combination of an MID function and VLOOKUP definitely a go.
Reply With Quote
  #4  
Old 05-04-2017, 07:26 AM
gebobs gebobs is offline Does Excel have a search function for an entire worksheet and if so can it be combined with IF Windows 7 64bit Does Excel have a search function for an entire worksheet and if so can it be combined with IF Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Quote:
Originally Posted by Rudi View Post
I don't know whether you are a betting man / woman but this is a university system so the odds of getting anything changed are zero.
I am neither a betting man nor a woman. ;-) I wouldn't touch that one with a ten foot pole.

If you want help setting this up, let me know. I can whip it up for you in a jiff.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Excel have a search function for an entire worksheet and if so can it be combined with IF Use function to select another worksheet eugeneradial Excel 2 04-27-2017 04:53 AM
How exactly does the search function work in Excel pintree3 Excel 2 01-26-2015 07:24 AM
Search Worksheet and show in table amount Tamster Excel 1 12-27-2014 07:50 AM
word and excel combined jasperman Word 1 08-23-2010 06:49 AM
How to search entire office's outlook hmho Outlook 0 05-04-2010 10:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:06 AM.


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