Solved

How do I calculate and accumulate values in an Excel row depending on the values ?

Posted on 2013-01-24
2
461 Views
Last Modified: 2013-01-24
Hi Experts,

I have an Excel 2010 worksheet which calculates the total expected annual rates of pay for  contractors.

Against the name of a contractor is :

a) a daily rate of pay in £
b) month columns from Jan to Dec with either a value of 1 (contractor expected to work) or 0 (contractor expected not to work)
c) the average number of days per month (ANDM) a contractor is expected to work - 21.7 in this case.
d) the total amount of pay expected to be earned by the contractor for the whole year, calculated by multiplying each month (which has a value of 1) by the ANDM multiplied by the daily rate of pay.

I'm struggling to come up with a solution for item d).

I guess the answer is an array formula but I'm not sure how to accumulate the monthly amounts based on whether they are expected to work.

I've attached an example file.

Thanks
Toco
Annual-Rates.xlsx
0
Comment
Question by:Tocogroup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
als315 earned 500 total points
ID: 38815409
May be:
=SUM(C4:N4)*O4*B4
add it t first string and extend down.
Annual-Rates.xlsx
0
 

Author Closing Comment

by:Tocogroup
ID: 38815825
Nice solution.
Many thanks
Toco
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question