Results 1 to 7 of 7

Thread: Conditional If statement?

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068

    Conditional If statement?

    This is a weird one, I am helping a friend with a spread sheet that tracks dollar amounts and who handled them basically.

    There is a collumn with names in it that have a dollar amount next to them. What we need is for Excel to add up all the dollar amounts in the range according to what name is in the corrisponding collumn.. This is what it lookes like kind of...

    I gott do this in VBcode tags or the spaces get jacked....
    VB Code:
    1. Name     Amount
    2.  
    3. John      $10,000
    4. Bill        $500
    5. Jody      $3,000        
    6. John     $100
    7. Jody      $50
    8.  
    9. Totals
    10. Name       Total Amount      Amount processed
    11.  
    12. John        $10,100               2
    13. Bill         $500                1
    14. Jody        $3,050                 2

    I could do this in VBA but he is not allowed to use VBA for whatever reasons, so this would have all be done with formulas.

    We already got the formula to count how many entries there are per name but I can't seem to figure out how the dollar amount could be added up into the total cell going by what name is in the other collumn.

    Any help is greatly appreciated, thanx, I will be reading up on the subject in the meantime. Thanx.
    Last edited by Spajeoly; Apr 21st, 2003 at 02:52 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width