+ Reply to Thread
Results 1 to 4 of 4

If colmn D values = 'C', sum corresponding values from column B in one cell ??

  1. #1
    Registered User
    Join Date
    11-25-2015
    Location
    perth australia
    MS-Off Ver
    2010
    Posts
    2

    If colmn D values = 'C', sum corresponding values from column B in one cell ??

    Hi
    Not sure if this is possible via formula -
    If value in D6 is 'C', take vaule from B6 and sum in D3.
    Then if value in D7 is also 'C'. take value from B7 and also sum in D3.
    So wherever C exists in Column D, take corresponding values fromcolumn B and add all together in cell D3. Thanks!

    excel formula.jpg

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If colmn D values = 'C', sum corresponding values from column B in one cell ??

    Try

    =SUMIF(D$6:D$20,"C",$B$6:$B$20)

  3. #3
    Registered User
    Join Date
    11-25-2015
    Location
    perth australia
    MS-Off Ver
    2010
    Posts
    2

    Re: If colmn D values = 'C', sum corresponding values from column B in one cell ??

    Perfect thank you Jonmo1!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If colmn D values = 'C', sum corresponding values from column B in one cell ??

    You're welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Transpose values in column to rows, and split cell values to extend column
    By SAMMM in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-03-2015, 12:52 AM
  2. Replies: 9
    Last Post: 09-07-2014, 05:42 PM
  3. Comma Separated Cell Values to Column of Unique Cell Values
    By Nuggetross in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-02-2014, 07:24 PM
  4. [SOLVED] Replace values between two keywords in a colmn
    By huijding in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-03-2014, 07:20 AM
  5. Macro to find all specific values in column and replace adjacent cell values
    By dblock02 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2013, 06:03 AM
  6. Replies: 0
    Last Post: 09-06-2012, 04:06 AM
  7. [SOLVED] Macro to loop through cell values in a column and format multiple cell values
    By Roop in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-07-2012, 05:39 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