![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 3
|
A hole number is entered in (K2), IF the number is EVEN I want a "0" in (K3),IF the number is ODD I want a "2" in (K3).
I tryed everything HELP! Thanks, Roger |
|
|
|
|
|
#2 | |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,027
|
Hey
Quote:
Adam |
|
|
|
|
|
|
#3 | ||
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
Adam, You had promised =ISODD(K2)*2 Aladin |
||
|
|
|
|
|
#4 |
|
New Member
Join Date: May 2002
Posts: 3
|
To my previous message:
I tried: =IF(ISEVEN(K2),0,2) This doesn't work I get "#NAME?" |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,027
|
Hey Rog,
You may need to go to Tools/Add-Ins/ and check Analysis ToolPak. Check that and redo the formula. Adam |
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,027
|
Aladin - you're right! *slaps head*
force of habit, I guess |
|
|
|
|
|
#7 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
|
|
|
|
|
|
|
#8 |
|
New Member
Join Date: May 2002
Posts: 3
|
YOU WERE RIGHT!!!!!!!
Thanks a LOT! Roger |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|