+ Reply to Thread
Results 1 to 4 of 4

Using SUMIF

  1. #1
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Using SUMIF

    I have a table (see attachment) of sales of several products in columns by week and by month in rows. This is a sub set of a Pivot Table
    I need a grand total at the bottom achieved by totaling the months. The month totals are identified in a column as Month name followed by "Total"

    I had thought to achieve my aim by using SUMIF as follows
    =SUMIF($F:$F,"RIGHT(****,5)="Total" ",H:H)

    Wher Col F contains the month names and col H the sales to be summed
    My problem is what to put in as ****. I Have tried RIGHT(F:F,5) but this does not work.

    Can anyone help me please
    John
    Attached Files Attached Files
    Last edited by NBVC; 03-13-2012 at 01:04 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Using SUMIF

    How about just?

    =SUMIF($F:$F,"*Total",H:H)
    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 Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Using SUMIF

    Hi,

    you could try an array sum

    Please Login or Register  to view this content.
    to be confirmed with control+shift+enter.

    Regards
    Attached Files Attached Files
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  4. #4
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Re: Using SUMIF

    NBVC
    Thanks for that it does the trick. I was getting far to complicated.
    John

+ 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