ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Limelight Media - ExcelTip.com Books > F1 Get the most out of Excel Formulas & Functions

Notices

Closed Thread
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 05-29-2007, 08:19 PM
effang effang is offline
Registered User
 
Join Date: 28 Mar 2007
Posts: 7
effang is on a distinguished road
Too Much Data per cell, how to sort and find info per cell? =function?

Hi. From mySQL database, i am getting a ton of data that is all being inputted into a single excel cell. Within this cell, there are certain data points that i wish to obtain (Bank #, SSN #, Routing #). There are multiple difficulties in obtaining this information.

1. these cells contain the same fields, but different number of total characters (differing in names, addresses, etc.)

2. some of the data points (like SSN) are inputted incorrectly, so even though a SSN is only 9 digits/characters, I may have to output all 11 that the SQL database placed within the cell.

Can I get some help? I'm thinking of a search function/macro within excel, because all of the fields show up correctly.

something like (i know this doesn't work)

= or("cellA1" contains/finds/function SSN,return the 9 characters after "SSN ")

um...yeah. difficult to explain, i'm sorry!
Attached Files
File Type: zip Excel Help.zip (4.1 KB, 46 views)

Last edited by effang; 05-30-2007 at 01:35 PM.
  #2  
Old 06-23-2007, 04:12 AM
CaptainQuattro CaptainQuattro is offline
Forum Contributor
 
Join Date: 23 Mar 2006
Location: Vancouver
Posts: 117
CaptainQuattro is on a distinguished road
functions find, mid

Try this formula:

=MID(B4,FIND("ssn:",B4,1)+6,9)
Closed Thread

Bookmarks

New topics in F1 Get the most out of Excel Formulas & Functions


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 12:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0