Re: combining integer and decimals
- From: "Rick Rothstein \(MVP - VB\)" <rick.newsNO.SPAM@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 14 Jun 2008 04:18:52 -0400
I'm not sure what you mean... can you give some examples of calculations that are giving you trouble?
Rick
"badongt" <badongt@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:79B48D3F-F64A-46D8-BD67-97DD211B4F14@xxxxxxxxxxxxxxxx
What if the integers digits changes from 2 to 3 and vice versa?
"Rick Rothstein (MVP - VB)" wrote:
I'm not really "satisfied" with this one, but it does work. If your two
numbers are in A1 and B1...
=IF(LEFT(A1,2)="0.",MID(A1,2,99),A1)&IF(LEFT(B1,2)="0.",MID(B1,2,99),B1)
Now the above is a completely general solution; however, if A1 **always**
contains an integer, the formula can be simplified...
=A1&IF(LEFT(B1,2)="0.",MID(B1,2,99),B1)
Rick
"badongt" <badongt@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:371C14F4-ACD5-4714-B941-D59F54D4A79D@xxxxxxxxxxxxxxxx
> Numbers show an extra zero "0" before the decimal point that changes > the
> display value whenever i do a concatenate with an integer..Is there a > way
> to
> remove that extra "0" so it would display the concatenated value
> properly???
.
- References:
- Re: combining integer and decimals
- From: Rick Rothstein \(MVP - VB\)
- Re: combining integer and decimals
- From: badongt
- Re: combining integer and decimals
- Prev by Date: Re: combining integer and decimals
- Next by Date: Re: Need help with data validation
- Previous by thread: Re: combining integer and decimals
- Next by thread: Re: combining integer and decimals
- Index(es):
Relevant Pages
|