+ Reply to Thread
Results 1 to 5 of 5

If formula to add up a range of cells

  1. #1
    Registered User
    Join Date
    12-03-2013
    Location
    British Columbia
    MS-Off Ver
    Excel 2010
    Posts
    4

    If formula to add up a range of cells

    Hi there,

    New to this forum.
    Excel 2010 user.

    I am in need of an IF Formula for the attached report.
    I basically need to sum all variances according to the identifiers column.
    Example: Need a sum of all variances with "A" identifier, and another sum of variances of "B" identifier, etc.
    I am working with hundred of cells so wanted to know if there is a quicker way of looking up a range of cell rather than using individual IF formulas for each cell.

    Thanks in advance for your help!
    Attached Files Attached Files

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: If formula to add up a range of cells

    This is what the SUMIF formula is for:

    output = SUMIF(test_range, boolean_test, summation_range)

    For you:

    output_A = SUMIF(E3:E100, "A", C3:C100)

    like that.

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: If formula to add up a range of cells

    Try a pivot table - see attached.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Registered User
    Join Date
    12-03-2013
    Location
    British Columbia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: If formula to add up a range of cells

    Thanks Ben and OllyXLS. Both worked. The SUMIF formula was definitely what I was after but the Pivot table will come in handy as well.
    Thanks to the both of you.

  5. #5
    Registered User
    Join Date
    11-12-2013
    Location
    NZ
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: If formula to add up a range of cells

    =countif(e3:e14,"=a")

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Return non-blank cells from range AND ignore cells with only formula w/o results
    By grafitti in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-06-2014, 08:15 AM
  2. Replies: 1
    Last Post: 09-04-2013, 07:23 AM
  3. Replies: 1
    Last Post: 01-23-2013, 03:00 PM
  4. [SOLVED] VBA Copy a range of cells values using the range of cells in a formula (which will change)
    By murtaep in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 06-05-2012, 07:59 AM
  5. Replies: 2
    Last Post: 05-31-2012, 05:37 AM

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