+ Reply to Thread
Results 1 to 2 of 2

Thread: Calculate total cost - multiply two values based on conditions in an array

  1. #1
    Registered User
    Join Date
    11-02-2004
    Posts
    1

    Calculate total cost - multiply two values based on conditions in an array

    This may be an easy one, but I do these so infrequently these days...

    I have a chart of employees - both regular and contract. I want to estimate my yearly budget for contractors.

    Each row beginning in row 3 is an employee. Columns are contract rate (B), then a column for each month (C - N) where I designate whether in that month the person was contract "C" or regular "R" (or blank if they weren't here that month).

    In row 2 I have the number of work hours for each month.

    So, I want to calculate the total contract cost for each person - if they were a contractor Jan-June and then hired, I multiply the total hours in Jan-June by their rate, then sum the results.

    Hope I explained it well....
    Attached Files Attached Files
    Last edited by CMDohm; 07-06-2011 at 11:13 AM. Reason: Adding sample attachment

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Calculate total cost - multiply two values based on conditions in an array

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0