Dear All,
We used to get a report from another department which is very important for our monthly production
But there are few things that needs to be changed in that report for retrieving those values.
If I miss any of the sub-tasks mentioned below, It is going to be big messup
I've recorded a macro for doing the below tasks with a single click rather than doing it manually. But here problem is recording macro doesn't resolve my issue and there are few things that needs to be executed by editing this code where as I'm unaware of VB at all. So request someone to go through the below tasks & help me in the code
Attached excel with Sheets SSR (this is the actual report which we get) & SSR_After (this is the report after changing it to retrieve the exact values)
1. Unhide all in SSR Sheet
2. Unmerge 5th Row and write formula =B5 in C5 and paste special this formula in the right side blank cells
3. Lookup location of SSR to Sheet1 (=VLOOKUP(B5,Sheet1!$A:$A,1,0)) at Row 4 and delete columns where this formula returns NA Error
3. Insert column at Column B, Lookup Models of SSR to Sheet2 at B Column (formula at B8 =VLOOKUP(A8,Sheet2!B:D,3,0) and drag down till end)
3. Delete the rows where above formula returns NA Error
3. Make all the values as zero (from C8 to last column for all the models) if above formula returns "r" except if Row 4 has "Secunderabad" & "Vijaywada"
5. Insert 7th Row and write formula =B5&B6
6. Lookup location of ssr to Sheet1 at 4th Row & Delete columns where there is #N/A
7. Make E Column of Sheet3 as zero where there is no formula
8. Make Range from B51 to C53 in Sheet3 as zero
Bookmarks