LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 947
Default How to do it in excel?

such as 8, then it should return 7 in
cell C1, because it is my preference.


I may be wrong, but I think this is correct...

=ODD(A1-1)

--
HTH :)
Dana DeLouis


"Eric" wrote in message
...
Does anyone have any suggestions on how to do it in excel?

There is a list of odd numbers under A column
1,3,5,7,9,...
When I input any number in cell B1, such as 7.8, then it should return 7
in
cell C1, because 7.8 is closer to 7 than 9.
When I input any number in cell B1, such as 8.1, then it should return 9
in
cell C1, because 8.1 is closer to 9 than 7.
When I input any number in cell B1, such as 8, then it should return 7 in
cell C1, because it is my preference.
Does anyone have any suggestions?
Thanks in advance for any suggestions
Eric



 
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



All times are GMT +1. The time now is 01:00 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"