Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
Expenses                                            Shift  Jan-12 Feb-12 Mar-12 Apr-12  
Jan-12       Feb-12       Mar-12       Apr-12         2                             
$11,699.09   $11,129.28   $11,306.50   $11,125.85     3

Each shift consists of 2 hours, and since there are 7 shifts, there's in all 14 hours.

For Jan:31 days, Feb:29 days, Mar:31 days, Apr:30 days. With that, I need to calculate expenses per month.

For eg, Jan: 11,666.09/31 days/14hours*2hours.

And for feb: 11,129.28/29/14*2.

So is there any formula that I can use in Excel without having to type in the formula one by one just because the days differ for each month?

share|improve this question

Make sure that your month headings are proper Excel dates (not just textual representations of dates) and then you can use a formula to calculate the number of days in a particular month in, say, cell A1:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.