+ Reply to Thread
Results 1 to 4 of 4

need help quickly!!

  1. #1
    Registered User
    Join Date
    01-14-2004
    Posts
    34

    need help quickly!!

    I have a spreadsheet that has in column I a state abreviation. (NE, MA, etc...). In column G I have a number of subscribers. I'd like a report formula that adds up all the numbers associated with a specific state.

    I'm doing it manually now and it's a pain! help!

  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    You can use SUMPRODUCT.

    =SUMPRODUCT((A1:A100="MA")*(B1:B100))

    Where A is your list of abbreviations and B are your numbers to sum. Rather than type the abbreviation in the formula, you could have a drop down list with all state abbreviations and have your formula refer to that cell say C1. Then you could just select a state abbreviation from the list and the formula would return the value for that abbreviation.


    =SUMPRODUCT((A1:A100=C1)*(B1:B100))

    Does that help,

    Steve

  3. #3
    Guest

    Re: need help quickly!!

    Hi

    I would suggest using Data / Pivot Table as this is designed to summarise
    information.
    There is an intro to using this powerful tool here:
    http://peltiertech.com/Excel/Pivots/pivottables.htm

    Hope this helps.
    Andy.

    "alexm999" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a spreadsheet that has in column I a state abreviation. (NE, MA,
    > etc...). In column G I have a number of subscribers. I'd like a report
    > formula that adds up all the numbers associated with a specific state.
    >
    > I'm doing it manually now and it's a pain! help!
    >
    >
    > --
    > alexm999
    > ------------------------------------------------------------------------
    > alexm999's Profile:
    > http://www.excelforum.com/member.php...fo&userid=4918
    > View this thread: http://www.excelforum.com/showthread...hreadid=517306
    >




  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480
    =SUMIF(A1:B5,C1,B1:B5)
    A1:B5 is the range
    C1 is the Crieteria
    B1:B5 adds up the numbers that meet the criteria

+ 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