Solved

Combine 2 Modules for search function

Posted on 2011-03-09
11
178 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
  • 6
  • 5
11 Comments
 
LVL 20

Expert Comment

by:pari123
Comment Utility
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
Comment Utility
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:pari123
Comment Utility
Sorry about that. Let me try to fix this for you...
0
 

Author Comment

by:Cartillo
Comment Utility
Hi Pari,

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

Expert Comment

by:pari123
Comment Utility
hi,

i have this question in the list. i will post a response soon...
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 20

Expert Comment

by:pari123
Comment Utility
Hi,
Please see the following file. Let me know if this works?

SearchData.xls
0
 

Author Comment

by:Cartillo
Comment Utility
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:pari123
Comment Utility
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
Comment Utility
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:
pari123 earned 500 total points
Comment Utility
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
Comment Utility
Hi Ardhendu,

Thanks a lot for the solution.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

772 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now