Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

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

Posted on 2013-01-24
Medium Priority
467 Views
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
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

LVL 40

Accepted Solution

als315 earned 2000 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

ID: 38815825
Nice solution.
Many thanks
Toco
0

## Featured Post

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the 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 demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
###### Suggested Courses
Course of the Month5 days, 2 hours left to enroll

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

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