W Washeacrim Nov 18, 2008 #1 In a IF statement how do i determine a letter or a number within a cell using Excel 2007 ie IF(D3 = letter; then 1 ; else 0) Thanks
In a IF statement how do i determine a letter or a number within a cell using Excel 2007 ie IF(D3 = letter; then 1 ; else 0) Thanks
B Bernard Liengme Nov 18, 2008 #3 =IF(ISNUMBER(D3), "It's a number", "It's text or Boolean") =IF(ISNUMBER(D3), 1,0) But the IF is not needed when you want just 1 or 0 =--ISNUMBER(D3) The double unary negation converts Boolean TRUE/FALSE to numeric 1/0 best wishes
=IF(ISNUMBER(D3), "It's a number", "It's text or Boolean") =IF(ISNUMBER(D3), 1,0) But the IF is not needed when you want just 1 or 0 =--ISNUMBER(D3) The double unary negation converts Boolean TRUE/FALSE to numeric 1/0 best wishes