+ Reply to Thread
Results 1 to 6 of 6

Aligning rows, across 3 columns

  1. #1
    Registered User
    Join Date
    12-19-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    18

    Aligning rows, across 3 columns

    Hi Guys,

    I am working on some data that is split into 3 columns, and shows the number of graduates of each course either, A-Working full time D-Working part time, looking for full time work G-Not working, looking for full time work.

    I am trying to calculate the totals e.g Working full time + Working part time + Not working, for a Bachelor of Accounting but because the rows are not matched up I will have to go through manually and match them up.

    Does any one know how I can match the rows up by the name? Or get a sum out with out matching them? I have attached a file with the numbers removed and replaced with 'x'.

    Your help is greatly appreciated,

    Simon
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Aligning rows, across 3 columns

    Try this, copied down...
    =COUNTIF(A:G,A2)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Aligning rows, across 3 columns

    hi Simon, putting in some fictitious numbers & then telling us what should the answer be would be so much more helpful for us. i can only guess that you want this right now. assuming the text "Bachelor of Accounting" is in J2, then:
    =SUMIF($A$2:$G$304,J2,$B$2:$H$304)
    that will sum up column B, E & H if Column A, D & G is exactly "Bachelor of Accounting"

    but if you want to sum up those that contains "Bachelor of Accounting", then:
    =SUMIF($A$2:$G$304,"*"&J2&"*",$B$2:$H$304)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    12-19-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Aligning rows, across 3 columns

    Thanks for the quick reply FDibbine,

    It does not seam to be doing the job, sorry about my lack of expertise, but could you clarify copy down?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Aligning rows, across 3 columns

    Put that I2 and copy down to the end of your data

  6. #6
    Registered User
    Join Date
    12-19-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Aligning rows, across 3 columns

    Hi guys,

    Thanks again for the great responses, I ended up stacking the 3 columns together and using a pivot to pull out the sums for each of the courses with the same name. Don't know why I didn't think of it earlier.

    Thank you very much for you help!

+ 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