named ranges:
Interval ='SAUDI ELECTRICITY'!$R$4
PaidAmts =OFFSET('SAUDI ELECTRICITY'!$E$5,0,1,COUNTA('SAUDI ELECTRICITY'!$E:$E),MATCH("STATUS",'SAUDI ELECTRICITY'!$5:$5)-5)
formula in R6..Rn:
...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
For months in row five, Use mm/01/yyyy formatted as "MMMM"
Your worksheet has too many unused rows and columns in the data field - bad idea
Bookmarks