Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / August 2006

Tip: Looking for answers? Try searching our database.

creating a formula that condenses information in a cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Looking for Answers - 21 Aug 2006 21:18 GMT
I need a formula that brings back a set amount of information when there are
variable amounts of information in the selected cell.  I am working in a
spreadsheet where column a has numbers of different length.  I am trying to
create a formula that brings back a variable amount of information.  In some
cases I would need the first four digits brought back, in others the first
five digits, and so on.
David Billigmeier - 21 Aug 2006 21:29 GMT
Is there any kind of pre-set logic to how many characters you bring back?  
For example do you have a hyphen separating the strings in each cell, and you
want to bring back everything to the left of that?  e.g. you want the "1FY3"
part of "1FY3-DI84"?  In this case: =LEFT(A1,SEARCH("-",A1)-1)

If this isn't what you're looking for search the help menu for LEFT(), MID()
and RIGHT() for pulling out substrings of variable lengths.
Signature

Regards,
Dave

> I need a formula that brings back a set amount of information when there are
> variable amounts of information in the selected cell.  I am working in a
> spreadsheet where column a has numbers of different length.  I am trying to
> create a formula that brings back a variable amount of information.  In some
> cases I would need the first four digits brought back, in others the first
> five digits, and so on.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.