#1   Report Post  
can'tremembersquat
 
Posts: n/a
Default 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
  #2   Report Post  
JulieD
 
Posts: n/a
Default

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


All times are GMT +1. The time now is 05:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"