Test to see if cell contains a space?
It'll return a yes, if the cell contains a space.
Ideas? Thank you. Rick |
Answer: Test to see if cell contains a space?
Hi Rick,
You can use the Code:
FIND
If the cell contains a space, the formula will return the position of the space in the cell. If the cell does not contain a space, the formula will return the Code:
#VALUE! You can also use the Code:
ISNUMBER Code:
FIND
If the cell contains a space, the formula will return Code:
TRUE Code:
FALSE |
Test to see if cell contains a space?
If(A1=" ","Yes","No")
"Rick" wrote in message ... It'll return a yes, if the cell contains a space. Ideas? Thank you. Rick |
Test to see if cell contains a space?
One way...
=IF(COUNTIF(A1,"* *"),"Yes","No") -- Biff Microsoft Excel MVP "Rick" wrote in message ... It'll return a yes, if the cell contains a space. Ideas? Thank you. Rick |
Test to see if cell contains a space?
On Dec 21, 12:26*pm, "T. Valko" wrote:
One way... =IF(COUNTIF(A1,"* *"),"Yes","No") -- Biff Microsoft Excel MVP "Rick" wrote in message ... It'll return a yes, if the cell contains a space. Ideas? Thank you. Rick- Hide quoted text - - Show quoted text - Thank you all!!! Rick |
All times are GMT +1. The time now is 05:37 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com