LookupOrder IdUnit Price QtyRevenue
14615230527841511760330482432454973843549541980699320198607509189162834212410494231563451047011517011859191632112608636481395161520146657465515882435281628661716179831817694183505175019729118019203486208821264513202244452220232402048002426812321625949131233726111777727177117728340827202945312543630822131068631968987123213945563315981272348881513320356752135036771969393753014742038635116985398361191964093655841694201388042443198417435717969448391815102455761586404693487472476151811070482232446499331110263509162018320514442088805279217925373610736054934328025543611479656539147546572822056405881919155615982181476602301943706144915673562707117777638806528064663213266549716795266790863206743113560368122172074695011575157043273024719651965725464218473978131271474890980107596765802768641195047724681968784031248367940518729080634252818061411284829721817496833409306084169162704852195109586883108830871051818908862162895852117090293154395916241710608921811323539321712260494932161491295699151048596165101650972971647529897254860997041177441007241611584101349310471022641436961033511138611045031050301059839884710663214884810798254910108490734301095885294011064717109991117619684911217158551133782756114893544651152636157811655594995117606148484118532126384119649106490120623148722121753225122426142612315418277212423119438912596654830126679138827127439287812842412508812958442336130932151398013154418979213277919148011336341595101348031188331358074322813643611479613735641424138246249213961321226140149229814145562730142703170314369242768144414197866145639138307146522946981473977277914810415156014993921878150347134715196821936152219163504153156231215455315531555451898101566111591651574111665761583644145615986114120541604401044001613202064001628939803716358216931216426792403165262153930166727141017816717961074168875543751698810880170300260017137762262172591710031739421816956174997769791756541065401766861913034177579179843178802129624179338134394180656390181802016001827318131418335113511842561846081859371413118186799151198518712191089188263164208189502189036190175142450191823541151927115106519378821576194766201532019596616154561968425421019770920141801985391791631993111031102005975298520178216125122023431343203504157560204318185724205533126396206773118503207831310792084036241820925715385521069232076211634744382127673230121397913127272142057143521583520167002169882197621737110371021851831554219798632220396135148221921191749922232282576223822171397422493410934022599087920226864181555222772010720022847513617522936017612023010322062318994359623295721914233681149534234356196764235483296623653663216237351270223883649823958519111152401656990241684138892242657165724346616745624459374151245525947252465371537247984191869624823419444624964595805250772151158025137013481025233241328253686961742545152010300255536158040256860161376025798318176942581561015602596801711560260592317762615644225626227112325226343413564226432113417326518011198026650894572267912545602686186370826988711975727058720117402711599143127291198199273698171186627416818302427578397047276865977852772311841582783441344279133192527280606127272281525157875282574528702836357444528481017137702853314132428659111650128784316134882888226493228913813179429085932577291158142212292715161144029338327662946171592552955461910374296875435297467177939298799191518129997132913300635159525301605148470302552738643035442108830468519130153051571523553069731413622307757118327308840151260030925812583104421670723112505125031232882624313975181755031416712200431583129963169452189031758352915318831411623194282085603205019950321519736333225717399732367985432324616127392325937111030732641972933327839867123282071020703295134205233072119136993311032206332394176698333100191900334966141352433588012105603361621524303373348267233871411785433929012348034038817659634131572205342354931863433751867503442476148234549920998034685243408347337134381348680181224034928761722350132192508351195132535352305133965353613116743354374134862355423833843563381338357420156300358450177650359257194883360572158580361102131326362198112178363716161145636486886944365986988743664891783133672602052003687361913984369460836803707381611808371229143206372458145837387476118374179111969375352621123767111611376377786141100437828316452837965053250380399197581381887616382224143136383385623103848531411942385572114386747644823876571385413883761452643891297903390500105000391340124080392752191428839378816126083943546212439539513513539658052900397418833443981052210399398187164400650201300040149811547840266295958403107885640434251710405641117051406665853204078731412222408254376240928641144410640191216041110133034123389304241332082560414832758244157288582441695776699417541154141895813124544196411276924209571957421389124668422693207423390124680424679138827425143342942658015870042771611787642829612964293783113443010813140443195111104614327121392564336348507243474975243435380138043610417176843755873906438568156843999141386440104121248441856185644263512762044345729144442151838704454225211044667819128824473254130044891743668449254615244509922198445119123824522112042204537081712036454893435724558023240645645617775245792118165784585381053804597198575246076161216461535632104623005150046355821116464876121051246568185448466915171555546725937774688072161446952131563470419729334719741514610472648212964733831765114744521776844756491597354763101031004771061515904784821482479631634805401686404818421915998482565116215483950141330048469020138004856221487084863781349144874612092204885137359148913910139049018959454912201022004927492014980493282205640494642138346495763141068249692465544497460732204981951529254997320146050092315138455013658292050293987512503454156810504757118327505673960575061711423945075031260365086761510140509929109290510784970565116221911818512947171609951363117107275148031411242515476419045163111237325178282165651891191729519157132041520416177072521761813685221011212125239632019260524660852805257611914459526667171133952771953595528608212165291944776530316263253156414789653273218131765333339299753479297128535507150753678115117155379436565853876430453944617758254087616140165417191812942542903141264254393554675544442135746545351270254690821816547973181751454838318689454912278545508572017140551824191565655214457205539887691655444773129555277164432556698748865579041904558413141355914814207256018911207956167020134005628471714399563617138021564507350565120672056613910139056766915100355681061718025699191311947570671533555712788222457217318311457365417111185744111145215751731831145768704348057716281296578609212185795131051305804401252805814131249565824616276658357415861058435851790585980171666058677620155205877921915048588817540855896522013040590238371459125413330259287212104645936881068805946321811376595374114114596685641105976575328559882686608599296185328600539126468601553211066021455725603932874566048791513185605564633846065318954607921141289460873953695609216243261072642904611978161564861270217119346138013240361446415696061513020260061619912238861771132133618696320886199697678362014717249962164731941622969767836239321614912624900161440062547994311626949328476271671830066286103183062931913414763039241568631534189612632980439206336871282446345901164906353091237086364671467637177203540638796647766392136127864070114981464138819737264214822966432501640006445925296064569219131486461984792647656319686484122824649266164256650881191673965124992241652612636726533958316065436931107655290823206567533225965710112121265884021680659333133366063614890466174553725662206204120663520126240664878696665172183096666821181477866732310323066846216739266919912238867029312936719295464567273142924673149152235674882191675867525620512067621224246779004360067850618910867947362838680224112464681503150368260863648683122101220684835758456857856471068629416470468764115961568882913107776895714798690283102830691209483669265616566932301841406944427309469550773549696769161230469799812119766988719165369946516744070084112100927013118248870297117165077035782115670439627927059037632170658529070758518105307089241092407098491916131710406936547112102042007127041070407139051917195714898653887155141514716498734867179431816974718904151356071950384024720441135733721712139256722361725277236211710557724234133042725332103320726597847767278761815768728609742637299178733673096910969073159921198732607201214073397687808734149121788735812216247366887481673758320116607384321773447392731273740861325837418301083007423428273674366311729374443616697674589287136746504210087477271410178748143228674981421628750270513507518732174675256415647536764027548512017020755964141349675613845527578166489675830713077593696221476059821196761839183976244912538876363353165764932218647658808704076673685888767853131108976824415366076915818284477031541260771930874407722801439207732271636327744663139877582612991277626012607779881110868778594529707798091612944780806141128478153552675782637441783169610147846495324578530117511778655615834078738911427978876117617892392047807909798737919051905792685191301579342515637579446729347951762352796652171108479789189798857191628379986186800913191734780147383784802433187794803209362780493876566805366196954806313721918077771612432808515420608099151917385810606106060811925546258121191416668137037492181499549581521111232181655020110008175652808182391740638195911270928208751196258219206552082236310363082352721054824232184176825177203540826423156345827237494882876213990682949516792083020948368317486448883285818154448335763428344144165683564831944836369165904837192101920838543189774839334723388408521311076841809161294484215619296484394617160828446012720845836191588484667214940884775215084841317702184981111892185042213548685174112889285271914100668532041938768543062612855216163456856683534158574512902858452313568598554258605361475048615771810386862956121147286311115166586487615131408656051378658665112010220867649161038486886320172608692751849508706825341087140052000872675171147587337319708787495798613875396831688765331579958776351169858788019152087945762742880447417888819401816920882484104840883920201840088498132943885456209120886826141156488716871176888606424248895942011880890877978938916651066508925201578008933555177589419459708953541354896455115005897867131127189880013104008999254370090056463384901659165990255931677903252184536904858760069056401610240906753215069075331474629081721627529098441084409104501463009119051199559128419159691310955459142201635209157601076009169509855091732714457891829220584091938951945920740214809215054202092265810658092392141288924240122880925750141050092644141764927990181782092854421088929824129888930842161347293118911207993274318133749331402028009342301023009356558524093658019110209371352270938837121004493992643704940593529659412128169694231413408294375411829494417211729455891482469467817894739111430194855210552094983911922995012115181595195787656952610169760953157121884954624162495573312879695659495346957449208980958153576595992314129229602531230369613735186596293218696333951695964933437329655121787049663251445509673221238649684411252929698718156697090865448971727643629726851495909733147219897419911999751621219449769721211664977840161344097833713438197915917270398010516168098161911680998263485072983939218789848121629854794191698639013507098767138719881841184989760201520099053873766991338827049922801953209933877270999444162646995169172873996403124836997812324369985087355699991310913010006591912521
HLookupOrder
Id1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000Unit
Price
46178430454949599350934242347085960895665882286983350729348264444240268949111177340453822968139159888675771530635836936944435783957693461522393391644479273693443653928281982230449707880663497790431122501432965546978890967864246403405638069723401692198831056258529362418121793269916529797270472434926435150398363298249058864776117137889326355560653264962375426154231966679439424584932544779634803807436356246613149455703692414639522397104939347968219156553545611411364861440320893582267262727179875883003775994299765468657980233865807335125693779912126350217582371788766966842709539311597782343504318533773834032576926347679792058359883715187939692132282293499086472047536010389995768135648353635183585165684657466593525537984234645772370332686515536860983156680592564271434321180508912618887587159911698168783865231344133606525574635810331591843822138859158715383617546874677999716356055525446851579737578402584422503289751678394558383428505195716796169374198392075137211033941009668801623347142903883153543752474998523376802871321953056133744233384204502575721021987168689864892607364607382294588741793527117862836503998822438585357747657376129500340752788354395580418105398650498662107342641665873254286640101338320832728957541958641957389693906791435807162963781089517126347493801045585689910485663545721542267832591725499219121170889380245692153871976535300558876681915259807521419974648383452649310106482635408425659506906223784615131391892207492826427639244601957392336593945475767317150367692978462294763180347631182891157416761019636607616677196081943165647323337925077819437644687671990393544235190897338312285782414498844727769890441314818967084761750120139669106919671278173654411173870162609513440413461574358980776792817652238254872688632374685657826296539553145932879564539217392167269787028014641301997116969691476479699329004799491676103193925349806875903094671777962137013881482505926921986564122668812496123953692907531018403336367452065208717282132346219929392973114988225621290050647322450360812283578529464182957283209656230442507769998874658413119715783969035858592484940621070490589851449894390450344171236162123433259787660991796959960797614981268858343227386183034266343689250472714381427087356467851964138816307369598839449633932880736853244158315930280227466826260988594809806535631696493015563897612399790568542546717665289857869134734332099383663137775159156069251197039921155056239591875920363527232177423237762495209748858574146483691925433348528091569466083667275413811422741719204306216683451452855365779561118766055116498632756824006753739573965336358045744794048492098145682616860659487766552035519435445586780092556465955925285864075353317284445090584109220760950327292389740505658922407504419905448248421897431402306555801358379265932123147541725897839155283912195761015762473359444915392325337393339933512325322441879087276853141991629728403371591056196349398147939067184760538338280387441169403812508913659Qty5158742018121511196167461851165520121371812139481529141111620191718158182112020110311142019181915116216813171571413961181218414189165101812151713121615101651116314111091457517952569141210143118195132124151819151141142226141913971521216211815164141020916915146510261718710191712136201811814159161814515220165201710516115181211136153731372021038131981710818101317242141926261961311679119199151349201516181017341213131195611209917189918119121557174111661331416215195171931514721915141115116581812122514201977812117810419217191412158111217791862041318619131311138115171915131116891720198161417116161416519714614261314710121916613582182011985118143419398787113121123121331511131311138711771141211221851944622201743171810816652128173237152171715101511161911142014132071051020201314671520158815119141215109191717144122191317181220819175242141899115641716181451322181872019577167111411201713761015171358181711184821012126155172019520313121018116581812258156181452416173152012337173716169318313418412111212066141921651943216199683831221145201281818101612154151920241861116107616151314104118771612191612817227518101992010196171815813137171310818781022081227201713108111682142252162014461621125288131518481416312111516145765171511120911915221711911981837197164191051475112051712116102182015413164618643161018713161917121914217111312141921652351418121515132016201855171998151119641810203201474209101555111131346131871621416101411195161091420524101412144182121611182010819212458131111411110111581612112920514125254171412121866147112121613171611822413131207819761712371019Revenue
2305117602432384319801986091624104634551701632136481520465535281716176941750801920881320222048003216123377771772720543610686871255612721332013506939742069859196558138808417969151028640747211070446102631832088807927360280247967546564015561147643706735777752801326795263205603207475153024965218412714801058029504196848367290252112841749630602704109588301890621170439510608235326041491210485165047524860774411584104736963861503088478848491034302940109996849855756446515784995848463846490872222542627724389483088278785088233613980979214801951088333228479614244921226298273070327687866830746982779156018783471936350431255398109165657614561205444006400803793122403393010178107443758806002262100316956697965401303498439624439439016001314351460813118119851089420890362450411510651576153201545642101418091633110298512512343756057246396850310792418385520764438230112727143516700197637101554632514817499257613974934079201555272006175612020635961914953467649663216702498111159908892657745641514725537186964446580511580481013286174103008040137601769415601156017762256325256424173198045724560370897571174014318199118663024704777854158344252772727875287044451377013246501134884932179425772212114407669255103744357939151812913952584703864108813015235513622832712600258707212502624175502004996189029151162856095036333997543273921030729336712207020521369920666981900135241056024302672785434806596220531866750148299803408438112240172225082535396567434862338433863007650488385801326217811456694488748313520013984368011808320645861181969211211376110044528325075816163136231011942114448285415264903500040801428812608212451352900334421071641300054785958856171070515320122227621144121603033042256058245824669954112454769295746682074680882742987007876296113414041046192565072524338017683906568138612488567620914387021101288213003668152419843824220120363572240677521657853805752121632101500111610512544815555777161415632933146101296651176849735310015904826386401599862151330013800870849149220359113909452200149805640834610682554432202925146013845292075126810832760572394603610140929070561181816099107271124219043732165617292041707213681212192605280144591133935951216776632789613176299771285071171556583047582140161294212642467557467021816175146894854171401565672069163129443248869044132072207913400143998021350720139010035180211947335522243114111184521311434801296121851305280495627668610179016660155201504840851304071433021046468801137641144110328566085328646811067257456131853384954128943695432290415648119342403696026002388213320886783249919416783149121440043112847300618304147156896123920824464903708467354047761278981473722964000296013148792196882442561673922413672316011072320225912121680333890437254120624069630961477832307392238829346452924223516758512042436009108283824645033648122058454710470496151077779828308366564140309435491230411976165374401009224881650711567926321290105309240161313654420070401719553885143486169741356040245733925625271055730423320477615768426373369690119812140780817881624481611660734427325838300273672936976713610081017828616281350174656440217020134965524896307221411968395388316518647040588811089366028441260744039203632139899122601086829701294411284267544110143245511783404279761478087390513015637593435211084891628386173473784779462765666954219112432206017385606046251666492149523211100028040637092962555203630105441763540634594899067920836448815444342165619445904192097742338110761294429641608272015884940815070218921548688921006638766123456341590213564257504103861147216651314078651022010384172604950341020001147570878613316879956985152027421788169204840184002943912011564117624241188078936650780017759703545005112711040037003384659167745366006102401506746227528440630099551596545352076008550457858401945148020206580128828801050017641782010889888134722079133742800230052401102027010044370429651696408282941728246784301552092291815765697601884624879653468980765129223036186518616953732870445503864529215665448436295902198199194411664134404381270316806809507218781621916507087118415200376627045320270926462873483624363556913012521
VLookup Lookup: VLOOKUP
Syntax:=VLOOKUP(lookup-value, table, column number)
ScoreGrade0FVivek's score is: 7450C+75B+Vivek's grade is
C+.100A+
What happens if the table isn't configured properly?
The first column should be sorted in ascending order.So the
table here won't work properly with VLOOKUP.
ScoreGrade100A+Vivek's score is:5075B+Vivek's grade
is:ERROR:#N/A50C+Vivek's grade is:C+0F
Either sort the table, or use an additional parameter with
theVLOOKUP command: =VLOOKUP(H35, C35:D38, 2, FALSE).If you use
this format of the command, VLOOKUP will returnan exact match, or
if no exact match is available, #N/A.
Alphabetic values can be used in the first column (not just
numeric).
GradeScoreA100Vivek's grade is:AB75C50The corresponding score
is:100D25
The HLOOKUP command works in the same way, but using the
firstrow as the source of the lookup value.
Score05075100GradeFC+B+A+
Vivek's score is:85Vivek's grade is:B+
VLookup-1ID
CODESalaryExperience45856827188272302909993655663314639128508952972647981171541349427033317893910SalaryExperience4950570985323155620154117410461901651121281615888391520143706693283944631675150854104338092712090224596545771141494847659089055531562015412355333740615919405925479271788438116883825686975191269637368813403644626515652755443491564462762909768135109295431702614087120641622061700321054636987613598652972719046414404075491722303157816494195399283277667318770232142399101968432862867501121211263921259414936882205003271602266841312138800466395645893340894642981312602548968487140354135629192194357282911026216045876053307853912161435949112828257980188216302795342931412080320
Vlookup-2
234567TVRadiosIpodsCD'sComputersPrintersTom9698512Dick10127688Harry12511656Wendy1111129109Charlene699566Juli612511117Jami861181211Vivian10711898Christina86686113275Units
soldSalespersonRadioTVPrinterCD'sTom
VLookup-3ModelYearValueBlazer1995Blazer1995$10,398.001993Blazer1999Blazer1999$19,612.001993Envoy1995Envoy1995$13,279.001995Envoy2001Envoy2001$14,475.001995Escalade1995Escalade1995$13,630.001995Escalade1997Escalade1997$12,137.001995Explorer1993Explorer1993$17,502.001997Explorer1998Explorer1998$15,694.001998Highlander1993Highlander1993$16,848.001999Highlander1999Highlander1999$11,842.001999Navigator1995Navigator1995$19,556.002001Navigator2001Navigator2001$14,155.002001ModelYearValueExplorer1998=Vlookup(
This gives the model, year, and price for each of a series of
cars. Set up formulas that enable you to enter the model and year
of a car, and return its car price.
Vlookup-4TransactionGross SalesDiscount (%)Discount ($)Net
SalesDiscount schedule1$13,130.00$0.00At
leastDiscount2$6,800.00$0.00$00%3$10,870.00$0.00$4,0003%4$8,780.00$0.00$8,0004%5$15,860.00$0.00$12,0005%6$11,970.00$0.00$16,0006%7$9,990.00$0.008$11,150.00$0.009$15,660.00$0.0010$4,000.00$0.0011$10,390.00$0.0012$9,710.00$0.0013$9,260.00$0.0014$13,470.00$0.0015$8,460.00$0.0016$8,920.00$0.0017$10,690.00$0.0018$5,080.00$0.0019$9,620.00$0.0020$7,060.00$0.00
Column C indicates the way the VLOOKUP function is used most
often. The value in column B is compared to the left column of the
lookup table to find the first entry less than or equal to the
column B value. Then the corresponding percent is recorded in
column C. There are four points to note:
1. If the value in column B is exactly equal to a value in
column G (as for the 10th transaction), that percent is returned.
(In this case, 3% is returned.) But most cases are approximate
matches. For example, the second transaction is between $4,000 and
$8,000, so the percent corresponding to $4,000 is returned.
2. The fact that we are willing to accept an approximate match
is signalled by the last argument TRUE in the VLOOKUP function. In
this case, the last argument can be omitted. (It is TRUE by
default.) If we want to use approximate matches, the lookup table
must be sorted in ascending order on the left column.
3. The comparison in a lookup is always between the first
argument and the left column of the lookup table. But the value
returned is determined by the third argument. In this case it is 2,
meaning the second column of the table.
4. We often want to copy down, as we have here. In this case,
the reference to the lookup table should be absolute. For this
reason, we often range-name the lookup table. (Range name
references are always absolute.)
Vlookup-5StudentScoreGradeGrade pointsGrade lookup
tableGradepoint
lookup1880FF0.027360D-D-0.737663DD1.049367D+D+1.357270C-C-1.766473CC2.078777C+C+2.388380B-B-2.796383BB3.0105987B+B+3.3117190A-A-3.7129295AA4.013681490156316771762189719832081
Here is another typical use of VLOOKUP. The lookup table in
columns G and H is the "straight scale." For example, if a
student's score is at least 73 but less than 77, that student gets
a C. We use a VLOOKUP function in column C, with last argument TRUE
(approximate match) to get the grade. Once we have the grade in
column C, we can use another VLOOKUP function in column D to get
the corresponding gradepoint from the second lookup table in
columns J and K.
There are two things to note about this second VLOOKUP
function.
1. It has last argument FALSE, meaning that we want an exact
match, such as a C- to a C-.
2. Because we are looking for an exact match, the lookup table
does not need to be sorted in ascending order on the left column.
If you sort on column J, the lookup table will change, but the
values in column D won't change; they will still be correct. In
contrast, if you change the sort order in column G (Z-A, say), the
values in column C will no longer be correct. Try it out.
IFFor each product, if the end inventory is less than or equal
to 50 units,enough units are ordered to bring stock back up to 200;
otherwise, nounits of that product are ordered
ProductEnd inventoryOrder placed (yes or no)?# of units
ordered1100no0240yes160320yes180470no0
Each student gets an A (if score is 90 or above), S for
satisfactory (if scoreis 60 or above but less than 90) or U for
unsatisfactory if score is below 60
StudentScoreGradeGrade170S295A355U480S560S690A
Investor sells stock only if its price has gone up three
consecutive days(including the current day)Sell?DayPrice changeSell
(yes or no)?1Up2Down3UpNo4UpNo5UpYes6DownNo
Any student who scores at least 95 on any of the exams gets a
bonuswhich is 1% of their total score.
StudentExam 1Exam 2Exam 3Exam
4BonusBonus18783838002777274973.23809579753.294828796883.5357894817906758380720
I.Tax using IfTaxable Income500000
Tax SlabsTax rateAppl AmtBalanceTax00000 -
2000000%000000160000160000200001 -
50000010%0160001500000340000500001 -
100000020%0500001800000300000>
100000030%0800001100000000009999200000Tax on Income0
ConcatenateAmpersandCONCATENATEBobEJonesAmpersandCONCATENATEStephenCDavisBob
E. JonesBob E. JonesAndyTThompsonStephen C. DavisStephen C.
DavisJohnFWilsonAndy T. ThompsonAndy T.
ThompsonKathyCFredericksJohn F. WilsonJohn F.
WilsonKarenDWilliamsKathy C. FredericksKathy C.
FredericksTomTSmithKaren D. WilliamsKaren D.
WilliamsPeterFJenningsTom T. SmithTom T. SmithTedRBensonPeter F.
JenningsPeter F. JenningsJasonESamsonTed R. BensonTed R.
BensonJason E. SamsonJason E. Samson
leftfind spacenumber soldas value178 Napoleon (piece)126
Chocolate clair141 Caramel clair113 Vanilla clair166 Petits fours,
per 12115 Fresh fruit tart--berry126 Fresh fruit tart--tropical142
Orange-passion flan113 Pear Charlotte37 Raspberry Charlotte199
Pralin torte10 Sacher torte124 Opra torte161 Tahiti (vanilla-rum)
cake
The Excel Find function enables us to find the first space. The
syntax of the FIND function is FIND(text to find, cell to find
text, starting character). The text to find must be enclosed in " "
if it is not a number. Enter in cell F3 the formula =FIND(" ",E3,1)
finds the 1st space (starting with character 1) in E3. This
function returns a value 4, because the first space in cell E3 is
the 4th character. Copying this formula down to the cell range
F4:F16 finds the first space in column E corresponding to each type
of cake.
Entering the formula =LEFT(E3,F3-1) into cell G3 extracts the
left hand most characters (4 - 1 = 3) to cell G3. Copying this
formula down to the cell range G4:G16 extracts the number sold of
each type of cake to column G.
Entering in cell H3 the formula =VALUE(G3) will convert the text
in cell G3 into a number. Copying this formula down to H4:H16
ensures that each product's sales are now entered in column H as a
number, not text.
namesNamefind spacelengthLast NameTricia LopezWill WongJack
SprattVivian HibbitsJose GomezApril ChouTanya WaltersJames
Jones
Entering the formula =FIND(" ",D7,1) finds the location of the
space (7th character) in Tricia Lopez. Copying this formula down to
E8:E14 locates the space between each person's first and last
name.
Entering the formula =LEN(D7) in cell F7 computes the number of
characters (12) in the name Tricia Lopez. Copying this formula down
to F8:F14 computes the number of characters in each person's
name.
Entering the formula =RIGHT(D7,F7-E7) in cell G7 enters the
employee's last name (Lopez) in cell G7. Note that F7-E7 computes
the number of characters in the cell less the location of the
space. This yields the number of characters in the person's last
name. Copying this formula down to G8:G14 enters each person's last
name in column G.
middleFull NameFirst space2nd spaceMiddle NameTricia Ann
LopezWill J. WongJack Hubbard SprattVivian June HibbitsJose Simon
GomezApril Sue ChouTanya Janet Walters James Jason Jones
Entering the formula =FIND(" ",D7,1) in cell E7 finds the
position of the first space in Tricia Ann Lopez's name. Then
entering the formula =FIND(" ",D7,E7+1) in cell F7 will locate the
2nd space in her name. Note this works because we start one
position (E7+1) after the first space. Now select the cell range
E7:F7 and position your cursor over the lower right-hand portion of
cell F7. Double-clicking the left mouse now painlessly copies our
formulas in E7:F7 down to E8:F14!
Enter the formula =MID(D7,E7+1,F7-E7-1) in cell G7 to start one
character after the first space in cell E7 and extract all
characters between the first and second space in cell D7 to cell
G7. Then copy this formula down to the cell range G8:G14. We now
have extracted each person's middle name to Column G.
Text to columnsFull
NameFirstLastMiddle606,360,516,1757,371Tricia Ann
Lopez1631,1337,1260,1855,2823Will J. Wong904,749,486,1852,1612Jack
Hubbard Spratt2463,1324,1889,2597,312Vivian June
Hibbits1256,1839,1745,244,1508Jose Simon
Gomez2159,2917,1699,1351,974April Sue
Chou1084,2379,1791,1933,507Tanya Janet Walters
1686,2454,1954,256,1068James Jason
Jones1274,2330,2334,343,255303,2128,578,824,17142989,2317,2196,642,28121743,2122,2428,871,27012817,2330,1217,407,327894,1893,1963,1641,25332747,1952,243,2832,1487358,2674,1660,1006,12491032,939,2172,2112,3472639,2489,2905,412,2877730,696,639,454,15911774,2506,2690,2498,24072406,493,1457,1317,29931359,894,2281,2454,12392847,1432,381,1518,9411597,313,1231,596,7022838,2547,846,868,17532049,558,201,1034,3511395,1314,1004,489,2752628,2596,1901,2114,3811439,1574,2318,277,1202918,2177,621,1777,2106867,2906,2844,2173,13702314,236,1387,1586,11061316,1475,1791,1494,24051006,795,1804,861,979
emailFirstMiddleLastemail
addressTriciaAnnLopezWillJ.WongJackHubbardSprattVivianJuneHibbitsJoseSimonGomezAprilSueChouTanyaJanetWaltersJamesJasonJones`
Text-1Product IDPriceProduct
DescriptionConcatenation32592100AFES CONTROLLERPENTIUM/100,(2)1GB H
304.00 32592100JCP9 DESKTOP UNIT 225.00 325927008990 DESKTOP
WINDOWS NT 4.0 SERVER 232.00 325926008990 DESKTOP WINDOWS NT 4.0
WKST 232.00 325921008990 DESKTOP, DOS OS 232.00 325922008990
DESKTOP, WINDOWS DESKTOP OS 232.00 325925008990 DESKTOP, WINDOWS NT
OS 232.00 325930008990 MINITOWER, NO OS 232.00 32593000KEYY MINI
TOWER 232.00