+ Reply to Thread
Results 1 to 4 of 4

add dollar values based on certain criteria.

Hybrid View

  1. #1
    Registered User
    Join Date
    12-02-2006
    Posts
    51

    add dollar values based on certain criteria.

    In column [A] is a item desination, "0001", "0002", "0003" and so forth.
    In column [B] I have names, "TONY", "RICK", "MARY", "KIM".
    In column [D] I have a letter designation that describes the status of the item, for example "A"=Active, "D"=Dead, "L"=Lost.
    In column [E] I have a dollar value of the item.

    So in row [2] is item (a2)"0001" that belongs to (b2)"TONY" that is (c2)"A" (meaning active) and has a dollar value of (d2)$100.00.

    I need a formula that will add all of Tony's dollar values.

    THEN I need of formula that will add all the dollar values where there is an "A" in in columm [D]. Meaning the dollar value of all a Tony's active items.

    Thank you very much for your help.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    To sum dollars when column B is "Tony":

    =Sumif($B$2:$B$500,"Tony",$E$2:$E$500)

    To sum dollars when column B is "Tony" and column D is "A":

    =Sumproduct(--($B$2:$B$500="Tony"),--($D$2:$D$500="A"),$E$2:$E$500)

    adjust ranges to suit... you can replace "Tony" and "A" with cell references...
    Last edited by NBVC; 11-01-2007 at 12:55 PM.
    Where there is a will there are many ways.

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

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

  3. #3
    Forum Contributor vandanavai's Avatar
    Join Date
    09-04-2006
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    256

    Array Formula

    Hi

    see if array formula in attached filr helps u. Array formula is entered using Ctrl+Shift+Enter all together.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    12-02-2006
    Posts
    51
    Worked GREAT! Thank You!

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