Salary Calculation Excel Sheet

Posted on

Salary Calculation Excel Sheet' title='Salary Calculation Excel Sheet' />Extract text with FIND and MIDData analysis begins with usable data, and that means every piece organized nicely into its own field where we can count, sort and otherwise test it out. What if you get a spreadsheet where the pieces of data are all packed in one field Say, something like this which I cobbled together from Major League Baseball data in honor of the Nationals first playoff appearance NAME Sean Burnett POS RP AGE 3. WT 2. 00 BORN Dunedin, FL SALARY 2. NAME Tyler Clippard POS RP AGE 2. Download Format of Form 10E with annexure and Table Relevant section and rules Relief when salary, etc., is paid in arrears or in advance. Section 89. Pay Equity Best Practices. How do you ensure that employees doing the same job with equal skills and proficiency are paid equally Read this white paper and learn how. WT 2. 00 BORN Lexington, KY SALARY 1. NAME Ross Detwiler POS SP AGE 2. WT 1. 74 BORN St. Louis, MO SALARY 4. NAME Christian Garcia POS RP AGE 2. WT 2. 15 BORN Miami, FL SALARY NA. NAME Gio Gonzalez POS SP AGE 2. WT 2. 05 BORN Hialeah, FL SALARY 3. NAME Mike Gonzalez POS RP AGE 3. WT 2. 15 BORN Robstown, TX SALARY NA. NAME Ryan Mattheus POS RP AGE 2. WT 2. 15 BORN Sacramento, CA SALARY 4. NAME Craig Stammen POS RP AGE 2. WT 2. 00 BORN Coldwater, OH SALARY 4. NAME Drew Storen POS RP AGE 2. WT 1. 80 BORN Indianapolis, IN SALARY 4. NAME Jordan Zimmermann POS SP AGE 2. WT 2. 18 BORN Auburndale, WI SALARY 2. NAME Sean Burnett POS RP AGE 3. WT 2. 00 BORN Dunedin, FL SALARY 2. NAME Tyler Clippard POS RP AGE 2. WT 2. 00 BORN Lexington, KY SALARY 1. NAME Ross Detwiler POS SP AGE 2. WT 1. 74 BORN St. Louis, MO SALARY 4. NAME Christian Garcia POS RP AGE 2. WT 2. 15 BORN Miami, FL SALARY NA. NAME Gio Gonzalez POS SP AGE 2. WT 2. 05 BORN Hialeah, FL SALARY 3. NAME Mike Gonzalez POS RP AGE 3. Nick Jr Miss Spider Sunny Patch Friends more. WT 2. 15 BORN Robstown, TX SALARY NA. NAME Ryan Mattheus POS RP AGE 2. WT 2. 15 BORN Sacramento, CA SALARY 4. NAME Craig Stammen POS RP AGE 2. WT 2. 00 BORN Coldwater, OH SALARY 4. NAME Drew Storen POS RP AGE 2. WT 1. 80 BORN Indianapolis, IN SALARY 4. NAME Jordan Zimmermann POS SP AGE 2. WT 2. 18 BORN Auburndale, WI SALARY 2. Lets say you want to extract the city of each players birth into a separate field. The varying length of each players name means the birth place isnt always in the same position in the string, so a typical text to columns operation wont work. So, how to do it The answer lies in two very handy Excel functions FIND and MID. FIND locates characters you specify and returns its numeric place in the string. MID returns X characters from a string beginning at a location X you specify. For example, we can locate the position where each city name begins by using FIND to locate the string BORN in each cell. The city name itself always starts six characters after the position of that string, so we add six to the result In the first row above, the functions returns 5. In the second row, 5. Well feed that value to the MID function as the starting point for our extraction. MID takes three arguments Text or cell, position to start, number of characters to return. So, we use the above FIND function as the second argument and, for now, extract 1. MIDA2,FINDBORN ,A26,1. MIDA2,FINDBORN ,A26,1. That gets us part of the way there. Were starting in the right spot, but 1. Dunedin, F. Auburndale. Dunedin, F. Auburndale. What we need to do is tell MID the exact number of characters to return each time even though the length of the city varies. We can figure this out using FIND again. The city name is always followed by the word SALARY. Marvel Super Hero Squad Game For Pc. So, if we search for the position of that word and subtract the position of BORN, well get the length of whats between the two. The ultimate formula looks like spaghetti but works just fine MIDA2,FINDBORN ,A26,FINDSALARY,A2 FINDBORN ,A26MIDA2,FINDBORN ,A26,FINDSALARY,A2 FINDBORN ,A26Used on the example text, it returns Dunedin, FL. Sacramento, CA. Indianapolis, IN. Auburndale, WIDunedin, FL. Sacramento, CA. Indianapolis, IN. Auburndale, WIThats it. Fairly handy and further proof that Excel is a versatile part of the data journalists tool kit. Learn data analysis with SQL If you like what you read here, check out my book Practical SQL A Beginners Guide to Storytelling with Data from No Starch Press.