Sunteți pe pagina 1din 1

Excel Function Dictionary 1998 - 2000 Peter Noneley A 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 B C D E F

ISNONTEXT Page 1 of 1 G

ISNONTEXT
Item To Test 10 Hello 1-Jan-98 1OO Is It A Number? TRUE FALSE TRUE TRUE FALSE =ISNONTEXT(C4) =ISNONTEXT(C5) =ISNONTEXT(C6) =ISNONTEXT(C7) =ISNONTEXT(C8)

What Does It Do? This functions tests an entry to determine whether it is a number, rather than text. It would be used to ensure that only numeric entries are used in calculations, rather than text which looks like a number, such as typing the letter O instead of zero 0. The function is normally used with other function such as the =IF() function. Syntax =ISNONTEXT(CellToTest) Formatting No special formatting. Examples The following table is used by an electrical retailer to calculate the selling price of an item based on the buying price and the shop mark-up. Table 1 shows the #VALUE! error generated when a number, 300, is entered using the letter O instead of the zero 0. Table 1 Item Radio TV Video

Buying Price 400 800 3OO

Mark-up 150% 200% 150%

Profit 600 1600 #VALUE!

=D32*E32

Table 2 shows how the error is trapped using the =ISNONTEXT function and the =IF() function in the calculation. Table 2 Item Radio TV Video

Buying Price Mark-up Profit 400 150% 600 800 200% 1600 3OO 150% Retype the Price =IF(ISNONTEXT(D40),D40*E40,"Retype the Price")

S-ar putea să vă placă și