Solved

Combine 2 Modules for search function

Posted on 2011-03-09
11
183 Views
Last Modified: 2012-05-11
Hi Experts,

I would like to request Experts help to combine Module 1 and 2 code. This is to allow data search result displayed at the SearchData (A5 and E11) sheet simultaneously based on search value at cell F2. I have attached the workbook together with the anticipated sample result at SearchData sheet for Experts perusal. Hope Experts will help me to combine these 2 modules.



SearchData.xls
0
Comment
Question by:Cartillo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 20

Expert Comment

by:Ardhendu Sarangi
ID: 35083035
Hi Cartillo,
Please see attached spreadsheet. I have combined the two SearchData macros together. can you please test this and see if this works?

thanks,
Ardhendu
SearchData.xls
0
 

Author Comment

by:Cartillo
ID: 35089373
Hi,

Thanks for the file. I have tested, its not showing the right result. Column A5 to D needs to show data from Total sheet and cell E11:F displayed result from sheet Validation. Hope you will help me to fix this.
0
 
LVL 20

Expert Comment

by:Ardhendu Sarangi
ID: 35094596
Sorry about that. Let me try to fix this for you...
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

Author Comment

by:Cartillo
ID: 35129763
Hi Pari,

Hope you'll re-look this Q.
0
 
LVL 20

Expert Comment

by:Ardhendu Sarangi
ID: 35129786
hi,

i have this question in the list. i will post a response soon...
0
 
LVL 20

Expert Comment

by:Ardhendu Sarangi
ID: 35141081
Hi,
Please see the following file. Let me know if this works?

SearchData.xls
0
 

Author Comment

by:Cartillo
ID: 35141365
Hi Pari123,

Thanks for the file. Have tested, the search function only return for Validation sheet (E11:F11), but not  for the Total sheet (A5:D).
0
 
LVL 20

Expert Comment

by:Ardhendu Sarangi
ID: 35141549
hi Cartillo,

i apologize for the trouble. can you please explain what the macro is doing? I tried running the macro and for the 2nd code i got a message - "item not found".


thanks,
Ardhendu
0
 

Author Comment

by:Cartillo
ID: 35142097
Hi Ardhendu,

The macro will look for the matched first 5 alphabets  at Total and Validation sheet if we entered search value at Cell F2 . e.g. if we type "AYDCC", all data at Total sheet will be displayed at (E11:F11) and at the same time matched data at (A5:D). If we type "Number", the result will show the data which is matched with the typed number at cell F2. Sorry for the confusion.
0
 
LVL 20

Accepted Solution

by:
Ardhendu Sarangi earned 500 total points
ID: 35157423
Hi Cartillo,
I think I have got this to work right now.

1. I have changed the code to accept two search strings - One for Total and one for Validation.
2. I also fixed the error where the validation was not returning values for the Totals sheet too.

This worked for me, can you please test this once?

Thank you for your patience,

Regards,
Ardhendu


SearchData.xls
0
 

Author Closing Comment

by:Cartillo
ID: 35183302
Hi Ardhendu,

Thanks a lot for the solution.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question