#16
|
|||
|
|||
Thanks I will look at the attached file and come back to you
|
#17
|
|||
|
|||
Quote:
1- I'm trying to go through the attached file and revise all the sheet 2- About the year 2017. This is an example only and the sheet can be named anything, but I create new sheet for every year let me also go through and I will come back to you... |
#18
|
|||
|
|||
Quote:
Really you need a sheet ProjectSteps to enter most of info (sheet Projects is needed for data entry only when you register a new project - and when you close an ended one). Instead of designing a new report every year (Btw, the sheet Projects serves really also as a report), you design reports where you select year/date and maybe some other conditions, and a report for those conditions is displayed (a single sheet for 1 kind of report). And when the number of registered project steps grows too much and as result the workbook will slow down (it depends on your computer, but unless you have really crappy one some 20000 rows must work OK), you archive the workbook with different name, clear old data (or too old data), and continue with same workbook. You need to redesign the workbook only, when you want to add some new functionality to it. An additional bonus for such design is, that it allows to handle projects, which take several years of work. |
#19
|
|||
|
|||
Quote:
Great .... I will follow your steps on this one ... and it seems to be useful. Eventhough; I'm totally lost with lots of sheets Going back to the first worksheet you passed to me... ------------------------------------------------------- I'm trying to use it first, but I got stuck in it ... the Report sheet can't display more than four results. What I did I added more feeds into the Sheet 2017, starting from Project No. 2017010009 but the results doesn't reflect as it should be for the rest which is under 2017010009 . Files attached 2 images 1 xl file Last edited by IBRA2018; 04-05-2018 at 02:30 AM. |
#20
|
|||
|
|||
You're not considering the macro solution ?
No extra columnsJust click a button. |
#21
|
|||
|
|||
Quote:
1. The formulas in 4 columns on sheet 2017 (H1...H4) meant to be hidden must have an additional check. P.e. Code:
IF(OR(ROW()=EVEN(ROW());$G6<>"In Prog");0;COUNTIF($G$5:$G6;"In Prog")) 3. In Report sheet, all formulas referred to ranges like '2017'!$A$6:$A$21 or '2017'!$L$6:$L$21. Change the last row number from 21 to 29 (or use dynamic ranges instead). |
#22
|
|||
|
|||
Quote:
The work I'm doing will have lots of sheets and more cells. SO I need to know how to edit the macro parts step by step it looks great ... but I'm still a beginner and I need some times to deal with it and defiantly I will |
#23
|
|||
|
|||
Quote:
2- I have changed it to 45 because I added more rows and it still the same thing ... 3- CntCompleted, CntInProg, CntNA and CntPending to make dynamic ?? Do you mean to make it as a drop-down list like the original words - In Progress - Pending - Completed - Not Assign the file is attached ... Sorry for bothering you guys |
#24
|
|||
|
|||
Quote:
side by side results. because in the future I will have more sheets and more columns added plz find the attached file. Now it displays "2017" |
#25
|
|||
|
|||
You left named ranges unedited. I defined all referred ranges as dynamic ones for all formulas, so now the formulas adjust automatically when you add data into sheet 2017.
Edit: About Dynamic Named Ranges/Dynamic Names. A Name or Named Range is dynamic, when: 1. The value of Name or returned range of Named Range depends on range of data source, e.g. on number of rows in table (MaxRows, DataProj, etc. in attached file); 2. The value of Name or returned range of Named Range depends on position of active cell on worksheet when you define the Name/Named Range. Last edited by ArviLaanemets; 04-10-2018 at 10:43 PM. |
#26
|
|||
|
|||
code adjusted...
|
#27
|
||||||
|
||||||
Quote:
I have tried to play arround with the file and add more sheets and also do some changes and I came to face these things: 1st: I have tried to changed the the column title of H1 ...H2... H3 ... H4 to any name or to F1 ...F2... F3 ... F4 So when I changed it in the formula: from: Quote:
Quote:
2nd Instead of hiding Columns H1 ...H2... H3 ... H4 in sheet "2017" I created another sheet and gave it a name "1001" and I changed for formula to read from sheet "2017" Quote:
NOW to get the the final result on Sheet "Report2" I must do some changing on this formula Quote:
I tried to make the changes on DataH1 Quote:
So I have these issues ... I feel I'm getting closer to what I'm looking for Sheet "Reprot2" is reading from Sheet "1001" the file is attached |
#28
|
|||
|
|||
Thanks and I will try to do more tests and tell u about the results...
|
#29
|
|||
|
|||
Quote:
Quote:
1. Again, DataH1, ..., DataH3 are Names. They refer to ranges on worksheet, but they aren't on worksheet. You have to edit the formula returning the range for Name (Formulas > Name Manager, locate the Name, Edit, and edit <Refers to> field. 2. On sheet 1001 your table datarange starts from row 2. On Sheet 2017 the datarange starts from row 6. Without editing the formulas on sheet 1001 they refer to wrong rows on sheet 2017! 3. Having those columns in same table where data they refer to makes it easy to follow, that for every entry on sheet 2017 are calculated right step numbers - simply when you add new rows into sheet 2017, you copy formulas down to end of table. On separate sheet, you have to check yourself, has ith table 1001 right number of rows. Or you have to modify formulas in such way, that you have on sheet 1001 enough prepared formulas, which will display data for only those rows, where exist matching rows on sheet 2017. P.e. you fill on sheet 1001 10000 rows with formulas, which will check, is there Project.No on sheet 2017 for current row. When yes, then job step is calculated. When not, the empty string is returned. 4. When in future you decide to use Tables as I adviced earlier, then formulas in table are added automatically when you add new row(s) into table (this applies only, when the formula is same for whole column). So with tables you can hide columns with formulas, and forget about them, unless you screw the table up somehow (e.g. by inserting copied rows into table). When you use separate sheet, then forget about automatic in this case. |
#30
|
|||
|
|||
Quote:
Hi again.... It is done. I have done some modifications and I edited as what I required and it works as I want it. I will now apply on large scale sheets ... I think I'm there getting what I was looking for.... please see the attached file Thaaaaaaaaaaaaaaaaaaanks But plz do not close my topic I might come back to u if I face any problem |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create Drop Down list to change cell color | bksmith | Excel | 2 | 08-21-2017 02:37 AM |
Have a cell filled black when blank in dropdown list | Aussie_81 | Excel | 14 | 04-06-2017 04:50 AM |
Formulato say if cell is blank do this, if not blank do this. | mbesspiata | Excel | 1 | 01-17-2015 05:02 AM |
Auto add a list cell if the last list cell is filled | tasuooooo | Excel | 1 | 07-31-2012 08:40 PM |
Auto-populate an MS Word table cell with text from a diff cell? | dreamrthts | Word Tables | 0 | 03-20-2009 01:49 PM |