+ Reply to Thread
Results 1 to 3 of 3

Creating Sum Formula for specific columns and rows with repeating values

  1. #1
    Registered User
    Join Date
    06-11-2019
    Location
    California
    MS-Off Ver
    365
    Posts
    3

    Creating Sum Formula for specific columns and rows with repeating values

    This is my first time on here. So sorry if I'm not the best at explaining this.

    I'm trying to see if there is a way to create a formula which calculates values specific to rows with a repeating value.

    Essentially. In Column A. I have these "Task Codes" a,b,c,d,e,f ect. These values represent specific tasks and in this column they are repeated multiple times. In Column B I have time spent doing those tasks in minutes.

    I'm trying to create a tracking sheet which can show me a tracking report on the inputed tasks. I want to create a formula which sifts through column A selecting, for instance, only the value "task code c" and then correctly adding up the total minutes inputted in Column B.

    Is this possible?

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Creating Sum Formula for specific columns and rows with repeating values

    In A2 of the tracking sheet you can enter the appropriate code (assuming headers in row 1), then in B2 you can have this formula:

    =SUMIF(Sheet1!A:A,A2,Sheet1!B:B)

    Assuming your data is on a sheet called Sheet1.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    06-11-2019
    Location
    California
    MS-Off Ver
    365
    Posts
    3

    Re: Creating Sum Formula for specific columns and rows with repeating values

    Thanks Pete.

    That wasn't quite what I was trying to do but I actually figured it out. At least I think. I'm confused by your answer really.

    I learned that I needed to put =SUMIFS(B2:B27283,A2:A27283,"a")

    This fuctions allows me to add up the total mins for only the value of a tasks.

+ 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. Delete values of duplicate rows only in specific columns
    By DeeBee in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-18-2013, 09:43 AM
  2. Sum of rows with columns of specific values *Works with Google Spreadsheets
    By traggs25 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-09-2013, 11:22 PM
  3. [SOLVED] Looking for VBA code to delete rows if values in 3 specific columns are the same
    By Priceman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-02-2012, 10:32 AM
  4. Replies: 4
    Last Post: 06-28-2012, 07:08 AM
  5. Replies: 2
    Last Post: 02-06-2012, 05:16 PM
  6. creating a repeating formula that doesn't show repeating values
    By cybershot in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-09-2010, 06:12 PM
  7. Replies: 0
    Last Post: 07-31-2006, 12:13 PM

Tags for this Thread

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