Results 1 to 8 of 8

How to add up cells in a row based on criteria in neighbouring cell

Threaded View

  1. #1
    Registered User
    Join Date
    08-30-2013
    Location
    Caribbean
    MS-Off Ver
    Excel 2010
    Posts
    9

    How to add up cells in a row based on criteria in neighbouring cell

    Good afternoon,

    I am trying to create a spreadsheet in which I have to add up numbers based on the value in the cell next to them. I have attached a test file so it is easier to understand:

    Here the explanation of the sheet:
    Cells F, H, J, etc. with the letter A, B, C indicate a cost center
    Cells G, I, K, etc. contain the amount of hours worked in that week
    Cells C2, D2, E2 contain multipliers for each letter (A, B, C)

    What I need now, is a formula in C5 that adds up all the hours with an "A", multiplies it with C2 + all the hours with a "B", multiplies it with D2 + all the hours with a "C", multiplies it with E2.

    How can this be done?? Any help is highly appreciated
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Fill in cells with a value based on a neighbouring column
    By ppataki in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-26-2014, 11:18 AM
  2. [SOLVED] Formula to autofill neighbouring cells when a value is added to another
    By 2571 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-23-2012, 10:08 AM
  3. Counting cells conditional on neighbouring columns
    By BFee in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-03-2010, 02:13 AM
  4. Filling blank cells based on neighbouring column
    By ppataki in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-02-2009, 06:28 AM
  5. Copying cells to the neighbouring column in pairs along Row 1
    By shmee150 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-13-2009, 12:23 PM

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.6.0 RC 1