+ Reply to Thread
Results 1 to 4 of 4

Pivot or VLOOKUP or INDEX - simple sums across rows...

  1. #1
    Registered User
    Join Date
    01-22-2004
    Posts
    12

    Pivot or VLOOKUP or INDEX - simple sums across rows...

    Hi, I'm trying to simply sum a series of values in each column that match to a repeating series of rows and can't seem to figure out the best way to do this.


    Project1, Env1, Env2, Env3, Env4
    ServerA, 1, 1, 2, 2
    ServerB, 2, 2, 4, 4
    ServerC, 1, 1, 3, 3

    Project2, Env1, Env2, Env3, Env4
    ServerA, 2, 4, 4, 4
    ServerB, 1, 2, 3, 3
    ServerC, 3, 3, 3, 3


    ...and so forth

    I'm trying to get a total for all projects so that:


    All Projects, Env1, Env2, Env3, Env4
    ServerA, 3, 5, 6, 6
    ServerB, 3, 4, 7, 7
    ServerC, 4, 4, 6, 6


    Can someone help?

    Thank You!

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Pivot or VLOOKUP or INDEX - simple sums across rows...

    Use SUMIF

    See attached

    Alternatively use pivot tables
    http://www.cpearson.com/excel/pivots.htm
    Attached Files Attached Files
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    01-22-2004
    Posts
    12

    Re: Pivot or VLOOKUP or INDEX - simple sums across rows...

    Oh, that was a simpler than I thought. Thank you Ace_XL! Thank you!

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Pivot or VLOOKUP or INDEX - simple sums across rows...

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Replies: 3
    Last Post: 06-17-2013, 01:09 PM
  2. Excel 2010 Pivot Tables and LOOKUP, VLOOKUP, INDEX/MATCH trouble
    By mjbalys in forum Excel Charting & Pivots
    Replies: 15
    Last Post: 04-19-2013, 04:58 PM
  3. VLookup/Index/Columns to rows
    By Frogger0102 in forum Excel General
    Replies: 2
    Last Post: 02-17-2010, 06:36 PM
  4. Simple Sums?
    By milly in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-23-2009, 07:30 AM
  5. vlookup or pivot or match/index ??
    By elbows in forum Excel General
    Replies: 2
    Last Post: 04-08-2008, 03:02 PM

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