Hi,
Need help on putting different colours to past dates and today to weekend / monthend in different colour.
An excel file attched with necessary details.
Pl. help.
Thanks,
Nagesh.
Hi,
Need help on putting different colours to past dates and today to weekend / monthend in different colour.
An excel file attched with necessary details.
Pl. help.
Thanks,
Nagesh.
My typical first suggestion for "conditional" formatting of a chart data series is this one: https://peltiertech.com/conditional-...-excel-charts/ As with many charting issues, most of the work is in the spreadsheet creating the helper columns for each "condition", but it is fairly straightforward.
Originally Posted by shg
I have a solution for the week graph by day. but not for the chart by week. I do not get the adjusted weeknumbers where week 1 is 10 days and week 4 only 4 days. does every month start with week 1? is week 1 always the longer week?
For the Blue and green graph per day I used 2 series.
and a forced error in the if formula helps to hide unwanted data points.
in the Graph settings you set to leave #NA errors blank on the graph.
check the file for details.
Thats great @Joel Jangman.
Thanks.
As far as week is concerned, we distribute in to 4 weeks (1 or 2 plus, say in April, date 1 starts on Friday and the month is shared by 5 weeks. In order to make a 4 weeks, 1st and 2nd included in week one. Similarly if a month ends say Monday or Tuesday, the extra 1 or 2 days will be added in to last week. Otherwise graph will show 5 weeks and first or last week will show as poor performing week (since the working days are less). Hence if the formula is set as per the week numbers given as per column D, then there will always be 4 weeks and the working days can be adjusted in 1st or last week.
Hope it is clear now.
Grateful if you can show a way out on the weeks graph too.
Anyhow thanks once again.
The following proposal adds the "Customized Week Numbers" column to the Plan sheet also.
1. Cell J2 is populated using: =INDEX(Actual!D3:D32,MATCH(I2,Actual!B3:B32,0))
2. Cells J17:J20 are populated using: =IF(RIGHT(H17,1)+0<J$2,SUMIFS(Actual!C$3:C$32,Actual!D$3:D$32,RIGHT(H17,1)+0),NA())
3. Cells K17:K20 are populated using: =IF(ISERROR(J17),SUMIFS(Plan!C$3:C$32,Plan!D$3:D$32,RIGHT(H17,1)+0),NA())
Let us know if you have any questions.
Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks