#1   Report Post  
swwong
 
Posts: n/a
Default 1.23 return to 0.23


Hello

I input 1.23 in A1
but I want B1 to return to 0.23

How can I do that?

Thanks!


--
swwong
------------------------------------------------------------------------
swwong's Profile: http://www.excelforum.com/member.php...o&userid=23963
View this thread: http://www.excelforum.com/showthread...hreadid=375861

  #2   Report Post  
wa284sj
 
Posts: n/a
Default


enter in B1

=A1-1

Stuart


--
wa284sj
------------------------------------------------------------------------
wa284sj's Profile: http://www.excelforum.com/member.php...o&userid=22941
View this thread: http://www.excelforum.com/showthread...hreadid=375861

  #3   Report Post  
swwong
 
Posts: n/a
Default


I mean 1.23 return to 0.23 or 2.12 return to 0.12. or 10000.1 return to
0.1


Thanks


--
swwong
------------------------------------------------------------------------
swwong's Profile: http://www.excelforum.com/member.php...o&userid=23963
View this thread: http://www.excelforum.com/showthread...hreadid=375861

  #4   Report Post  
Bryan Hessey
 
Posts: n/a
Default


In B1

=a1-int(a1)


--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=375861

  #5   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=MOD(A1,1)

--
Regards,

Peo Sjoblom

(No private emails please)


"swwong" wrote in
message ...

I mean 1.23 return to 0.23 or 2.12 return to 0.12. or 10000.1 return to
0.1


Thanks


--
swwong
------------------------------------------------------------------------
swwong's Profile:
http://www.excelforum.com/member.php...o&userid=23963
View this thread: http://www.excelforum.com/showthread...hreadid=375861




  #6   Report Post  
Bryan Hessey
 
Posts: n/a
Default


plus, if you wish to allow for negative numbers:

=IF(A1<0,A1+(INT(A1)*-1)-1,A1-INT(A1))

or

=IF(A1<0,MOD(A1,-1),MOD(A1,1))


--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=375861

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
How do create a formula to evalute a # to return 1 of 4 conditions Larry Excel Worksheet Functions 4 May 29th 05 12:58 AM
How to return # characters based on 2nd instance of value JDay01 Excel Worksheet Functions 4 May 19th 05 05:29 PM
Using a Vlookup to return values in a data list? rtjeter Excel Worksheet Functions 2 April 26th 05 05:56 AM
if the value of a cell in a range is not blank, then return the v. kvail Excel Worksheet Functions 2 April 8th 05 10:07 PM
How do I return dynamic lists? liciakay Excel Worksheet Functions 1 March 30th 05 08:22 AM


All times are GMT +1. The time now is 03:39 AM.

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

About Us

"It's about Microsoft Excel"