How to add a drop down list to an Excel cell - TechRepublic

文章推薦指數: 80 %
投票人數:10人

RECOMMENDED FOR YOU · Create the data validation list in cells A1:A4. · Select cell E4. · Choose Data Validation from the Data ribbon menu. · Choose ... by SusanHarkins | JasonHiner in MicrosoftOffice , in Software onOctober5,2020,8:31AMPST Dropdownlistscangreatlyfacilitatedataentry.Here'salookathowtouseMicrosoftExcel'sdatavalidationfeaturetocreatehandylistswithinyourworksheets. Video:HowtoaddadropdownlisttoacellinMicrosoftExcel WatchNow AnExceldropdownlistordropdownmenucanmakeiteasierfortheaverageMicrosoftExcelusertoenterdataonaworksheetorworkbook.Usingadropdownmenuinwebforms,surveys,orpollscanlimittheentrychoicesforaselectedcell,speedingdataentryandreducingdataentryerror.InthisExceltip,we'llshowyouaquickandeasywaytocreateadropdownlistordropdownmenuusingthespreadsheetapplication'sDataValidationfeature.TocreateadropdownlistinExcel,youneedtwothings:Alistofvalues(containedwithinacellrange)andablankcelltouseasthedataentrycell.FigureAshowsasimpledropdownlistinanExcelsheet.Tousethedropdownmenushownhere,someonewouldplacethecursorovertheblank,data-entrycell(E4inthisexample)andclickadropdownarrowtodisplaythelistofvaluesshowninthecellrangeA1:A4.Ifausertriestoentersomethingthatisn'tanitemwithinthatlistofvalues,Excelrejectstheentry.YoucanfollowalongwiththestepsinthistipbycreatinganewsheetwithdatasimilartotheoneshowninFigureA,downloadingourdemonstration.xlsxand.xlsfiles,orusingyourownworksheetanddata. FigureAToaddthedropdownlistinourexampletoanExcelsheet,dothefollowing:CreatethedatavalidationlistincellsA1:A4.Similarly,youcanentertheitemsinasinglerow,suchasA1:D1.SelectcellE4.(Youcanpositionthedropdownlistinmostanycellorevenmultiplecells.)ChooseDataValidationfromtheDataribbonmenu.ChooseListfromtheAllowoption'sdropdownlist.(See,they'reeverywhere.)ClicktheSourcecontrolboxanddragthecursortohighlightthecellsA1:A4.Alternately,simplyenterthereference(=$A$1:$A$4).MakesuretheIn-celldropdownoptionischecked.Ifyouuncheckthisoption,Excelstillforcesuserstoenteronlylistvalues(A1:A4),butitwon'tpresentadropdownlist.ClickOK.SEE: Howtocreateadrop-downlistinGoogleSheets(TechRepublic)YoucanaddthedropdownlisttomultipleExcelcells.Selecttherangeofdatainputcells(step2)insteadofasingleExcelcell.ItevenworksfornoncontiguousExcelcells.HolddowntheShiftkeywhileyouclicktheappropriateExcelcells.Afewquicknotes:YoucanonlyseethedropdownboxifyouclickontheExcelcellusedfordataentry.Youruserscannowonlychooseoneoftheoptionsinthedropdown.Iftheytrytoentertheirowndata,thenthey'llreceiveanerrormessage.Youcancopy-and-pastethisdropdowncelltoanyotherExcelcellsinyourspreadsheet,andyoucancreateasmanydifferentdropdownslikethisasyou'dlike.SEE:10Exceltime-saversyoumightnotknowabout(freePDF)(TechRepublic) AMicrosoftExcelbonustipThisExceltipisfeaturedinthefreePDF 30thingsyoushouldneverdoinMicrosoftOffice.RelyonmultiplelinksLinksbetweentwoExcelworkbooksarecommonanduseful.Butmultiplelinkswherevaluesinworkbook1dependonvaluesinworkbook2,whichlinkstoworkbook3,andsoon,arehardtomanageandunstable.Usersforgettoclosefiles,andsometimestheyevenmovethem.Ifyou'retheonlypersonworkingwiththoselinkedExcelworkbooks,youmightnotrunintotrouble,butifotherusersarereviewingandmodifyingthem,you'reaskingfortrouble.Ifyoutrulyneedthatmuchlinking,youmightconsideranewdesign. GetmoreExceltipsRead56Exceltipseveryusershouldmaster andthetutorialsonhowtoaddaconditiontoadropdownlistinExcel,howtoaddcolortoadropdownlistinExcel,howtocreateanExceldropdownlistfromanothertab, howtochangeanExcelconditionalformattingonthefly and howtocombineExcel'sVLOOKUP()functionwithacomboboxforenhancedsearching.Also,checkoutthisfreePDFdownload: 13handyExceldataentryshortcuts.  MicrosoftWeeklyNewsletter Beyourcompany'sMicrosoftinsiderbyreadingtheseWindowsandOfficetips,tricks,andcheatsheets. DeliveredMondaysandWednesdays Signuptoday Editor'sPicks TechRepublicPremium:ThebestITpolicies,templates,andtools,fortodayandtomorrow. It'stimetodumpChromeasyourdefaultbrowseronAndroid PythonremainsatoptheTIOBEindexforNovember,whilePHPshowssignsofdecline Deloitte:Don'truleoutWi-Fi6asanext-genwirelessnetwork 8iPadappsthattaketheApplePencilfromaccessorytonecessity BestRaspberryPifor2021:Whichboardshouldyoubuy? Commentandshare:HowtoaddadropdownlisttoanExcelcell BySusanHarkins SusanSalesHarkinsisanITconsultant,specializingindesktopsolutions.Previously,shewaseditorinchiefforTheCobbGroup,theworld'slargestpublisheroftechnicaljournals. | FullBio | SeeallofSusan'scontent RelatedTopics: Software EnterpriseSoftware Developer OpenSource Software Mobility Cloud SoftwareonZDNet ShowComments HideComments LOGINTOCOMMENT MyProfile Logout |CommentingFAQs|CommunityGuidelines JoinDiscussion LOGINTOCOMMENT AddyourComment



請為這篇文章評分?