ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   count formula question (https://www.excelbanter.com/excel-worksheet-functions/227762-count-formula-question.html)

MCook

count formula question
 
I am working in a spreadsheet with two worksheets in it. On worksheet 1 I
want to enter a formula that tells me how many cells in column h5:h622 on the
second sheet have a €ś1€ť in it, but I only want it to count it if column
f5:f622 (also on the second sheet) says €śFEE- Monthly€ť. Any tips?? Thanks!

Domenic[_2_]

count formula question
 
In article ,
mcook wrote:

I am working in a spreadsheet with two worksheets in it. On worksheet 1 I
want to enter a formula that tells me how many cells in column h5:h622 on the
second sheet have a €ś1€ť in it, but I only want it to count it if column
f5:f622 (also on the second sheet) says €śFEE- Monthly€ť. Any tips?? Thanks!


Try...

=SUMPRODUCT(--('Sheet2'!$H$5:$H$622=1),--('Sheet2'!$F$5:$F$622= "FEE-
Monthly"))

--
Domenic
http://www.xl-central.com

MCook

count formula question
 
I actually figured it out, thanks!
=SUMIF('OD Detail'!$F$5:$F$662,"FEE- MONTHLY",'OD Detail'!H5:H662)

"mcook" wrote:

I am working in a spreadsheet with two worksheets in it. On worksheet 1 I
want to enter a formula that tells me how many cells in column h5:h622 on the
second sheet have a €ś1€ť in it, but I only want it to count it if column
f5:f622 (also on the second sheet) says €śFEE- Monthly€ť. Any tips?? Thanks!



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

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