Link to home
Start Free TrialLog in
Avatar of Sindhuja SASi
Sindhuja SASi

asked on

need 2017 datas one by one using macro

Hi

Please refer the sheet 1 :

Step 1: first filter in J column and get only 2017 datas and copy the data(A to J column)  in another sheet(refer sheet2)
After copying, for the K column its should be in G900 and m column its should be in 2G.

Step2 ; remove the filter in J column and put the filter in k column(sheet1) and same process repeated

finally based on the sheet1 , i need sheet 2 O/P

detailed description available in sheet3 .pls refer
SAMPLE.xlsx
Avatar of Jacques Geday
Jacques Geday
Flag of Canada image

I read your post 5 times and it is not clear to me what you want overall.

Let me tell you what I understood but still not clear.
In sheet1 we filter column J for year 2017 and the data found we copy from Col A to Col J all the rows into:
1) a NEW sheet called Sheet2 ???
or
2) the existing sheet2 ???

If 1) then how to get col K L M N ??
if 2) then shall we replace the existing A to J by the new one from Sheet1 ?

If I understand this part then I will understand the logic for the remaining columns as I suppose it is the same till last column.

gowflow
Avatar of Sindhuja SASi
Sindhuja SASi

ASKER

Sheet 1 is the input.  sheet 2 is the output

based on sheet 1 ,i need sheet 2.

IN sheet 1,first we filter J column  and filter 2017 data's and copy the data's into another sheet (SHeet2 ), k column, L column ,m column is the manual work
(if we filter J column(sheet 1), automatically k column (sheet 2)mentioned as G900, L column mentioned as SD23.1 and M column mentioned as 2G)

Pls see the attached file for ur reference


have any doubt, pls mail me
SAMPLE.xlsx
ok as you hadn't replied earlier I did something similar however each column in 1 separate sheet. look at it if you don't like it we can gather all of them in 1 sheet.

In sheet 3 you have 2 buttons Build 2017 and Clear 2017
Press on Build 2017 and check the results.

PS I am using the base of all sheet3 data. So I see you have an extra column L if we put the respective data in sheet3 for this one then it is no sweat to have it all automated.

Let me know.
gowlfow
SAMPLE-V01.xlsm
ur coding is correct but i need all the data in one sheet ?ur coding comes lots of sheet

pls see the attached sheet for ur refernce
SITE-LIST.xlsx
Noted and will amend code to have all data in 1 sheet. Meantime, please fill in the 2 missing columns in sheet 3 for both UNIQUE and Milestone code so that the macro will build the sheet automatically from these values as it is already don't for TU and TECHNOLOGY.

Once you fill sheet3 please repost it and I will modify the code accordingly.
gowflow
SAMPLE-V02.xlsm
ASKER CERTIFIED SOLUTION
Avatar of Jacques Geday
Jacques Geday
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you for accepting my solution as answer to your question. Meantime feel free to ask any question or concern you may have as if you need more dev you can still ask a new related question to this one and will be glad to assist.

I noticed you are new on EE and actually this is your 'First' 1 question, so Welcome to EE and I hope we met your expectations and do not hesitate to ask more.

Regards
gowflow
i have one doubt ..the report i provide is daily downloaded report...so daily i need to insert the code or someone do it..may be they edit the code ...is it possible t fix the code permanently in one location and daily we download the report and call the code ..
Yes all is possible simply ask a related question requesting this and put a link in here and I will be glad to help. But not sure if you appreciated the code and the work as no closing comment to the question and no feedback from you.

gowflow
Ur coding is absolutely super ..I forgot to mention the comments...
Ur coding is simply awesome ..it's working fyn....
OK Great coz at some point I was not sure I delivered the requested product. It is very important to mention if you are satisfied as we are not here to collect points but to provide 'working' 'full satisfying' solutions. Do not accept any solution less than that as it is the duty of the Expert to provide full satisfaction and it is your right to claim for it.

As far as the other issue you mentioned, if you need my help after posting the question please put the link of the new question in here and I will seek to attend to it.

gowflow