0% found this document useful (0 votes)
310 views9 pages

3 Crazy Excel Formulas That Do Amazing Things - Advanced Excel Tips & Tricks

333

Uploaded by

Luis Nunes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
310 views9 pages

3 Crazy Excel Formulas That Do Amazing Things - Advanced Excel Tips & Tricks

333

Uploaded by

Luis Nunes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Home / Excel Tips / 3 Crazy Excel Formulas That Do Amazing Things

Find Us Here


Raghu R Excel Tips

3 Crazy Excel Formulas That Do Amazing


Things

Share 1.5K Like 1.5K Share Tweet 7 3

IvealwaysbelievedthatExcelisoneofthemostpowerfulsoftwaretoolsout
there.Itisntjustthefactthatitsspreadsheetsoftware,whichisbyits
naturepowerfulanyway.No,MicrosoftExcel2013itselfhassuchan
awesomecollectionofbuiltintoolsandfeaturesthatithasbeyondany
doubt,becomeoneofthemostusefultoolsforsomanythings.Inthis
Popular Posts
article,Iplantoshowyouhowpowerfulformulasandconditional
formattingcanbe,withthreeprettyusefulexamples. How to Unprotect an Excel Sheet
Without Password
Muchofthepowerreallyliesbehindtheformulasandrulesthatyoucan
Learn to use Vlookup in Excel
writetomanipulatedataandinformationautomatically,regardlessofwhat
datayouinsertintothespreadsheet.
Learn to Compose and send

Digging Into Excel emails from Excel using VBA

10 Top Excel Keyboard Shortcuts


Withtherightinformation,youcancreateasystemthatautomatically
calculatesandrecalculatesresultsandreportsfromthatrawdata.Today,Id
liketodigalittlefurtherunderthesurfaceandshowyouhowyoucanuse Advanced PivotTables:
Combining Data from Multiple
someoftheunderlyingformulasandothertoolstomakebetteruseofExcel.
Sheets

Cool Conditional Formatting With Formulas How to convert Numbers to


Words in Indian Currency Format
OneofthetoolsthatIthinkpeoplejustdontuseoftenenoughis VBA Macros

ConditionalFormatting.Withtheuseofformulas,rules,orjustafewreally
simplesettings,youcantransformaspreadsheetintoanautomated
Recent Posts
dashboardthatshowsyoualotabouttheinformationinthespreadsheetat
justaglance. How to Get Live Data From A
Web Page Direct Into Excel
TogettoConditionalFormatting,youjustclickontheHometab,andclick
How To Find Merged Cells In
ontheConditionalFormattingtoolbaricon.
Excel

How to Crack Locked Microsoft


Word Files

Excel VBA: Different Types Of


Excel Macros
Home Learn Tips VBA
Excel VBA Tip: Remove Blank
Lines From A Text File with
Condition

Excel Function: MATCH()


Explained

Categories

Advanced Excel Tips

Excel News

Excel Shortcuts

Excel Tips

Games

Underconditionalformatting,thereareabunchofoptions.Mostofthese Interview Tips


arebeyondthescopeofthisparticulararticle,butthemajorityofthemare
Learn Excel
abouthighlighting,coloringorshadingcellsbasedonthedatawithinthat
cell.Thisisprobablythemostcommonuseofconditionalformatting VBA Tips
doingthingsliketurningacellredusinglogicallessthanorgreaterthan
formulas.
Oneofthelesserusedorknownaboutconditionalformattingtoolsis
theiconsetsoption,whichprovidesyouwithagreatsetoficonsyoucanuse
toturnanExceldatacellintoadashboarddisplayicon.

IdiscoveredthisonceIupgradedtoOffice2013andusedconditional
formattinginExcel2013.IcheckedouttheiconsetsandsawthesecoolLED
indicatorlightsthatIhadonlyreallyseenbeforeinsomeofthefactory
automationdisplaysIveprogrammed.WhenyouclickonManagerules,
itlltakeyoutotheConditionalFormattingRulesManager.Dependingon
thedatayouselectedbeforechoosingtheiconset,youllseethecell
indicatedintheManagerwindow,withtheiconsetyoujustchose.
Home Learn Tips VBA
WhenyouclickonEditRule,youseethedialogwherethemagic
happens.Thisiswhereyoucancreatethelogicalformulaandequationsthat
willdisplaythedashboardiconyouwant.Inmyexample,Imonitortime
spentondifferenttasksversusmybudgetedtime.IfIvegoneoverhalfmy
budget,Iwantayellowlighttodisplay,andifImoverbudget,Iwantitto
gored.

Asyoucansee,Imnotreallybudgetingmytimetoowell.Almosthalfofmy
timeisspentwayoverwhatIvebudgeted.

Home Learn Tips VBA


AlsoreadConditionalFormulasinExcel&TricksUsingtheIF
FunctioninExcel

Look Up Items With the VLookup Function


Okay,maybethatisntcrazyenoughforyou.Maybeyouarentsoexcited
aboutsimplelogicalformulasturninglightsonandoff.Fineifyourean
oldschoolExcelfiendandyoulikeusingmoreadvancedExcelfunctions,
thenIvegoneanotheroneforyou.

YouareprobablyfamiliarwiththeVLookupfunction,whichletsyousearch
throughalistforaparticulariteminonecolumn,andreturnthedatafroma
differentcolumninthesamerowasthatitem.Unfortunately,thefunction
requiresthattheitemyouresearchingforinthelistisintheleftcolumn,
andthedatathatyourelookingforisontheright,butwhatiftheyre
switched?

Intheexamplebelow,whatifIwanttofindtheTaskthatIperformedon
6/25/2013fromthefollowingdata?

Home Learn Tips VBA


Inthiscase,yoursearchingthroughvaluesontheright,andyouwantto
returnthecorrespondingvalueontheleftoppositehowVLookup
normallyworks.IfyoureadExcelprouserforumsyoullfindalotofpeople
sayingthisisntpossiblewithVLookupandthatyouhavetousea
combinationofIndexandMatchfunctionstodothis.Thatsnotentirely
true.

YoucangetVLookuptoworkthiswaybynestingaCHOOSEfunctioninto
it.Inthiscase,theformulawouldlooklikethis:

=VLOOKUP(DATE(2013,6,25),CHOOSE({1,2},E2:E8,A2:A8),2,0)

WhatthisfunctionmeansinsimpleEnglishisthatyouwanttofindthedate
6/25/2013inthelookuplist,andthenreturnthecorrespondingvaluefrom
thecolumnindex.Inthiscase,youllnoticethatthecolumnindexis2,but
asyoucanseethecolumninthetableaboveisactually1,right?

Thatstrue,butwhatyouredoingwiththeCHOOSEfunctionis
manipulatingthetwofields.Youreassigningreferenceindexnumbersto
rangesofdataassigningthedatestoindexnumber1andthetasksto
indexnumbertwo.So,whenyoutype2intheVLookupfunction,youre
actuallyreferringtoIndexnumber2intheCHOOSEfunction.Crazy,eh?

Home Learn Tips VBA


SonowtheVLookupusestheDatecolumnandreturnsthedatafromthe
Taskcolumn,eventhoughTaskisontheleft.Nowthatyouknowthislittle
tidbit,justimaginewhatyoucando!

AlsoreadHowtoDecideWhichExcelLookupFormulatoUse

Insane Nested Formulas to Parse Strings


Asyoucansee,Imtryingtogetalittlecrazieraswego,becauseIknow
therearealwayssomeofyououttherethatgo,wellthatsnotcrazyat
ALL!!Iknow,yourstandardsarehighandImtryingtoliveuptothem.If
Ivefailedwithmylasttwoattempts,IbetIcanappealtoyourneedfor
crazywiththisparticularformula.

TheremaybecaseswhereyoueitherimportdataintoExcelfromanoutside
sourcethatismadeupofastringseparatedbydelimiterswithinthefield
itself.Onceyoubringinthedata,youwanttoparsethatdataoutintothe
individualcomponents.

Hereshowthisisdone(seeifyoucanmentallyfollowalongwiththis
insanity):

Forthefirstfield,toextracttheleftmostitem(thepersonsname),you
wouldsimplyuseaLEFTfunctionintheformula.

=LEFT(A2,FIND(,A2,1)1)

ThissearchesthetextstringfromA2,findsthedelimitersymbol,
subtractsonefortheproperlocationoftheendofthatstringsection,and
thengrabstheleftmosttexttothatpoint.Inthiscase,thatsRyan.Mission
accomplished.

Butwhatabouttheothersections?Well,toextractthepartsontheright,
youneedtonestmultipleRIGHTfunctionstograbthesectionoftextup
untilthatfirstsymbol,andperformtheLEFTfunctiononitagain.Heres
whatthatlooksliketoextractthestreetnumberpartoftheaddress.

=LEFT((RIGHT(A2,LEN(A2)FIND(,A2))),FIND(,
(RIGHT(A2,LEN(A2)FIND(,A2))),1)1)

Home Learn Tips VBA


Itlookscrazy,butitsnothardtopiecetogether.AllIdidistookthis
function:

RIGHT(A2,LEN(A2)FIND(,A2))

AndinserteditintoeveryplaceintheLEFTfunctionabovewheretheresan
A2.Thiscorrectlyextractsthesecondsectionofthestring.

Eachsubsequentsectionofthestringneedsanothernestcreated.Sonow
youjusttakethecrazyRIGHTequationyouhadcreatedforthelast
section,andthenpastthatintoanewRIGHTformulawiththeprevious
RIGHTformulapastedintoitselfwhereveryouseeA2.Hereswhatthat
lookslike.

(RIGHT((RIGHT(A2,LEN(A2)FIND(,A2))),LEN((RIGHT(A2,LEN(A2)
FIND(,A2))))FIND(,(RIGHT(A2,LEN(A2)FIND(,A2))))))

ThenyoutakeTHATformula,andplaceitintotheoriginalLEFTformula
wherevertheresanA2.Thefinalmindbendingformulalookslikethis:

=LEFT((RIGHT((RIGHT(A2,LEN(A2)
FIND(,A2))),LEN((RIGHT(A2,LEN(A2)FIND(,A2))))FIND(,
(RIGHT(A2,LEN(A2)FIND(,A2)))))),FIND(,
(RIGHT((RIGHT(A2,LEN(A2)FIND(,A2))),LEN((RIGHT(A2,LEN(A2)
FIND(,A2))))FIND(,(RIGHT(A2,LEN(A2)FIND(,A2)))))),1)1)

ThatformulacorrectlyextractsPortland,ME04076outoftheoriginal
string.

Toextractthenextsection,repeattheaboveprocessalloveragain.Your
formulascangetreallyloopy,butallyouredoingiscuttingandpastinglong
formulasintoitself,makelongneststhatworkreallywell!

AlsoreadExcelFormulas:10FormulasThatHelpedMeKeepMy
Job

Conclusion
Home Learn Tips VBA
Sothereyouhaveit.Weretheseformulasandtechniqueswildenough?Do
youhaveanyamazingformulatricksofyourownthatmakeupyourExcel
superusertoolbox?Shareyourinputandfeedbackinthecommentssection
below!

AlsoreadExcelDataEntryTipsandTechniques

Courtesy:makeuseof.com|Author:RyanDube

Share this:

Facebook 1K+ Twitter Google LinkedIn 59 Pinterest 3

Related

14AdvancedExcelTipsand HowtoReduceSizeofExcel RealExcelPowerUsersKnow


TricksforBasicto Files?Top10Tips These11Tricks
IntermediateUsers January13,2015 August10,2014
March9,2015 In"ExcelTips" In"ExcelTips"
In"ExcelTips"

Adsby Google ExcelFormulas MSExcelTraining DashboardExcel


Adsby Google ExcelTemplates ExcelTutorial ExcelVlookup

Raghu R
ExcelismyPassionandVBALoveofLife.Iliketosolveand
automateanypossibleopportunityinExcelincludingincombination
withOfficeApplications(Access,Outlook,Word,PowerPoint,Visio,
etc)andotherNonOfficeApplications(SAP,IE,Batch,
ConfigurationManagementTools,etc).Note:Allthesolutionsgiven
herearepublishedafterthoroughlytestedtomyknowledge,however
itisadvisedtokeepacopybeforeyoutryit.

You might also like


Tips for using Excel to make Data Validation Combo box
Ofce Collaboration with AutoComplete feature
Smoother & Smarter

One Response

Showallresponses

Home Learn Tips VBA


Advanced Excel Tips & Tricks Copyright 2017. Theme Designed by MyThemeShop.com

You might also like