ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how do i count the number of times criteria appears in a worksheet (https://www.excelbanter.com/excel-worksheet-functions/102401-how-do-i-count-number-times-criteria-appears-worksheet.html)

MarkWatson

how do i count the number of times criteria appears in a worksheet
 
what formula should i use when i have to count the number of times a cell
criteria appears on a spreadsheet, only when another criteria is present.
ie if "1407" appears in cells L3:L450, only count each of those cells if
"1201" appears in column B for the same row

Greg Wilson

how do i count the number of times criteria appears in a worksheet
 
Try:

=SUMPRODUCT(--(L3:L450 = 1407),--(B3:B450 = 1201))

Regards,
Greg


"MarkWatson" wrote:

what formula should i use when i have to count the number of times a cell
criteria appears on a spreadsheet, only when another criteria is present.
ie if "1407" appears in cells L3:L450, only count each of those cells if
"1201" appears in column B for the same row


MarkWatson

how do i count the number of times criteria appears in a works
 
Thank you greg, now we can count how many carpenters (1201's) are listed on
company timesheets that work on job Epping Plaza (1407)

much appreciated

"Greg Wilson" wrote:

Try:

=SUMPRODUCT(--(L3:L450 = 1407),--(B3:B450 = 1201))

Regards,
Greg


"MarkWatson" wrote:

what formula should i use when i have to count the number of times a cell
criteria appears on a spreadsheet, only when another criteria is present.
ie if "1407" appears in cells L3:L450, only count each of those cells if
"1201" appears in column B for the same row



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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com