computing
  • 2

Solved IF Range Contains a Certain Text Return Text

  • 2

I would like to have a cell display the text “Portfolio Mismatch” if a cell range contains the word FALSE. If all cells in the range contain only TRUE the the cell should display the text “Portfolio Match”. The true and false references are based of an exact function between two adjacent columns. The formula works if the logical test is based off of one cell but fails to work when i input a range. I have pasted the formula below for what i would like to achieve.

=IF(L5:L47=FALSE,”Portfolios Mismatched”,”Portfolios Matched”)

Share

1 Answer

  1. Try:

    =IF(COUNTIF(L5:L47,”FALSE”),”Portfolios Mismatched”,”Portfolios Matched”)

    MIKE

    http://www.skeptic.com/

    • 0