Question : CountIf in Excel across many cells

2 Part question

1.  I want to be able to count the total number of defects in columns BN:BR based on what's in a different column D  For example... Count all 47 Lower Defects from Columns BN:BR and the same for 47 Upper and 48*.

Column D:      Column BN    Column BO    Column BP   Column BQ   Column BR
47 Lower                  12                  1                    5                  4                    1
48 Upper                     2                  1                    1                  0                    0
47 Upper                     5                  5                    2                  0                    0
47 Upper                    25                 1                    0                  0                    0
47 Lower                   15                 2                    0                  0                    0
47 Lower                   10                10                   0                  0                    0

On the Same Spreadsheet: I wanted a count of all Defect Codes in Columns BD:BH and get the top 6, from highest to lowest.  For example I'm guessing F03=500, P03=400, A03= 300 and so on for just the top 6.

I attached the spreadsheet for help.  Many Thanks!
 
 
 

Answer : CountIf in Excel across many cells

OK, that formula was just counting rows where column D was exactly 47 lower, not including entries where there is other text, change to a formula similar to the other, i.e.

=SUMPRODUCT((LEFT(Data!D2:D600,8)="47 lower")*Data!BN2:BR600)

barry

Random Solutions  
 
programming4us programming4us