Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Combine 2 Modules for search function

Posted on 2011-03-09
11
Medium Priority
?
186 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: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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

885 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