Solved

Show all characters before period

Posted on 2010-08-16
5
439 Views
Last Modified: 2012-05-10
How do I show all the characters before a period?

Exp: 1.19
Output: 1

Exp2: 19.8
Output: 19

Thanks.
0
Comment
Question by:IntercareSupport
  • 2
  • 2
5 Comments
 
LVL 13

Expert Comment

by:MWGainesJR
Comment Utility
set the number of decimal places in the number cell formatting to 0.
0
 

Author Comment

by:IntercareSupport
Comment Utility
I need a formula because I need the literal output of the characters before the period, not a change of view.
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
Comment Utility
MWGaines suggestion works by altering the display but the underlying value of the cell won't change. If you want to extract the value into another cell try
=INT(A1)
where your data is in A1
regards, barry
0
 

Author Closing Comment

by:IntercareSupport
Comment Utility
Perfect, thanks!
0
 
LVL 13

Expert Comment

by:MWGainesJR
Comment Utility
=LEFT(A1,FIND(".",A1,1)-1)
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now