How to filter the data according to multiple items selected.
You may refer to sheet[result] for expected output.
Thank you
How to filter the data according to multiple items selected.
You may refer to sheet[result] for expected output.
Thank you
Not able to understand your requirement, please mention properly.
Regards,
Suhas
I have a yearly activities schedule contain with multiple country and company.
The data have fill into column D to Q by follow month, country and company.
Example:
1. If I select Thailand and Company A, the schedule will show Yearly activates for Company A in Thailand.
2. If I select Month Feb, Thailand and Company A, the schedule will show February activities for Company A in Thailand.
3. If I select January only, the schedule will show all country and company information for January only.
The data show in schedule table is depend on which type of requirement selected.
Thanks
I believe this will do what you require. Please let us know.
Last edited by FlameRetired; 11-27-2014 at 02:00 AM.
I might be more confused than I thought.
If you select/highlight B5:B6 in my uploaded file (Post #4) and delete the contents of those drop-down cells and choose say MarchExample:
1. If I select Thailand and Company A, the schedule will show Yearly activates for Company A in Thailand.
2. If I select Month Feb, Thailand and Company A, the schedule will show February activities for Company A in Thailand.
3. If I select January only, the schedule will show all country and company information for January only.
from the month drop-down you will see output for March only for both Thailand and Singapore. As I interpreted your 3.) requirement
that unique output is the result. As you select items B4, B5 and/or B6 and choose/delete according to your list in the above
quote the output does what I interpret your list to require. Is that much correct?
Now what the specific outputs are that you reveal in Post #5 are a very great mystery to me. I cannot perceive relationships as per
your listed requirements and I cannot perceive patterns/relationships of the specific outcomes to other items on your sheet.
Perhaps the grid below of your desired output (Post #5) will help clarify my question(s):
Row\Col A B C D E F G H I J K L M N O 3Year 2014 4Month January 5Country Singapore 6Personnel Area Company1 7 8 9 10 NO ACTIVITIES OWNER January February March April May June January February March April May June 11 Singapore Singapore Singapore Singapore Singapore Singapore Thailand Thailand Thailand Thailand Thailand Thailand 12 Company1 Company1 Company1 Company1 Company1 Company1 CompanyA CompanyA CompanyA CompanyA CompanyA CompanyA 13 1Activities 1 Client 01.01.2014 01.02.2014 01.03.2014 01.04.2014 01.05.2014 01.06.2014 05.01.2014 05.02.2014 05.03.2014 05.04.2014 05.05.2014 05.06.2014 14 2Activities 2 Client 01.01.2014 01.02.2014 01.03.2014 01.04.2014 01.05.2014 01.06.2014 06.01.2014 06.02.2014 06.03.2014 06.04.2014 06.05.2014 06.06.2014 15 3Activities 3 In-house 02.01.2014 02.02.2014 02.03.2014 02.04.2014 02.05.2014 02.06.2014 10.01.2014 10.02.2014 10.03.2014 10.04.2014 10.05.2014 10.06.2014 16 4Activities 4 In-house 11.01.2014 11.02.2014 11.03.2014 11.04.2014 11.05.2014 11.06.2014 14.01.2014 14.02.2014 14.03.2014 14.04.2014 14.05.2014 14.06.2014 17 5Activities 5 In-house 12.01.2014 12.02.2014 12.03.2014 12.04.2014 12.05.2014 12.06.2014 19.01.2014 19.02.2014 19.03.2014 19.04.2014 19.05.2014 19.06.2014 18 6Activities 6 In-house 15.01.2014 15.02.2014 15.03.2014 15.04.2014 15.05.2014 15.06.2014 22.01.2014 22.02.2014 22.03.2014 22.04.2014 22.05.2014 22.06.2014 19 7Activities 7 Client 18.01.2014 18.02.2014 18.03.2014 18.04.2014 18.05.2014 18.06.2014 31.01.2014 28.02.2014 30.03.2014 30.04.2014 30.05.2014 30.06.2014
I can see the relationships of months and year in the output however I do not see how you arrived at the day designations
or Singapore / Thailand designations. Singapore is chosen in B5, but output is for both.
Can you clarify further?
Last edited by FlameRetired; 11-28-2014 at 02:05 PM.
Amend the file to make my question more clear. Please refer to file attached,
Now, macros (name: [Data]) was created to advancefilter and copy data from sheet Database to sheet Summary.
Problem still face is: If Month (B4) is blank, the data couldn't copy over however advancefilter (macros name:[Filter]) is not issue.
Thanks
I don't upload macro files.Sorry.
No, please do not post a duplicate thread to this, I will move it to the VBA forum if you want?
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks