Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-09-2012, 06:39 AM
stovaaa stovaaa is offline Add _ based on a calculated colums Mac OS X Add _ based on a calculated colums Office for Mac 2011
Novice
Add _ based on a calculated colums
 
Join Date: Mar 2012
Posts: 3
stovaaa is on a distinguished road
Default Add _ based on a calculated colums

So I am creating new usernames for users in Excel. My format will look be AL11smitJ. The AL is the state the user resides in, the 11 is the Office location number, then I take the first four characters of the last name, and the first character of the first name. Here is the function I use:



=LOWER(CONCATENATE(J75,RIGHT(E75,2),LEFT(C75,4),LE FT(A75,1)))

My problem is that I need to lengthen last names that are less than four characters with underscores. I have a column that calculates the number of underscores needed to make the last name four characters long, but have no idea were to go from there.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Work calculated differently for two seemingly identical tasks SteveD Project 0 10-12-2011 02:05 PM
Add _ based on a calculated colums Calculated Field is disabled MariaAdc Excel 1 03-01-2011 02:44 AM
Add _ based on a calculated colums Calculated dates. Ziggy-R Word 10 09-28-2010 01:42 AM
multiple colums under a single column RobotChicken Excel 3 01-06-2010 09:17 AM
Using calculated field - WHY IS IT SO COMPLICATED? Riorin Word 0 10-30-2009 12:20 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft