How to use a cell in Excel that has a formula as a condition?

Ray

I am trying to use a formulated cell to make a condition, but it failed.

For example:

Cell A1 contains number '12345'

In Cell B1, I insert '=Left(A1,3)', so it returns '123'

In Cell C1, I insert '=IF(B1=123,"Yes","No")', it should return Yes, but I don't know why it returns No.

Any idea about this? Thanks in advance

rwilson

When you use the LEFT function on a number it changes the number to text. Try:

=LEFT(A1,3)+0

Using a math operation such as "+0" will change the text back to a number.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Excel if blank cell use different cell in formula

From Dev

Excel: Use Cell in Formula Based On Criteria

From Dev

MS Excel, How to make the IF formula spit back the value of the cell if condition is FALSE?

From Dev

Use the results of an Excel formula in another formula as a cell indexer

From Dev

Excel Cell References in Sum Formula with Multiple Condition Array

From Dev

How to color a cell in Excel using a formula?

From Dev

How to change a formula according to cell value in excel?

From Dev

excel: how to *clone* the formula to another cell?

From Dev

How to put a formula into a cell by Excel VBA?

From Dev

Is it possible to have a cell that has a formula and accepts entry at same time in excel?

From Dev

How to use a sheet name that is referenced in a cell in a formula?

From Dev

Excel IF Formula varififying one cell has data and another cell has specific value

From Dev

Excel Formula Not Updating Cell

From Dev

Excel changes cell formula

From Dev

Trying to use Conditional Formatting in excel to highlight a cell if my formula is false

From Dev

Can Excel use formula-input data for cell references?

From Dev

Use a cell value (text) as a part of a formula in Excel VBA

From Dev

Can I use an excel formula to extract the link location of a hyperlink in a cell?

From Dev

Excel formula SUMIFS use cell value in array range

From Dev

Excel formula with if condition

From Dev

Add formula containing condition to cell

From Dev

Is it possible to use a formula or some sort of AND OR condition to filter an Excel table?

From Dev

How to determine if a formula or a manual entry has been written in a cell

From Dev

How to delete row if cell shows 0 but has formula?

From Dev

How to use if condition in excel with list

From Dev

How to insert Excel formula to cell in Report Builder 3.0?

From Dev

How to delete the part of the text that is repeated from excel cell - is there a formula?

From Dev

EXCEL - How to have a formula output and user input on the same cell?

From Dev

how to apply formula in excel cell without the value being shown

Related Related

  1. 1

    Excel if blank cell use different cell in formula

  2. 2

    Excel: Use Cell in Formula Based On Criteria

  3. 3

    MS Excel, How to make the IF formula spit back the value of the cell if condition is FALSE?

  4. 4

    Use the results of an Excel formula in another formula as a cell indexer

  5. 5

    Excel Cell References in Sum Formula with Multiple Condition Array

  6. 6

    How to color a cell in Excel using a formula?

  7. 7

    How to change a formula according to cell value in excel?

  8. 8

    excel: how to *clone* the formula to another cell?

  9. 9

    How to put a formula into a cell by Excel VBA?

  10. 10

    Is it possible to have a cell that has a formula and accepts entry at same time in excel?

  11. 11

    How to use a sheet name that is referenced in a cell in a formula?

  12. 12

    Excel IF Formula varififying one cell has data and another cell has specific value

  13. 13

    Excel Formula Not Updating Cell

  14. 14

    Excel changes cell formula

  15. 15

    Trying to use Conditional Formatting in excel to highlight a cell if my formula is false

  16. 16

    Can Excel use formula-input data for cell references?

  17. 17

    Use a cell value (text) as a part of a formula in Excel VBA

  18. 18

    Can I use an excel formula to extract the link location of a hyperlink in a cell?

  19. 19

    Excel formula SUMIFS use cell value in array range

  20. 20

    Excel formula with if condition

  21. 21

    Add formula containing condition to cell

  22. 22

    Is it possible to use a formula or some sort of AND OR condition to filter an Excel table?

  23. 23

    How to determine if a formula or a manual entry has been written in a cell

  24. 24

    How to delete row if cell shows 0 but has formula?

  25. 25

    How to use if condition in excel with list

  26. 26

    How to insert Excel formula to cell in Report Builder 3.0?

  27. 27

    How to delete the part of the text that is repeated from excel cell - is there a formula?

  28. 28

    EXCEL - How to have a formula output and user input on the same cell?

  29. 29

    how to apply formula in excel cell without the value being shown

HotTag

Archive