Professional Documents
Culture Documents
Excel 2003 Tips N Tricks
Excel 2003 Tips N Tricks
D at h e e t as Copy righ t2008 P roph e tT ch nol s P y Ld e ogie t t I N 9 78-0-9 8049 22-0-0 SB T is w ork is l nce d unde r t e Cre at e Com m ons A t ribut h ice h iv t ion-Noncom m e rcial are -Sh A le 2.5 A ust ia L nse . T v w a copy oft is l nce , v ik ral ice o ie h ice isit h t p://cre at e com m ons.org/l nse s/by -nc-sa/2.5/au/ t iv ice or, (b) se nd a lt e r t Cre at e Com m ons, 171 2nd St e t Suit 300, San F e t o iv re , e rancisco, Cal if ornia, 9 4105, USA . Pe ase cont l actt e publ e r ify ou w ish t re q ue stal rnat e h ish o t e iv l nce arrange m e nt ice s. T cont o actt e aut or se nd e m ailo support m se xce l h h t @ 2003.com or w rit t e o P B 70, StL onards, NSW 159 0 A ust ia O ox e ral T rade m ark s Al l brand nam e s, productnam e s and re gist re d t e rade m ark s are ow ne d by t e ir h re spe ct e h ol rs. iv de T s'n T is a t rick ips rade m ark l nse d t P ice o roph e tT ch nol s P y Ld. M icrosof and e ogie t t t M icrosof Exce l t 2003 are e it e r re gist re d t h e rade m ark s or t rande m ark s oft e M icrosof h t Corporat ion. A dobe A crobatR e ade r are t rade m ark s ofA dobe Sy st m s e I ncorporat d. e R e f re nce s t com panie s and product in t is docum e ntare f t e purpose of e o s h or h il rat note ndorse m e nt T is w ork and t e aut or are notafil e d or e ndorse d l ust ion . h h h f iat by t e M icrosof Corporat h t ion. Not ofL ice iabily it T e inf h orm at in t is w ork is dist ion h ribut d on an " s-I basis, w it outw arrant . W h il e A s" h y e pre caut h as be e n t e n in t e pre parat oft is w ork , t e aut or sh al av no ion ak h ion h h h l e h l it t any pe rson or e nt y w it re spe ctt any l or dam age cause d or al ge d iabily o it h o oss l e t h av cause d dire cty or indire cty by t e inst o e l l h ruct ions cont aine d in t is w ork . h Use ofm one t ary f igure s in t is w ork is f il rat e purpose s onl and doe s not h or l ust iv y re pre se ntf inancial ice in any w ay . Nam e s in t is w ork are pure l f ional adv h y ict and use d f il rat e purpose s onl D e script or l ust iv y. ions ofbe t ing and gam bl are f t ing or il rat e purpose s and sh oul notbe re l d upon nor do t e y re pre se ntan l ust iv d ie h e ndorse m e ntofgam bl ing. A l xam pls prov d in t is w ork are com plt f ion. l e e ide h e e ict A l orm ul and cal at l f as cul ions de scribe d in t is w ork can notbe re l d on. h ie Vie w ing S ugge s t ion T is e lct h e ronic docum e nth as be e n de signe d f v w ing dire cty w it A dobe or ie l h A crobatR e ade r or print t an I A 5 size book lt ing o SO e . Cov r Ph ot Am at r ph ot t e n at t e s it of t e Th e T e le Apos t e s e o ue o ak h e h w v l l e d al ocat ong t e Gre at O ce an Road in Aus t ia. h ral
St p 1: Ent r t e f t t o ye ars of t e s e rie s e e h irs w h T cre at a s e rie s w e ne e d t t lExce l h at t e s e rie s is . In our e xam pl Ce lB3 o e o e l w h e l is 01/ 2000 and C3 is 01/ 2001 as s h ow n be l . Not t at t e ce l 01/ 01/ ow e h h l f orm at ing in t is e xam pl is s e t s o t at onl t e ye ar is s h ow n. t h e h y h
St p 2: Se lct t e ce l t at s h ow f t and s e cond e lm e nt of t e s e rie s e e h l h s irs e s h Cl -and-drag w it t e m ous e t s e lct ce l B3 and C3. ick h h o e l s
St p 3: Cl -and-drag t e b ot om -lf corne r of t e ce land drag t e ick h t e t h l o com plt t e s e rie s e e h Us e t e m ous e t cl -and-h ol t e bot om -lf corne r of ce lC3. h o ick d h t e t l Th e drag t e s e lct h e ion out unt G3. Th e s cre e n s h oul l s im il t be l . il d ook ar o ow
O nce t e s e rie s re gion is s e lct d t e n re las e t e m ous e but on. h e e h e h t Finis h : Exce l ilaut at w l om ical com plt t e s e rie s f t e s e lct l y e e h or h e ion.
St p 1: Pre s s t e Ct and ~ k e ys on t e k e yb oard at t e s am e t e t e h rl h h im o v w. ie P s s ing t e Ct and ~ k e ys s h ow s t e f re h rl h orm ul in e v ry ce lon t e w ork s h e e t ae e l h . Y are now abl t v w t e unde rl ou e o ie h ying l ogic of t is s pre ads h e e t h .
H el ping Not : In t is curre nt v w you can print t is page out t your print r e h ie h o e .
F f or inancial e curit w e w ant Exce lo h igh l t t e Ne t V ue (ce lC9 ) w h e n s y t igh h al l t e ne t v ue am ount drops be l $ h al ow 0.00. St p 1: Se lct t e ce lw e w ant t appl condit e e h l o y ional orm at ing t f t o
St p 5: Pre s s O K t acce pt t e condit e o h ions and condit ional lf ce l orm at ing t In t e F h orm at Ce l dial box, pre s s t e O K but on t acce pt t e condit l s og h t o h ional l ce l f orm at . In t e Condit h ional orm at ing dial box, pre s s t e O K but on appl t e F t og h t y h condit ions . L t us as s um e t at w e w e nt out s h opping t at day and s pe nt $ e h h 2,000 us ing Cre dit Card 1 and updat d ce lC6 t re fe ct t is ch ange . As you can s e e , t e Ne t V ue e l o l h h al h as droppe d be l $ and t e ce laut at l h igh l t t is . ow 0 h l om ical y igh s h
Norm al w e cal at t e v ue of a ce lbas e d on t e v ue in anot e r ce l f l y cul e h al l h al h l or , e xam pl m ul y a v ue by 4 and put t at ans w e r in anot e r ce l O ccas ional e t ipl al h h l . l y w e w ant t cal at t e v ue of a ce lonl if a ce rt o cul e h al l y ain crit ria is m e t e .
St p 1: Se lct e e t e ce lt at h lh w ilcont l ain t e condit h ional cal at cul ion (IF s t e m e nt at ). Cl on t e E10 ick h ce l l .
In t e P t F h as e unct ion dial box, s e lct L og e ogical f rom t e F h unct ion Cat gory and e IF f rom t e F h unct ion Nam e t e n pre s s t e O K but on. h h t
H el ping Not : Y can m ov t e h e l r box around t e s cre e n by cl -ande ou e h pe h ick dragging anyw h e re in t e gre y are a of t e box. h h Th e L ogical e s t f l de t rm ine s w h at s pe cial _t ie d e condit ions w e w ant t appl In o y. t is cas e , t e s pe cial h h condit ion is w h e n t e s ubt alie l (Ce lE9 ) is gre at r t an h ot f d l e h $ 100.00 (100).
In t e circum s t h ance s w h e re t e L h ogical e s t is T t e n t e V ue _if rue _t rue h h al _t f l is appl d. In t is cas e t e s ubt alie l (E9 ) e xce e ds $ ie d ie h h ot f d 100.00 (E9 =$ 270.40) so t e L h ogical e s t is t _t rue and w e w ant t appl a dis count of 10% t t e s ubt al o y o h ot am ount (f orm ul = -10% *E9 ). a In t e circum s t h ance s w h e re t e L h ogical e s t is F s e t e n t e V ue _if ale _t al h h al _f s f l is appl d. In our f ie d ie orm ul w e w ant a dis count of $ a 0.00 appl d w h e n t e ie h s ubt alie l (E9 ) is ls s t an or e q ualo $ ot f d e h t 100.00. P s s t e O K but on w h e n you are s at f d t at t e f re h t is ie h h orm ul is corre ct a . In our e xam pl t e s ubt al al is $ e h ot v ue 270.40, w h ich e xce e ds t e $ h 100.00 t re s h ol s o a 10% dis count is appl d. h d ie
If f s om e re as on w e de cide d not t orde r any Exe cut e Gif Se t (D 7=0) t e n or o iv t s h t e s ubt al s not e xce e d t e $ h ot doe h 100.00 t re s h ol and no dis count is appl d. h d ie
St p 1: Se lct t e ce lw e w ant Exce l o re t e e h l t urn t e num b e r of P h ASS m ark s in. Us e t e m ous e t cl on Ce lB15 t s e lct t e ce l h o ick l o e h l .
St p 3: Se lct t e CO UNTIF s t e m e nt f e e h at rom t e Pas t Funct h e ion s e lct e ion b ox. In t e P t F h as e unct ion dial box, s e lct St is t f og e at ical rom t e F h unct ion Cat gory e and CO UNTIF f rom t e F h unct ion Nam e t e n pre s s t e O K but on. h h t
H el ping Not : Y can m ov t e h e l r box around t e s cre e n by cl -ande ou e h pe h ick dragging anyw h e re in t e gre y are a of t e box. h h Th e Range f l de t rm ine s t e range of ce l Exce l ill t pe rf ie d e h l s w look o orm t e h count in. W e can e it e r us e t e m ous e t s e lct t e range or m anual t h h o e h l ype t e y h ce lre f re nce s dire ct y int t e t xt box. In our e xam pl t e ce lrange s t s at l e l o h e e h l art B4 and goe s dow n t B13. o
H el ping Not : Ce lrange s can be a s e lct e l e ion of ce l , a col n, row or box of l s um ce l , or a pre -de f d nam e d range . Ce lre f re nce s can be of any t l s ine l e ype incl uding re l iv (e g B4), abs ol e (e g $ 4), m ixe d re f re nce (e g B$ and nam e d. at e ut B$ e 4), Th e Crit ria is a condit e ional t e m e nt t at is s im il t t e condit s at h ar o h ional s t e m e nt in t e IF s t e m e nt In our cas e w e w ant t count t e num be r of ce l at h at . o h l s w it P h ASS in t e ide nt ie d range . Re m e m be r t at t xt f l are a s pe cial ort h if h e ie ds s of f l and ne e d t s t and e nd w it inv rt d com m as . ie d o art h e e P s s t e O K but on w h e n you are s at f d t at t e f re h t is ie h h orm ul is corre ct a . St p 5: Re pe at s t p 4 t count t e num b e r of f s . e e o h ail Se lct Ce lB16. e l Us e t e P t F h as e orm ul f a unct ion and s e lct St is t f e at ical rom t e f h unct ion cat gory e l t and CO UNTIF f is rom t e f h unct ion l t is . F l St p 4 abov m ak ing t e Range = B4:B13 and t e Crit ria = F . ol ow e e h h e AIL P s s t e O K but on w h e n you are s at f d t at t e f re h t is ie h h orm ul is corre ct a .
Finis h : Th e s pre ads h e e t now count t e num b e r of pas s e s and f s f s h ail rom t e lt h is . Th e s pre ads h e e t w ilnow l s im il t t e f l ook ar o h igure be l . ow
St p 3: Se lct t e SUM IF s t e m e nt f e e h at rom t e Pas t Funct h e ion s e lct e ion b ox. In t e P t F h as e unct ion dial box, s e lct M at & T og e h rig f rom t e F h unct ion Cat gory e and SUM IF f rom t e F h unct ion Nam e t e n pre s s t e O K but on. h h t
St p 4: Ent r t e re q uire d inf e e h orm at ion int t e Pas t Funct o h e ion h e l r pe . H el ping Not : Y can m ov t e h e l r box around t e s cre e n by cl -ande ou e h pe h ick dragging anyw h e re in t e gre y are a of t e box. h h Th e Range f l de t rm ine s t e range of ce l t at Exce l ile xam ine t as s e s s ie d e h l h s w l o t e crit ria. W e can e it e r us e t e m ous e t s e lct t e range or m anual t h e h h o e h l ype t e y h ce lre f re nce s dire ct y int t e t xt box. In our e xam pl t e range s t s at ce l l e l o h e e h art l F4 and goe s dow n t ce lF11. o l Th e Crit ria is a condit e ional t e m e nt t at is s im il t t e condit s at h ar o h ional s t e m e nt in t e IF s t e m e nt In our cas e w e w ant t s e lct albe t w h e re t e at h at . o e l s h t nnis pl r W on t e m at . In our e xam pl t e aye h ch e ype in W on int t e Crit ria t xt o h e e box. Th e Sum _range f l t l Exce l ie d e l s w h ich ce l t add l o s w h e n t e crit ria is h e m e t f e ach ce lin or l t e range . T put it h o in anot e r w ay, w e h w ant t add o t oge t e r t e h h pot nt w innings e ial (Col n D ) f um or e ach m at W on ch in Col n F In our um . e xam pl w e can e e it e r us e t e h h m ous e t s e lct o e t e range or h m anual t l ype in y D 4:D 11 int t e o h Sum _range t xt e box. P ss t e O K re h but on w h e n you t are s at f d t at is ie h te f h orm ul is a corre ct .
St p 5: Com plt t e s pre ads h e e t b y s um m ing t e am ount b e t e e e h h . Now t at w e k now h ow m uch w e h av w on on our be t e r w e w ant t com plt t e h e t o e e h s pre ads h e e t by s h ow ing h ow m uch m one y w e original be t l y .
St p 5a: Se lct e e t e ce lw h ich w e h l w ant t cal at o cul e t e t al e t ing h ot b t am ount Cl on Ce lB13 as ick l s h ow n be l . ow
St p 5b : Cl on t e Aut e ick h oSum b ut on t By cl ing on t e ick h Aut oSum but on you t can ge t M S-Exce lo t aut at l cal at om ical y cul e t e col n abov it h um e . Us e t is f h unct ion w it h caut ion and be s ure t o ch e ck t e range of ce l h l s it h as aut at l om ical y s e lct d. O nce you h av e e e conf e d t at t e irm h h range is accurat t e n e h pre s s t e Ent r k e y t h e o conf irm t e f h orm ul a.
Finis h : Th e s pre ads h e e t now aut at om ical cal at s t e w innings l y cul e h b as e d on t e m at re s ul . h ch t s Th e s pre ads h e e t w ilnow l am azingl s im il t t e f l ook y ar o h igure be l . ow
H ow do I h ide s om e of m y w ork s h e e t ? s
H id ing and Unh id ing W ork s h e e t s
Som e t e s it is us e f t h ide w ork s h e e t f im ulo s rom t e norm al pre ads h e e t v w . h s ie Com m onl w e h ide s h e e t t at cont y s h ain l up t e s , de f t v ue s and ook abl aul al cons t s t at w e w ant in a s e parat s pre ads h e e t but don w ant it t be print d ant h e t o e or v w e d in norm al e . ie us
St p 2: Se lct Form at |Sh e e t |H ide f e e rom t e m e nu. h Go t t e t of t e Exce l indow and cl on F o h op h w ick orm at and t e n h igh l t h igh Sh e e t w ait and t e n cl on t e H ide m e nu. , h ick h
Finis h : W ork s h e e t is now h idde n f rom norm al ie w . v Th e w ork s h e e t is now h idde n f rom v w . Any re f re nce s t t is w ork s h e e t w ils t l ie e o h l il w ork h ow e v r t e us e r w ilnot be abl t s e lct t e w ork s h e e t f e h l e o e h rom t e t h abs at t e bot om of t e w ork book . Y w ilh av t unh ide t e w ork s h e e t t be abl h t h ou l e o h o e t v w and m ak e ch ange s . o ie
Go t t e t of t e Exce l o h op h w indow and cl on ick F orm at t e n h igh l t , h igh Sh e e t w ait and t e n cl , h ick on t e Unh ide m e nu. h
St p 2: Se lct w ork s h e e t t unh ide . e e o Se lct t e w ork s h e e t nam e f e h rom t e Unh ide dial box. In our cas e w e w ant t h og o s e lct t e w ork s h e e t nam e d H ide W ork s h e e t Exam pl. e h e
P s s t e O K but on t unh ide t e w ork s h e e t re h t o h . Finis h : W ork s h e e t is now v ib l in t e norm al ie w . is e h v Th e w ork s h e e t can now be s e e n in t e norm al ie w and s e lct d us ing t e t h v e e h abs at t e bot om of t e w ork book . h t h
It is of e n us e f t cre at a s pre ads h e e t w h e re t e us e r s im pl e nt rs s om e t ulo e h y e inf orm at ion and Exce lh e n l s up t e re q uire d inf t ook h orm at ion and re t urns t e h re s ul t .
St p 1: Se lct t e Ce lyou w ant t e re s ul t b e in e e h l h t o Us e t e m ous e point r and cl on t e ce lw h e re you w ant t e re s ult be h e ick h l h t o s h ow n. Cl on Ce lC4. ick l
In t e P t h as e F unct ion dial og box, s e lct e L up & ook Re f re nce f e rom te F h unct ion Cat gory and e L O KUP f O rom te F h unct ion Nam e . P ss t e O K re h but on t conf t o irm your s e lct e ion.
St p 4: Se lct t e de s ire d L O K UP f e e h O unct ion f rom t e Se lct h e Argum e nt dial b ox. s og M icros of Exce l ilpre s e nt you w it a Se lct Argum e nt dial box. Th is is t w l h e s og be caus e t e L O KUP f h O unct ion can be us e d in dif e re nt w ays . W e ne e d t t lExce l f o e l h ow w e w ant t us e t e L O KUP f o h O unct ion s o it can pre s e nt us w it t e m os t h h us e f P t F ul as e unct ion h e l r f our ne e ds . pe or In our e xam pl w e w ant t s e lct t e t re e -argum e nt h e l r Cl on e o e h h pe . ick l up_v ue ,l up_v ct ook al ook e or,re s ul e ct t _v or row .
P s s t e O K but on t conf re h t o irm your s e lct e ion. St p 5: Ent r t e re q uire d inf e e h orm at ion int t e Pas t Funct o h e ion h e l r pe . H el ping Not : Y can m ov t e h e l r box around t e s cre e n by cl -ande ou e h pe h ick dragging anyw h e re in t e gre y are a of t e box. h h Th e L up_v ue de t rm ine s w h ich ce lExce l ill in t de t rm ine t e ook al e l w look o e h s e arch v ue . W e can e it e r us e t e m ous e t s e lct t e ce lor m anual t al h h o e h l l ype t e y h ce lre f re nce dire ct y int t e t xt box. Not t at t is is a s ingl ce l In our l e l o h e e h h e l . e xam pl w e w ant t us e t at l s re s ulce l(Ce lB4) as t e l up v ue . e o h ine t l l h ook al Th e L up_v ct ook e or is t e range of v ue s t at Exce l h al h com pare s t e h L up_v ue t W e al ays s t w it an { brack e t t e n t e l e s t num be r, ook al o. w art h , h h ow ne xt num be r, ne xt num be r unt w e re ach t e m inim um v ue of t e h igh e s t il h al h group, t e n e nd t e l t w it a } brack e t F our e xam pl w e e nt r h h is h . or e e { 0,0.5,0.75} int t e L up_v ct o h ook e or t xt box. e Th e re are a num be r of ruls t at t e L up f e h h ook unct ion us e s . Rul 1: In t e cas e s w h e re t e L up_v ue is s m al r t an t e l e s t v ue in e h h ook al l h e h ow al t e L up_v ct h ook e or, t e re s ulw ilby # N/ e rror. h t l A Rul 2: If an e xact m at is not m ade t e n t e re s ulw ilbe t e l e ch h h t l h arge s t v ue in al L up_v ct ook e or t at is ls s t an or e q ualo t e l up_v ue . h e h t h ook al H el ping Not : M icros of Exce l t s pe rce nt e t s ore age s as a de cim al (0.00) num be r . Exam pl re s ul of 0% t 100% e q uat t a de cim al e t s o e o range of 0.00 t 1.00. o
Th e Re s ul e ct t _v or is t e range of v ue s t at Exce l ill at t re t h al h w look o urn t e h re s ul If L up_v ue is t e s am e as t e t ird it m in t e L up_v ct t . ook al h h h e h ook e or l t is t e n Exce l ilre t h w l urn t e t ird it m in t e Re s ul e ct h h e h t _v or l t F our e xam pl, is . or e w e e nt r t e t re e grade s t at w ilbe re t e h h h l urne d, { F ,P s ,D is t ail as inct ion} .
St p 7: Copy t e e q uat e h ion t alt e re q uire d re s ul ce l . o lh t l s Us e t e m ous e and cl on Ce l h ick l C4 t s e lct t e e q uat o e h ion w e w ant t copy. o
Copy t e ce lby e it e r h l h M e t od 1) pre s s ing Ct and C at t e s am e t e , or h rl h im M e t od 2) pre s s ing t e copy but on h h t in t e t bar h ool .
Se lct t e range of ce l f e h l rom s C5 t C10. Y can do t is o ou h w it t e m ous e by cl -andh h ick h ol ding t e m ous e on ce lC5 h l and t e drag-and-re las e t e h e h m ous e ov r ce lC10. Th e e l s cre e n w ill s im il t look ar o f igure t t e righ t o h .
Now pas t t e ce linf e h l orm at ion int t e h igh l t d range . Y can do t is by o h igh e ou h e it e r h M e t od 1) pre s s ing Ct and Vat t e s am e t e , or h rl h im M e t od 2) pre s s ing t e pas t but on h h e t in t e t bar h ool .
Finis h : Th e s t andard w ilb e s h ow n as s oon as t e re s ul are e nt re d b y l h t s e t e us e r h . Th e s pre ads h e e t w ilnow l s im il t t e f l ook ar o h igure be l . ow
St p 1: Se lct t e f t ce lw h ich cont e e h irs l ains dat a F t e f e ze pane f or h re unct ion t w ork , you ne e d t t lM S-Exce l h at is a h e ading o o e l w and w h at is dat T do t is you m us t s e lct t e v ry f t ce lw h ich cont a. o h e h e irs l ains dat a in it Exce l s um e s t at e v ryt ing abov and t t e lf of it is a h e ading f t e . as h e h e o h e t or h t e. abl Cl on Ce lB5 as s h ow n be l . ick l ow
Finis h : Th e W ork s h e e t w ilnow h av b l l e ack l s s ignif ine ying t e l h ocat ion of t e h e ading h Th e row and col n h e adings are now f um roze n. Th is al s t e us e r t s crolalt e l ow h o l lh w ay t t e righ t and alt e w ay dow n t e bot om of t e t e and be s t l e t o h lh h t h abl ilabl o v w t e re s ource nam e s and w e e k s w ork e d. ie h
H el ping Not : If you w ant t unf e ze t e col ns and row h e adings t e n go t e o re h um h o W indow |UnF e ze P re ane s . Th is w ilt e t e t e back t it de f t s t e . lak h abl o s aul at H el ping Not : Y can f e ze j t t e t row s by s e lct e ou re us h op e ing t e f t row w it dat h irs h a in it and t e n us ing t e f e ze f h h re unct ion. Th is m e t od doe s not f e ze and h re col ns . Th e s am e principl can be us e d t f e ze col ns but not row s . um e o re um
Se lct t e col you w ant t ch ange t e e h our o h w ork s h e e t t t on t e F ab o h orm at T Col ab or dial box (s h ow n be l ). In t is e xam pl, og ow h e w e w ant t e t t be gol in col . h ab o d our
Finis h : Th e W ork s h e e t t ab is now t e col h oure d Col oure d w ork s h e e t t abs l dif e re nt de pe nding on t e ir s e lct ook f h e ion s t e . Th e s e at t o l s are s h ow n be l . w ook ow Se lct d W ork s h e e t T V w : e e ab ie