简体   繁体   中英

what formula is needed to count two specific cells that already include a formula

Afternoon all,

I am trying to create an enquiry managment spreadsheet that records all incoming enquires and what has been done to date.

I am trying to get a cell to count how many "New" enquiries David has.

Daivds name is populated via a drop down list and the number of enquiries is counted via the text "NEW" selected from a drop down list.

The formula as I understand it should be along the lines of

 =COUNTIF(Enquiries!E4:E309,"NEW")=IF(Enquiries!B4:B309,"DAVID")

But i cannot for the life of me get it to work!!

电子表格的片段

You should use the formula COUNTIFS() which allows to place more than one condition to do the count. As mentioned in the comments by BigBen, the formula should be as follows:

=COUNTIFS(Enquiries!E4:E309,"NEW",Enquiries!B4:B309,"DAVID")

If you want to use the formula for different people, which i guess you want, you can change "DAVID" for cell E$2, and block the cells by using $ symbol, so the formula would be like:

=COUNTIFS(Enquiries!$E$4:$E$309,"NEW",Enquiries!$B$4:$B$309,E$2)

and then drag the formula horizontally.

You can find more help about the formula on this link

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM