LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
gtb gtb is offline
external usenet poster
 
Posts: 6
Default Number formatting

I'm using the & function to draw several cells into one to produce a product
description. One cell has user input format of 0.00. If the user inputs a
value without decimals, ie 4.00, I want the final result to be 4 in the
product description. If the user inputs say 3.15 then the final result in the
product descripton should be 3.15. How do I check a cell to see if there are
numbers to the right of the decimal. Is there a simpler way than say using
Integer, subtract from original, compare to zero and then format with if
statement???
 
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
Number Formatting Steve Haack Excel Discussion (Misc queries) 1 July 30th 08 12:32 AM
formatting cell number based on previous cell number Pasquini Excel Discussion (Misc queries) 3 June 20th 06 06:36 AM
Number formatting TomHinkle Excel Discussion (Misc queries) 2 July 14th 05 04:34 PM
Number Formatting Delaina Excel Worksheet Functions 3 June 9th 05 06:15 PM
Number formatting Fred Holmes Excel Discussion (Misc queries) 2 February 21st 05 06:02 PM


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