+ Reply to Thread
Results 1 to 4 of 4

TWO VARIABLES - ONE RESULT

  1. #1
    HERNAN
    Guest

    TWO VARIABLES - ONE RESULT

    I want to know how much money any person that start with the letter "C"
    collected

    For example

    Name Collect

    Carl $10
    Alan $10
    Cynthia $20

    Total C = $30


    How do I create the formula that gives me Total C = $30

    Thank you

  2. #2
    Marcelo
    Guest

    RE: TWO VARIABLES - ONE RESULT

    hi Herman

    try to use sumproduct

    =sumproduct(--(left(a2:a1000,1)="c"),b2:b1000)

    hth
    --
    regards from Brazil
    Thanks in advance for your feedback.
    Marcelo



    "HERNAN" escreveu:

    > I want to know how much money any person that start with the letter "C"
    > collected
    >
    > For example
    >
    > Name Collect
    >
    > Carl $10
    > Alan $10
    > Cynthia $20
    >
    > Total C = $30
    >
    >
    > How do I create the formula that gives me Total C = $30
    >
    > Thank you


  3. #3
    Toppers
    Guest

    RE: TWO VARIABLES - ONE RESULT

    =SUMPRODUCT(--(LEFT(A1:A3)="C")*(B1:B3))

    "HERNAN" wrote:

    > I want to know how much money any person that start with the letter "C"
    > collected
    >
    > For example
    >
    > Name Collect
    >
    > Carl $10
    > Alan $10
    > Cynthia $20
    >
    > Total C = $30
    >
    >
    > How do I create the formula that gives me Total C = $30
    >
    > Thank you


  4. #4
    HERNAN
    Guest

    RE: TWO VARIABLES - ONE RESULT

    it works really well, thank you!!
    Now I have another question, using the same example, how do I copy and paste
    automatically into another sheet all these rows.


    "Marcelo" wrote:

    > hi Herman
    >
    > try to use sumproduct
    >
    > =sumproduct(--(left(a2:a1000,1)="c"),b2:b1000)
    >
    > hth
    > --
    > regards from Brazil
    > Thanks in advance for your feedback.
    > Marcelo
    >
    >
    >
    > "HERNAN" escreveu:
    >
    > > I want to know how much money any person that start with the letter "C"
    > > collected
    > >
    > > For example
    > >
    > > Name Collect
    > >
    > > Carl $10
    > > Alan $10
    > > Cynthia $20
    > >
    > > Total C = $30
    > >
    > >
    > > How do I create the formula that gives me Total C = $30
    > >
    > > 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