+ Reply to Thread
Results 1 to 5 of 5

Formula help in a monthly sales report.

  1. #1
    chevyman
    Guest

    Formula help in a monthly sales report.

    Please assist with a SUM function in Excel 2003. I need to add numbers from
    4 of 8 columns (sales dollar amounts - the other columns are counts) IF the
    text in the row = a certain value (sales agent name). There are over 200
    rows (by sales agent) in the worksheet. Then I need to total all of the
    sales agents dollars in the report.

    SAMPLE: columns seperated by commas to illustrate
    Brown, $300, 5,$200, 1
    Smith, $250, 3, $100, 1
    Brown, $200, 4, $250, 2
    Jones, $550, 6, $500, 4
    Jones, $600, 4, $450, 5

    Formula need to produce:
    Brown, $950
    Jones, $2100
    Smith, $350

  2. #2
    Sandy Mann
    Guest

    Re: Formula help in a monthly sales report.

    chevyman,

    Try:

    =SUMIF(A2:A6,"Brown",B2:B6)+SUMIF(A2:A6,"Brown",D2:D6)
    =SUMIF(A2:A6,"Jones",B2:B6)+SUMIF(A2:A6,"Jones",D2:D6)
    =SUMIF(A2:A6,"Smith",B2:B6)+SUMIF(A2:A6,"Smith",D2:D6)

    although it would be better if your data was re-arranged so that all the
    dollar amounts were in contiguous columns.


    HTH

    Sandy
    --
    to e-mail direct replace @mailinator.com with @tiscali.co.uk


    "chevyman" <[email protected]> wrote in message
    news:[email protected]...
    > Please assist with a SUM function in Excel 2003. I need to add numbers

    from
    > 4 of 8 columns (sales dollar amounts - the other columns are counts) IF

    the
    > text in the row = a certain value (sales agent name). There are over 200
    > rows (by sales agent) in the worksheet. Then I need to total all of the
    > sales agents dollars in the report.
    >
    > SAMPLE: columns seperated by commas to illustrate
    > Brown, $300, 5,$200, 1
    > Smith, $250, 3, $100, 1
    > Brown, $200, 4, $250, 2
    > Jones, $550, 6, $500, 4
    > Jones, $600, 4, $450, 5
    >
    > Formula need to produce:
    > Brown, $950
    > Jones, $2100
    > Smith, $350




  3. #3
    Ola
    Guest

    RE: Formula help in a monthly sales report.

    Or...
    =SUMPRODUCT((A2:A6="Brown")*(B2:B6+D2:D6))

    Ola Sandstrom


  4. #4
    chevyman
    Guest

    Re: Formula help in a monthly sales report.



    "Sandy Mann" wrote:

    > chevyman,
    >
    > Try:
    >
    > =SUMIF(A2:A6,"Brown",B2:B6)+SUMIF(A2:A6,"Brown",D2:D6)
    > =SUMIF(A2:A6,"Jones",B2:B6)+SUMIF(A2:A6,"Jones",D2:D6)
    > =SUMIF(A2:A6,"Smith",B2:B6)+SUMIF(A2:A6,"Smith",D2:D6)
    >
    > although it would be better if your data was re-arranged so that all the
    > dollar amounts were in contiguous columns.
    >
    >
    > HTH
    >
    > Sandy
    > --
    > to e-mail direct replace @mailinator.com with @tiscali.co.uk
    >
    >
    > "chevyman" <[email protected]> wrote in message
    > news:[email protected]...
    > > Please assist with a SUM function in Excel 2003. I need to add numbers

    > from
    > > 4 of 8 columns (sales dollar amounts - the other columns are counts) IF

    > the
    > > text in the row = a certain value (sales agent name). There are over 200
    > > rows (by sales agent) in the worksheet. Then I need to total all of the
    > > sales agents dollars in the report.
    > >
    > > SAMPLE: columns seperated by commas to illustrate
    > > Brown, $300, 5,$200, 1
    > > Smith, $250, 3, $100, 1
    > > Brown, $200, 4, $250, 2
    > > Jones, $550, 6, $500, 4
    > > Jones, $600, 4, $450, 5
    > >
    > > Formula need to produce:
    > > Brown, $950
    > > Jones, $2100
    > > Smith, $350

    >
    >
    > THANK YOU!!


  5. #5
    chevyman
    Guest

    RE: Formula help in a monthly sales report.



    "Ola" wrote:

    > Or...
    > =SUMPRODUCT((A2:A6="Brown")*(B2:B6+D2:D6))
    >
    > Ola Sandstrom
    > 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