![]() |
need a formula
i need a cell to return a text answer based on the cell contents being even
or an odd number for ex. if cell#= 0,2,4,6,8, or 1,3,5,7,9 then in new cell display text |
Hi
one way (includes checking for text and blank entries) with the number to test in A1 =IF(ISNUMBER(A1),IF(ISEVEN(A1),"even num",IF(ISODD(A1),"odd num","no num")),"not a number") Cheers JulieD "can'tremembersquat" wrote in message ... i need a cell to return a text answer based on the cell contents being even or an odd number for ex. if cell#= 0,2,4,6,8, or 1,3,5,7,9 then in new cell display text |
All times are GMT +1. The time now is 10:33 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com