Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default rounding and comparing cells

Does anyone know how to format this.

If I have in one cell $21.40 and I have another cell I'm comparing that cell
to to give me a result that has $21.3980506 in the cell. My question will not
say they match because of the string of #'s after the .39. I need to change
all the cells in that column to be only 4 digits and rounding up if necessary.

Does anyone know an easy way to do this?

Thanks, B.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default rounding and comparing cells

=ROUND(A1,2)

where A1=21.3980506

"BSantos" wrote:

Does anyone know how to format this.

If I have in one cell $21.40 and I have another cell I'm comparing that cell
to to give me a result that has $21.3980506 in the cell. My question will not
say they match because of the string of #'s after the .39. I need to change
all the cells in that column to be only 4 digits and rounding up if necessary.

Does anyone know an easy way to do this?

Thanks, B.

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
Comparing cells when they are not exactly the same Garry Excel Discussion (Misc queries) 2 April 2nd 07 10:26 AM
comparing cells Nooby Excel Discussion (Misc queries) 3 May 19th 06 06:52 PM
comparing cells Help me Excel Worksheet Functions 1 May 9th 06 10:01 PM
Comparing Cells gdeleos Excel Worksheet Functions 2 March 16th 06 08:22 PM
Comparing Cells EXCEL101 Excel Worksheet Functions 3 August 30th 05 12:51 AM


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