Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Robb27
 
Posts: n/a
Default count cells across muliple columns

I have a sheet with 5 columns. The columns have headers: Student Name,
Student Number, Grant Provider, Graduation Date, Status, and Employed By.

I need a formula that will count of the number of students on the sheet
based on criteria in this order - provider, then status, then if there is
text in the employed By column.
I think I can use a countif if but everything I have tried has not worked.
Thanks in advance.

  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Robb,

Use a pivot table. Select your data table (all five columns) and then use
Data | Pivot Table.. and click OK until you get a new sheet. Then drag
the provider button to the row field, the Status button to the row field,
and the Employed by Button to both the row field and the data field. You
will then get a table of counts summarized by the three columns, without
using a single formula. If your data table changes, make sure that you
either reselect the table using the pivot table wizard, or insert new rows
within the table for your new data.

HTH,
Bernie
MS Excel MVP


"Robb27" wrote in message
...
I have a sheet with 5 columns. The columns have headers: Student Name,
Student Number, Grant Provider, Graduation Date, Status, and Employed By.

I need a formula that will count of the number of students on the sheet
based on criteria in this order - provider, then status, then if there is
text in the employed By column.
I think I can use a countif if but everything I have tried has not worked.
Thanks in advance.



  #3   Report Post  
Robb27
 
Posts: n/a
Default

Thanks Bernie. You are on fire! - Can you recomend any good books on how to
fully understand and utilize pivot tables?

"Bernie Deitrick" wrote:

Robb,

Use a pivot table. Select your data table (all five columns) and then use
Data | Pivot Table.. and click OK until you get a new sheet. Then drag
the provider button to the row field, the Status button to the row field,
and the Employed by Button to both the row field and the data field. You
will then get a table of counts summarized by the three columns, without
using a single formula. If your data table changes, make sure that you
either reselect the table using the pivot table wizard, or insert new rows
within the table for your new data.

HTH,
Bernie
MS Excel MVP


"Robb27" wrote in message
...
I have a sheet with 5 columns. The columns have headers: Student Name,
Student Number, Grant Provider, Graduation Date, Status, and Employed By.

I need a formula that will count of the number of students on the sheet
based on criteria in this order - provider, then status, then if there is
text in the employed By column.
I think I can use a countif if but everything I have tried has not worked.
Thanks in advance.




  #4   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Robb,

I have never found a good book on pivot tables. There are some web-based
resources, but the best way is to just play around. Drag things, click
things, right-click things, .....

HTH,
Bernie
MS Excel MVP


"Robb27" wrote in message
...
Thanks Bernie. You are on fire! - Can you recomend any good books on how

to
fully understand and utilize pivot tables?

"Bernie Deitrick" wrote:

Robb,

Use a pivot table. Select your data table (all five columns) and then

use
Data | Pivot Table.. and click OK until you get a new sheet. Then

drag
the provider button to the row field, the Status button to the row

field,
and the Employed by Button to both the row field and the data field.

You
will then get a table of counts summarized by the three columns, without
using a single formula. If your data table changes, make sure that you
either reselect the table using the pivot table wizard, or insert new

rows
within the table for your new data.

HTH,
Bernie
MS Excel MVP


"Robb27" wrote in message
...
I have a sheet with 5 columns. The columns have headers: Student Name,
Student Number, Grant Provider, Graduation Date, Status, and Employed

By.

I need a formula that will count of the number of students on the

sheet
based on criteria in this order - provider, then status, then if there

is
text in the employed By column.
I think I can use a countif if but everything I have tried has not

worked.
Thanks in advance.






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count cells in one range based on parameters in another range dave roth Excel Worksheet Functions 2 March 29th 05 05:33 PM
count number of cells based on TWO conditions (2 different columns Troi-Xanh Excel Worksheet Functions 2 February 12th 05 12:46 AM
Can I count how many grey-filled cells are in a row ? AnthonyG Excel Worksheet Functions 1 February 4th 05 10:08 AM
Count non-colored cells Ken G Excel Discussion (Misc queries) 3 January 2nd 05 12:42 PM
Count number of shaded cells Maddoktor Excel Discussion (Misc queries) 2 December 20th 04 08:35 PM


All times are GMT +1. The time now is 04:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"