ワークシートのセルに情報を入力すると、入力した内容がExcelでどのように変換されるのか不思議に思うかもしれません。 Excelは最初に情報を数値に変換しようとします。数字はまさにそれです—任意の数字(0から9)、オプションで特殊文字を使用します。これらの特殊文字の最も一般的なものは、ピリオド(小数点と見なされます)、数字の間のコンマ、マイナス記号またはプラス記号、および数字の後のパーセント記号です。パーセント記号を使用する場合、Excelはパーセントを入力していると見なし、内部ストレージ用に数値を100で除算します。

他の特殊文字も使用できます。たとえば、数値の前にドル記号を付けると、Excelは通貨金額を入力していると見なします。 (123)のように、括弧で囲まれた数値を入力することもできます。これは、負の数を示す別の方法です。スラッシュ文字(/)は、分数または日付を示すために使用できます。最後に、文字E(大文字または小文字)を使用して、科学的記数法で数値を入力していることを示すことができます。これらの異なる番号と記号はすべて、次の表にまとめられています。

Symbol

Meaning

If used before a number or after a number followed by the letter

E (as in 123E—45), it is taken as a negative sign. If entered between

numbers, assumed first to be a date separator, unless the numbers are

illegal for a date; in which case it is considered text. If entered

after a number, then the entry is assumed to be text.

+

If used before a number or after a number followed by the letter

E (as in 123E+45), it is ignored. If entered between or after numbers,

it is considered text.

()

When completely surrounding a number, assumed to be a negative

sign. In all other instances (except in formulas), assumed to be text.

,

When followed by at least three digits, assumed to be a hundreds

separator. In all other instances, assumed to be text.

/

If entered between numbers, assumed first to be a date

separator—provided the numbers can be translated to a valid date. If

entered between numbers after a space (as in 2 1/4), tries to convert

the fraction to a decimal value. In all other instances, assumed to be

text.

$

When preceding digits, assumed to indicate that the number

represents currency. In all other instances, assumed to be text.

%

When following digits, assumed to indicate that the number

represents a percentage. In all other instances, assumed to be text.

.

When used once within an entry, assumed to be a decimal point. In

all other instances, assumed to be text.

E or e

When used once within an entry, assumed to indicate that the

number is being entered in scientific notation. The value to the left of

the E is normalized to between 1 and 10, and the value to the right is

used to represent the power to which the value is raised.

数字に記号を使用するときは、意味をなさなければならないことを忘れないでください。たとえば、小数点以下2桁またはパーセント記号を入力して、Excelが実行内容を理解することを期待することはできません。このような無意味な数字を入力しようとすると、Excelがテキストを入力していると見なす可能性があります。

_ExcelTips_は、費用効果の高いMicrosoftExcelトレーニングのソースです。

このヒント(11114)は、Microsoft Excel 2007、2010、2013、2016、2019、およびOffice 365のExcelに適用されます。Excelの古いメニューインターフェイス用のこのヒントのバージョンは、次の場所にあります。