+ Reply to Thread
Results 1 to 8 of 8

how to count values based on column A

  1. #1
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    207

    how to count values based on column A

    Dear All,

    I got a large file (sample attached). It got all training courses done in the company according to
    date, gender and rank. My task is to cut down the database and create a summary table of how many persons (count only) did the training on given date in column (B) based on course name, how many male and female how many internal and external and how many Civ and MIL attended.

    thanks for usual help
    Attached Files Attached Files
    Last edited by legolas; 02-12-2014 at 05:18 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: how to count values based on column A

    You forgot the sample workbook!
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    207

    Re: how to count values based on column A

    sorry did not forget, just had trouble uploading wrong file,
    cheers

  4. #4
    Registered User
    Join Date
    02-12-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: how to count values to a seperate table

    Hi Gentle man,

    Please try using Pivot table to get these data. i did as per my understanding have a look at this. Just copy paste in to excel.
    Count of Date Column Labels
    External External Total Internal Internal Total Grand Total
    Row Labels Female Male Female Male
    01 April - 25 April 2013 1 1 1 2 3 4
    English Course Beginners 1 1 2 2 3
    Civ 2 2 2
    Mil 1 1 1
    French Course Beginners 1 1 1
    Mil 1 1 1
    04 - 04 July 2013 3 3 2 5 7 10
    MS Excel 3 3 2 5 7 10
    Civ 3 3 1 4 5 8
    Mil 1 1 2 2
    08 April - 31 May 2013 2 10 12 12
    English Course Beginners 2 6 8 8
    Civ 2 5 7 7
    Mil 1 1 1
    French Course Beginners 4 4 4
    Mil 4 4 4
    16 - 16 July 2013 1 2 3 5 5 8
    17 - 18 July 2013 1 2 3 3
    Grand Total 1 6 7 6 24 30 37

  5. #5
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    207

    Re: how to count values based on column A

    @ SSMANI
    thanks but can you please put your data in the same file which i uploaded because it did not work when i copy and paste

  6. #6
    Registered User
    Join Date
    02-07-2014
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: how to count values based on column A

    Hei Legolas,

    Try the COUNTIFS function.

    See attached

    Regards
    Tim
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    207

    Re: how to count values to a seperate table

    thanks Timboson
    worked fine, but is there a way to count blank cells

    thanks again
    Last edited by legolas; 02-13-2014 at 03:46 AM.

  8. #8
    Registered User
    Join Date
    02-07-2014
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: how to count values based on column A

    There's the COUNTBLANK function, which counts blank cells.

    You could try heading over to Chandoo.org's website, and pick up a few tips there, http://chandoo.org/excel-formulas/countblank.shtml

+ 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: 7
    Last Post: 01-29-2015, 10:14 AM
  2. Count Row values based on Column header
    By sramakrishna in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-06-2013, 09:07 AM
  3. How to count number of values in one column based on another column value?
    By Howard Gale in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 01-16-2013, 07:15 PM
  4. Replies: 3
    Last Post: 06-10-2010, 11:54 AM
  5. Count Values in Column B based on Criteria in Column A
    By brughel in forum Excel General
    Replies: 5
    Last Post: 04-17-2009, 02:30 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