I need a cell to be filled with a certain text when two other cells contain a certain value

Y Segal

I tried to use the countif function and then tried using vlookup and was not really successful.

The condition statement I need is, for example, if L10 contains the word "TAX" and M10 contains the word "USA", cell N10 will automatically fill with the word "VAT" in red, if one of them is missing, leave it blank.

Thank you for any help

Engineer Toast

Use the formula below in cell N10 and set the text color to red. Since you want either "VAT" in red or blank, then the blank text can be set to red and it won't matter. No conditional formatting required.

=IF(AND(NOT(ISERROR(SEARCH("tax",L10))),NOT(ISERROR(SEARCH("usa",M10)))),"VAT","")

enter image description here

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Multiple Conditional formatting to highlight a third cell when two cells match

来自分类Dev

R: Find if value is within a certain percentage of any other value in its row

来自分类Dev

mysql select for simple join for rows having certain cells with duplicate values

来自分类Dev

Matrix traversal with rules that must hit certain cells. Interview

来自分类Dev

How do I print out just certain elements from a text file that has xml tags to a new text file?

来自分类Dev

Get a certain value in a JSON string using a regex

来自分类Dev

ng-repeat save certain value as cookie

来自分类Dev

Not loading a Spring bean when a certain profile is set

来自分类Dev

Is it possible to reference two cells in Excel to find a third cell?

来自分类Dev

How to count cells in a range with a value less than another cell in excel?

来自分类Dev

When a certain item on dropdownlist1 is selected, select automatically a certain item on dropdownlist2

来自分类Dev

Display button when hover over certain row in table

来自分类Dev

How to change CSS when user scrolls past a certain div

来自分类Dev

Skipping certain fields in subdocument when doing a multikey index in MongoDB

来自分类Dev

How do I retrieve the text of a cell comment

来自分类Dev

Using Nokogiri I am unable to find certain nodes in a document

来自分类Dev

Using Gradle, how can I ensure that a file exists at a certain location?

来自分类Dev

How can I recursively find the *directories* containing a file of a certain type?

来自分类Dev

Need CFReadStream Block untill buffer size in not filled

来自分类Dev

Select element with certain style?

来自分类Dev

Sort argv in a certain order

来自分类Dev

how to change values with rank value (ordered value) in R? and I want to give same numbers when two values tie

来自分类Dev

How to pick a random element in an np array only if it isn't a certain value

来自分类Dev

DataGridView Event to Catch When Cell Value Has Been Changed by User

来自分类Dev

How do I check if a certain User exists under a specific Login in SQL?

来自分类Dev

Should I populate model data from a view in certain case - asp.net MVC

来自分类Dev

Why can't I return from certain processor exceptions? Toy kernel dev

来自分类Dev

Send push with parse to certain device?

来自分类Dev

Allow certain style attributes with ngSanitize

Related 相关文章

  1. 1

    Multiple Conditional formatting to highlight a third cell when two cells match

  2. 2

    R: Find if value is within a certain percentage of any other value in its row

  3. 3

    mysql select for simple join for rows having certain cells with duplicate values

  4. 4

    Matrix traversal with rules that must hit certain cells. Interview

  5. 5

    How do I print out just certain elements from a text file that has xml tags to a new text file?

  6. 6

    Get a certain value in a JSON string using a regex

  7. 7

    ng-repeat save certain value as cookie

  8. 8

    Not loading a Spring bean when a certain profile is set

  9. 9

    Is it possible to reference two cells in Excel to find a third cell?

  10. 10

    How to count cells in a range with a value less than another cell in excel?

  11. 11

    When a certain item on dropdownlist1 is selected, select automatically a certain item on dropdownlist2

  12. 12

    Display button when hover over certain row in table

  13. 13

    How to change CSS when user scrolls past a certain div

  14. 14

    Skipping certain fields in subdocument when doing a multikey index in MongoDB

  15. 15

    How do I retrieve the text of a cell comment

  16. 16

    Using Nokogiri I am unable to find certain nodes in a document

  17. 17

    Using Gradle, how can I ensure that a file exists at a certain location?

  18. 18

    How can I recursively find the *directories* containing a file of a certain type?

  19. 19

    Need CFReadStream Block untill buffer size in not filled

  20. 20

    Select element with certain style?

  21. 21

    Sort argv in a certain order

  22. 22

    how to change values with rank value (ordered value) in R? and I want to give same numbers when two values tie

  23. 23

    How to pick a random element in an np array only if it isn't a certain value

  24. 24

    DataGridView Event to Catch When Cell Value Has Been Changed by User

  25. 25

    How do I check if a certain User exists under a specific Login in SQL?

  26. 26

    Should I populate model data from a view in certain case - asp.net MVC

  27. 27

    Why can't I return from certain processor exceptions? Toy kernel dev

  28. 28

    Send push with parse to certain device?

  29. 29

    Allow certain style attributes with ngSanitize

热门标签

归档