You probably won't believe the amount of hassle these requirements actually cause.
You'll have to create two sets, one of company.company.company and the other of month.month.month, making sure to check the 'recalculate...' checkbox. If you don't, many filtering operations on any of the dimensions will ruin your result.
The measure in its most generic form will be
aggregate ( existing ( company_set * month_set - (company.company.A, month.month.1) - .... - (company.company.B, month.month.3) ) , measures.value )
And, you'll still have more fine-tuning to do if, for example, Value happens to be a calculated measure.
Excel and MDX are a fun combination :)