Solved

Show all characters before period

Posted on 2010-08-16
5
450 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
ID: 33447888
set the number of decimal places in the number cell formatting to 0.
0
 

Author Comment

by:IntercareSupport
ID: 33447911
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
ID: 33447915
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
ID: 33447931
Perfect, thanks!
0
 
LVL 13

Expert Comment

by:MWGainesJR
ID: 33447937
=LEFT(A1,FIND(".",A1,1)-1)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

911 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

22 Experts available now in Live!

Get 1:1 Help Now