I want to count 3 criteria ( T2, T3, B) in specified cells ( light blue cells)
Here I did it only for T2 with "countif" but it`s very long.
Any other ideas?
here I attached the sheet.
I want to count 3 criteria ( T2, T3, B) in specified cells ( light blue cells)
Here I did it only for T2 with "countif" but it`s very long.
Any other ideas?
here I attached the sheet.
Last edited by NBVC; 10-11-2011 at 12:27 PM.
If you can add one more column between AL and AM with an "S" header, then try:
=SUMPRODUCT(COUNTIFS($C$1:$AL$1,"F",$C$2:$AL$2,{"T2","T3","B"}))+SUMPRODUCT(COUNTIFS($C$1:$AL$1,"F",$D$2:$AM$2,{"T2","T3","B"}))
else, if you can insert a row above or below the first row that somehow marks the "blue" columns, then you can use a shorter formula (i.e. half the size as above) using that mark as criteria....
You can also use actual dates instead of just the letter, to use Weekday() function for criteria to get only Friday and Saturday dates....
Last edited by NBVC; 10-11-2011 at 12:27 PM. Reason: typo
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
thx a lot NBVC, i did a modification u suggest and it`s working fine. great job !!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks