Conditional Formatting

Stclements1

Board Regular
Joined
Sep 15, 2018
Messages
150
Office Version
  1. 365
Platform
  1. Windows
Hello to you all and weekend wishes.

I am devising a Gantt Chart for flying school and ground school. in one row I have the number 18 in certain cells and this represents cadets in ground school in the row beneath I have cells that have 18 in and this determines cadets in flight school and then on the row beneath is a new class of graduates and they have two rows one for ground school and one for flight school.
My question is it possible in excel to conditional format so that when I total the coloum values at the bottom of the chart it only counts the value in the cells that are of a certain fill say brown for ground school and blue for flight school. If not is there a formula that will allow me to get the sum of a coloum counting only cadets in flight school and the sum of a coloum counting only cadets in ground school.

Thank you for your assistance.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
what version of excel are you using, i think later versions can have the ability
 
Upvote 0
I think I understand. Have you tried using COUNTIFS? A quick example:

A TEAM GROUND18181818
A TEAM FLIGHT18181818
B TEAM GROUND181818
B TEAM FLIGHT18181818
GROUND11101201
FLIGHT02110211

<colgroup><col><col span="8"></colgroup><tbody>
</tbody>

If that's what you're after, the fomula in the topmost column total in this example is: =COUNTIFS(B$2:B$5,18,$A$2:$A$5,"*GROUND"), the bottommost
is =COUNTIFS(B$2:B$5,18,$A$2:$A$5,"*FLIGHT"). Change this according to your row headings.

Let me know if you need an explanation of the formulae!
 
Upvote 0

Forum statistics

Threads
1,214,947
Messages
6,122,411
Members
449,081
Latest member
JAMES KECULAH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top