You are on page 1of 2

EXCEL - Formulas

FORMULA REFERENCES File Path: =CELL ( "filename" ) DATES \\vboxsrv\conversion_tmp\scratch_2\[155901401.xls.ms_office.xls]Excel (Formulas 1) COLUMNS USED FOR RESULT H I J RESULT

Today's Date: =TODAY ( ) Today's Day: =DAY(TODAY ( ) ) Today's Month: =MONTH ( TODAY ( ) ) Today's Year: =YEAR ( TODAY ( ) ) FORMATTING - CAPITALIZATION Upper Case: =UPPER ( H26 ) Lower Case: =LOWER ( H28 ) Capitalize First Letter of Each Word: =PROPER ( H30 ) COMBINING / EXTRACTING DATA IN CELLS Concatenate: =CONCATENATE ( H35, I35, J35 ) Concatenate + Additional Data: =CONCATENATE ( H35, " + ", I35, " = ", J35 ) Extract Left Portion of Data: =LEFT ( H39, 4) Extract Right Portion of Data: =RIGHT ( H41, 10) Extract Middle Portion of Data: =MID ( H43, 8, 6 ) Cuts Out Additional Spacing: =TRIM ( H45 ) DATA FORMAT Absolute Value: =ABS ( H50 ) Round Data: =ROUND ( H52, 0 ) =ROUND ( H52, -2 ) =ROUND ( H52, 1 ) Replacing Errors: =IF ( ISERROR (H56 / I56 ), "-" , H56 / I56 ) CONDITIONAL FORMULAS If / Then: =IF ( H61=1, "ONE", "TWO") =IF ( H62=1, "ONE", "TWO") If / Then with OR: =IF ( OR ( H64=1, H64=2 ), "ONE or TWO", "FALSE") If / Then with AND: =IF ( AND (H66=1, I66=2 ), "YES", "NO") =IF ( AND (H67=1, I67=2 ), "YES", "NO") CHOOSE FROM LIST Choose: =CHOOSE ( H72, "ONE", "TWO", "THREE", "FOUR" ) all caps LOWER CASE typical capitalization

07/05/13 5 7 2013

ALL CAPS lower case Typical Capitalization

One One

Two Two

Three Three

OneTwoThree One + Two = Three Cuts Characters Middle Cuts Out Extra Spaces

CutsLeftFourCharacters CutsRightTenCharacters CutsOutMiddleSection Cuts Out Extra Spaces

-125.13 -125.13 549.13 125.13 5 0 -

125.13 -125 500 -125.1

1 2 2 1 1 2 1

ONE TWO ONE or TWO YES NO

THREE

EXCEL - Formulas
FORMULA COMPARE TWO CELLS Compare: =EXACT ( H77, J77 ) =EXACT ( H78, J78 ) FIND LENGTH OF DATA Number of Characters: =LEN ( H83 ) =LEN ( H84 ) REPEAT ExactMatch? ExactMatch? ExactMatch? exactmatch? TRUE FALSE COLUMNS USED FOR RESULT H I J RESULT

123456 SPACE

6 5

Repeat Characters: =REPT ( "-*", 5 ) CELL PADDING (IDEAL FOR LOADING CHARACTER LENGTH SENSITIVE DATA) Padding: =CONCATENATE ( ( REPT ( 0, ( 8 - LEN ( I94 )))), I94 ) RANDOM NUMBER GENERATOR Generates Random Factor Between 0 and 1: =RAND () Generates Random Number Between 1 and 100: =RANDBETWEEN ( 1, 100 ) TIME VALUE OF MONEY Net Present Value: =NPV( H105, J105:J107)+H106 Present Value: =PV (H109/12, J109*12, H110) Future Value: =FV ( H112/12, J112, H113 ) Payment: =PMT( H115/12, J115*12, H116) Internal Rate of Return: =IRR ( H119:J119 ) Effective Interest Rate: =EFFECT ( H121, J121 ) STATISTICS Standard Deviation: =STDEV ( H127:J127 ) CoVariance: =COVAR ( H129:H130, I129:I130 ) Variance (Sample Population): =VAR ( H132:J132 ) Variance (Entire Population): =VARP ( H134:J134 ) Probability - T-Test: =TTEST ( H136:H137, I136:I137, 2, 1 ) Probability - F-Test: =FTEST ( H139:H140, I139:I140 )
Nominal Rate: Discount Rate: Initial Inves, t=0:

-*-*-*-*-*

8210

00008210

0.077843 45 5.00% (40,000) 5.00%


$500 Yr 1 Return: Yr 2 Return: Yr 3 Return: Discount Rate: Years: $10,000

$15,000 $16,500 10

(2,617)

Monthly Payment: Interest Rate: Payment: Interest Rate: Future Value:

($47,141)
# of Payments:

8.00%
$500

12 ($6,225) 28 ($220)

3.00%
$50,000 Initial Cost: -$100,000

Years:

Income Yr 1: Income Yr 2: $50,000 Periods: $58,000

5.16% 5.37%

5.25%

1 1 2 1 1 1 3 1 3

2 2 4 2 2 4 7 4 7

1.000 0.500

3 3

1.000 0.667 0.090

0.749

Shahid Naseem

Superior University, Raiwind Road Lahore