Sir Lurkalot
New Member
- Joined
- Nov 27, 2015
- Messages
- 3
Hi I've used this forum as a knowledge base for a while now however this is my first post so I'll try to include enough information.
I've created a spreadsheet that reports weekly information for my company on tab#1 whereupon the data input from the end of each week is entered on tab#2 and all of my formulas are on tab#3 hidden.
Since some weeks have services that aren't completed I made dynamic ranges using array formulas for the graphs on tab#1 so the graph labels that have zero values are hidden and showing only the services sold during that week.
My problem is when I try to insert a new row on tab#2 (company introduces a new service to customers) all of my array formulas on tab#3 fail, graphs go beserk - even changing set bar colours and losing data labels. Reapplying the formula from scratch doesn't seem to work either.
{=IFERROR(INDEX(Input!A$4:A$504,SMALL(IF(Input!C$4:C$504=$E$34,ROW(Input!A$4:A$504)-ROW(Input!A$4)+1),ROWS(A$4:A5))),0)}
Formulas on Tab#3
Input = Tab#2
A = Services
C = Numbers 1,2,3,4,5, etc for separation of service departments
E = Service Department names
C & E columns are so the formula only lists Services for a particular department when choosing which data to show on the graphs on tab#1
Not sure what to do except rebuild the entire thing again from the beginning but this time leave a whole bunch of empty rows on tab#2 to add new services into.
I've created a spreadsheet that reports weekly information for my company on tab#1 whereupon the data input from the end of each week is entered on tab#2 and all of my formulas are on tab#3 hidden.
Since some weeks have services that aren't completed I made dynamic ranges using array formulas for the graphs on tab#1 so the graph labels that have zero values are hidden and showing only the services sold during that week.
My problem is when I try to insert a new row on tab#2 (company introduces a new service to customers) all of my array formulas on tab#3 fail, graphs go beserk - even changing set bar colours and losing data labels. Reapplying the formula from scratch doesn't seem to work either.
{=IFERROR(INDEX(Input!A$4:A$504,SMALL(IF(Input!C$4:C$504=$E$34,ROW(Input!A$4:A$504)-ROW(Input!A$4)+1),ROWS(A$4:A5))),0)}
Formulas on Tab#3
Input = Tab#2
A = Services
C = Numbers 1,2,3,4,5, etc for separation of service departments
E = Service Department names
C & E columns are so the formula only lists Services for a particular department when choosing which data to show on the graphs on tab#1
Not sure what to do except rebuild the entire thing again from the beginning but this time leave a whole bunch of empty rows on tab#2 to add new services into.