Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Seo Services company Manchester

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 07-01-2006, 08:10 AM
darkxer0x darkxer0x is offline
Registered User
 
Join Date: 01 Jul 2006
Posts: 5
darkxer0x is becoming part of the community
Decimal when it´s necessary

Please Register to Remove these Ads

Hi.
I write integers with currency like 5 €, 30€. But sometimes I have to write doubles, like 5,5€ 34,3 €. The problem is that all cells must have the same format, so when I configure with 1 decimal, excel writes 5,0 €, and I want it to write 5 €, without the decimal 0. And if I configure without decimals, if I write 5,6 €, excel writes 6 € (it rounds up), and I want it to write 5,6 €
Reply With Quote
  #2  
Old 07-01-2006, 11:50 AM
RagDyeR
Guest
 
Posts: n/a
Re: Decimal when it´s necessary

Would you accept the 5 *with* a decimal point *without* the zero ( 5. €)?

Custom format:

#.#€

--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

"darkxer0x" <darkxer0x.2a9muo_1151755802.6739@excelforum-nospam.com> wrote
in message news:darkxer0x.2a9muo_1151755802.6739@excelforum-nospam.com...

Hi.
I write integers with currency like 5 €, 30€. But sometimes I have to
write decimals, like 5,5€ 34,3 €. The problem is that all cells must
have the same format, so when I configure with 1 decimal, excel writes
5,0 €, and I want it to write 5 €, without the decimal 0. And if I
configure without decimals, if I write 5,6 €, excel writes 6 € (it
rounds up).


--
darkxer0x
------------------------------------------------------------------------
darkxer0x's Profile:
http://www.excelforum.com/member.php...o&userid=35967
View this thread: http://www.excelforum.com/showthread...hreadid=557564


Reply With Quote
  #3  
Old 07-01-2006, 12:19 PM
darkxer0x darkxer0x is offline
Registered User
 
Join Date: 01 Jul 2006
Posts: 5
darkxer0x is becoming part of the community
Hi.
Quote:
Custom format:#.#€
It doesn´t work.

Quote:
Would you accept the 5 *with* a decimal point *without* the zero ( 5. €)?
Yes, it´s better 5. than 5.0

Custom format: #.##0 € --> 5 is 5 €; 7,8 is 8 €.
Custom format: #.##0,0 €, 5 is 5,0€; 7,8 is 7,8 €.
Is it possible a mix of them?? #.##0 € when number is an integer, #.##0,0 € when number is a double (Java can distinguish between integers and doubles, but I thinks excel not, excel only distinguish between number, text...)
Reply With Quote
  #4  
Old 07-01-2006, 12:50 PM
RagDyeR
Guest
 
Posts: n/a
Re: Decimal when it´s necessary

I believe that your version of XL would need commas instead of my version
using periods.

Try it with commas:
#,#€

--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

"darkxer0x" <darkxer0x.2a9yfb_1151770801.9626@excelforum-nospam.com> wrote
in message news:darkxer0x.2a9yfb_1151770801.9626@excelforum-nospam.com...

Hi.
> Custom format:#.#€

It doesn´t work.

> Would you accept the 5 *with* a decimal point *without* the zero ( 5.
> €)?

Yes, it´s better 5. than 5.0

Custom format: #.##0 € --> 5 is 5 €; 7,8 is 8 €.
Custom format: #.##0,0 €, 5 is 5,0€; 7,8 is 7,8 €.
Is it possible a mix of them?? #.##0 € when number is an integer,
#.##0,0 € when number is a double (Java can distinguish between
integers and doubles, but I thinks excel not, excel only distinguish
between number, text...)


--
darkxer0x
------------------------------------------------------------------------
darkxer0x's Profile:
http://www.excelforum.com/member.php...o&userid=35967
View this thread: http://www.excelforum.com/showthread...hreadid=557564


Reply With Quote
  #5  
Old 07-05-2006, 05:49 AM
darkxer0x darkxer0x is offline
Registered User
 
Join Date: 01 Jul 2006
Posts: 5
darkxer0x is becoming part of the community
Well, I´ve just done it. It was really easy. In custom formato, General €
(I think the name is General, (the first option) because my excel is in spanish...)
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump