Solved

Combine 2 Modules for search function

Posted on 2011-03-09
11
179 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
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:pari123
ID: 35094596
Sorry about that. Let me try to fix this for you...
0
 

Author Comment

by:Cartillo
ID: 35129763
Hi Pari,

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

Expert Comment

by:pari123
ID: 35129786
hi,

i have this question in the list. i will post a response soon...
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 20

Expert Comment

by:pari123
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:pari123
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:
pari123 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

920 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

17 Experts available now in Live!

Get 1:1 Help Now