ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   I need a cell to populate as a one when 2 cells meet criteria (https://www.excelbanter.com/excel-worksheet-functions/156819-i-need-cell-populate-one-when-2-cells-meet-criteria.html)

Loren71

I need a cell to populate as a one when 2 cells meet criteria
 
I am looking for a cell to add each time two cells in two different collomns
meet certian criteria

JE McGimpsey

I need a cell to populate as a one when 2 cells meet criteria
 
Perhaps:

if just 2 cells:

=(A1="criterion1") + (B1="criterion2")

if comparing each row in two columns:

=SUMPRODUCT(--(A1:A100="criterion1"),--(B1:B100="criterion2"))

In article ,
Loren71 wrote:

I am looking for a cell to add each time two cells in two different collomns
meet certian criteria


Don Guillett

I need a cell to populate as a one when 2 cells meet criteria
 
Look in the help index for AND & IF

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Loren71" wrote in message
...
I am looking for a cell to add each time two cells in two different
collomns
meet certian criteria




All times are GMT +1. The time now is 02:22 AM.

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