Pulling Specific Data From Random String
Jan 15, 2010
I have random comments in a column of cells of which I'm searching for a specific string of characters that may be contained in each cell. I want to pull 2 pieces of data from this specific string and place the data in 2 other cells in the same row.
Sample comments in cell 'N1':
..... blah, Appt: Friday; 12/4; night drop off. blah, blah....
Sample comments in cell 'N2' (and so on and so on):
.....blah, blah, Appt: Thurs; 12/3; 12:30PM. blah, ....
The specific string in the above examples will always begin with:
APPT:
Then the key elements found directly after the 'APPT:' are:
Thurs; 12/3; 12:30PM.
(which are the)
DAY; DATE; TIME.
These elements will be always separated by the semi-colon ';' and the string will always end with the period '.'
I need a pair of formulas to be in col 'J' & 'K' to extract the DATE and place it in column 'J' and the TIME and place in column 'K', both in each same rows.
So, from the 2 above samples I would need the following:
in Cells:
J1 - 12/4 ....... K1 - night drop off
J2 - 12/3 ....... K2 - 12:30PM
I've been trying to come up with a formula using a combination of FIND() & MID(),
View 9 Replies
ADVERTISEMENT
Apr 16, 2009
Start Date: 1/1/08
End Date: 1/1/08
Users: 100
Description: ...whatever
What I want to do is pull just the end dates into the next column. Is there an easy way to do this or do I need to build a macro?
View 6 Replies
View Related
May 23, 2013
I have a huge listed of assets - the column i where my info is has vasrious serial numbers.... some are a simple string of letters/numbers and the others look like this for example AG-1234567
I need to somehow pull out the ones that look like that. (AG-1234567). I only need those. Now normally i would just do a filter and pull em out however, this sheet contains 73k worth of items.
what would be the formula to perform such a task?
View 2 Replies
View Related
May 21, 2014
I have this spreadsheet where in there's a Raw Data. Along with is there's a different tab for different user, is there a way that if a certain user choose a date it will pull up the data for that date in the Raw Data.
What formula should I use? and how should I do it.
View 7 Replies
View Related
Jan 12, 2007
On my excel spreadsheet, I have a list of 14 names in column A (row 1-14).
In a separate cell, I'd like for it to pull a random name from that list. How would I go about doing that?
View 9 Replies
View Related
Aug 14, 2014
Wondering if it is possible to generate a random 4 digit number based off an alphanumeric string?
Example;
Cell A1 has 123XVF1234
Cell A2 has 321AFW4321
In B1 I would like to have a 4-6 digit number that is generated based on the alphanumeric data in Cell A1 (and so on down the list). If that is possible, I would also need to be able to convert back the 4-6 digit number back to its original alphanumeric value
Example;
If B1 returns 643562 it would need to be able to be converted back to 123XVF1234
View 7 Replies
View Related
Apr 10, 2014
I created a macro that opens a page as an excel sheet, grabs data from it, and inserts it into a cell.
My problem is that one of the cells has an abundance of data that I don't need.
The data that it puts into the cell looks like this: 0849940222,* Bill Myers ,* Thomas Nelson,*1997-10-02 The only thing I need is the first name that shows up.
The number at the beginning is always the same length, so I thought about using a trim function for that, but since names are not always the same length, how to do the other end. Maybe get the value for commas and delete everything before the first and after the second...I also don't know how to do that in VBA.
View 6 Replies
View Related
Jun 30, 2009
How to extract only the number out from the description?
the number can be in left, middle, right..
Description Result
1930 profit 5301000 Meal allowance1930 5301000
expenses 1930 meal the 2701000001930 270100000
View 9 Replies
View Related
Jan 8, 2008
How do you locate cells that have matching content within strings
Need to be able to match at least 5 consecutive characters within cells of both columns....
View 9 Replies
View Related
Jun 24, 2009
I was wondering how to input data on one sheet, then have specifics from that first sheet get sorted and put on the second and third sheet according to it's value. I have attached an example with my comments in red.
View 3 Replies
View Related
Jun 29, 2008
I have a workbook for a category of academic journals. It contains the journal name in the first column, the year it was published in the second and various bibliometric stats in the next twelve as follows: ....
View 9 Replies
View Related
Feb 25, 2009
I've been using excel for quite sometime but have never tried the macro system or posting VBA code so I'm wanting to get my feet wet with a little project.
I want to make a button on a sheet that when pressed generates a random number between 3 and 18, ideally it would make a new set of random numbers if pressed again.
View 12 Replies
View Related
May 12, 2009
I know the randbetween portion of my code will not work - but how can I make this work with VBA? I need four random numbers added after the 4 string characters.
For Each R In MyNewR
If IsEmpty(R) Then
R.Value = Right(R.Offset(0, -1), 4) & _
Application.WorksheetFunction.randbetween(1, 9)
End If
Next R
View 9 Replies
View Related
Dec 29, 2009
I've got this problem: I need to separate around 40 alphanumerical entry in Column'A' to Columns'B','C','D','E'..
View 6 Replies
View Related
Aug 24, 2014
Any way/method to make a certain number of cells randomly generate to a specific value you want? I only want to use the number from 1 to 60.
example:
1 37
2 29
3 34
4 2
5 58
6 38
7 =198
View 9 Replies
View Related
Nov 10, 2006
If you have a single column of random numbers, is there a way to give Excel a total amount you are looking for, and have it choose which numbers in that column total to that amount?
View 2 Replies
View Related
Dec 22, 2013
I have the following type of info in A1,A2,A3...
Code:
nameGaryage40cityPittsburgheight190
age30height150
ameLindacityMichigan
citySan Jose
ameHarryheight180age50
My goal is to get as close as possible to this,so it will be easier to sort and manage
Code:
nameGaryage40cityPittsburgheight190
nameLindaage30cityMichiganheight150
nameHarryage50citySan Joseheight180
I can't use the "" sign as delimiter to separate them into different columns because the age,city,name and height fields are in random positions on different cells.The good thing is person's name will always come after "name" string, age is alwals followed by "age" string, so it cannot be like nameheight40Michigan180
I think the following would be the easiest method(not for me tho).If on B1 I had a formula that said "find the string "name" and write anything after it until you reach the next "" character".On C1 field I could have a formula "find the string "age" and write anything after it until you reach the next "" character.On D1 I would have the same for "height" string,then on E1 for city string.
My question is somewhat similar to this one
Extract A String Between Two Characters
Formula which outputs the data between 3rd and 4th instances of the "_" character.Can we substitute "3rd and 4th" with a specific strings like "age" or "height" ?
Code:
=TRIM(LEFT(SUBSTITUTE(MID(A1,FIND("|",SUBSTITUTE(A1,"_","|",3))+1,LEN(A1)),"_",REPT(" ",LEN(A1))),LEN(A1)))
View 3 Replies
View Related
Dec 7, 2013
I have an excel database that contains a code to identify specific people.
NAME ADDRESS PHONE CODE
Jones 3 Quay St, PN 063586954 JU79N4
White 24 Dyk St, PN 063547786 9GVJ64
Smith 9 Random St, PN 063512698 4LN867
Butt 89 Yeah Pl, PN 063569986 D920HK
Handle 69 James Ct, PN 06 3549687 ZK26S84
If I wanted to filter the list so I only had codes that had Z, N, H in it. How do I do that??
View 5 Replies
View Related
Feb 19, 2014
I need generating 40 rows (Columns of 17 (Columns A - Q) Random numbers (1 to 5) that will sum to specific values (60, 55..) in R Column, and to regenerate it on pressing any key.
The same has been done for one value in [URL] ..... but I need it for a set.
View 5 Replies
View Related
Sep 22, 2013
How does one count the number of x and y values (occurring in same row) in this array?
Time1 x a b c d
Time2 b c x y a
Time3 x a y d b
Time4 a b c d e
Time5 y d a x d
Time6 c y a d b
Note all of the variables above are positive numbers.
View 7 Replies
View Related
Aug 2, 2014
I am trying to pull titles out of a text string but its quite difficult because of how the data was originally inputted. I need titles that appear in the following different formats
" title"
title/
title"
These titles were not inputted consistently and it could show up in the middle or at the beginning. I have attached a sample of the data that i am working with and a sample formula that i was trying to use to obtain my information. The formula that i have is a nested formula of find and mid formula that searches for the text within " ".
View 5 Replies
View Related
Sep 1, 2009
I have a list of names in a single cell. They are all seperated by a comma, then a space. Example would be: John Smith, Steve Wilson, Wallace O Malley, etc. What formula could I use to pull out the names individually, starting from the farthest right?
View 2 Replies
View Related
Aug 5, 2013
I have a list of dates in this format (7/20/2013) that go through several months. I would like to make have a formula that takes all of the dates from a specific month out and make a new list of those days. For example, if I have 7/20/2013, 6/28/2013, 8/3/2013, 7/1/2013. I would like to to take only the dates from July and put them in a new list: 7/20/2013, 7/1/2013.
View 3 Replies
View Related
Jun 10, 2009
i want it to change the Header in E1 to the name of that price level and have the prices change according to that price level. The price level prices are currently being pulled from another tab through vlookups which lookups up the part numbers. My method only works with 1 price level right now and have no clue how to approach it with more then one price level. Also these part numbers will change positions and locations and are not permanent hence why i thought to use a vlookup.
Is there a way macro wise ( preferably through a formula ) that i can have Column E prices change according to the Price Level Entered.
View 2 Replies
View Related
Aug 6, 2014
In the little chart on the left, I have the customer name, when their story is due, and when it was completed. On the right, I want to show how many words per hour my journalist is averaging for each week. What I'd like to do in cells J2 through J5 is to have a formula that pulls out the total number of words written for all projects that occurred during that time frame. I can't seem to figure out the formula, though. I was thinking that I needed an array formula starting with ifferror and calling from the row functions, but I can't seem to get it to work out right.
Here's my sample sheet: sample data journalists.xlsx
View 3 Replies
View Related
Mar 16, 2009
I am trying to create a spreadsheet which will help us analysis the sale of each of the inventory items.
Col A: Item #
Col B: Description of Item
Col C: Standard COGS
Col D: Price
Col E: Profit %
On Sheet 1(Standard), I listed all 205 items with columns b-e also being filled in.
On Sheet #2(Actual Sold), I want to just enter the Item # and have all the other info on Col B - Col E fillied in automatically.
View 13 Replies
View Related
May 27, 2013
What I am trying to do is pull data from one spread sheet into another. The Data spread sheet has 2 columns. Date and Price. What I need to do is enter a date in to row b2 (example 2/13/2013) Then Cells c2-v2 fill in with the data from the 20 days prior to 2/13/2013. Also note that I use only dates from weekdays.
View 7 Replies
View Related
Jul 16, 2008
I have a 4 columned table with 10000 rows
Entry # Correlation Index1 Index2
1
2
.
.
10000
I want to be able to create tables out of this where I can pull all line items with correlation > 0.8 or <0.1 or <0.3 etc.
I think a macro will have to be written for this.
View 9 Replies
View Related
Jun 19, 2006
I have searched extensively for an answer to this but can't find anything.
I am pulling data off the web and it puts data down the column in the following manner:
Data
Number
Number
Data2
Number
Number
I need to extract each set of Data to another worksheet. The problem is that it will be anywhere from 1 row each to 10 rows each. In each instance, there is a blank between the two sets of Data. I've looked at ISBLANK, LOOKUP, SEARCH, etc. but nothing I've tried has worked out.
View 11 Replies
View Related
Feb 8, 2008
I have written a macro to pull in data from a website each day. However the macro falls over because the end of the url changes slightly each day as the website provider updates the information. Unfortunately there does not appear to be a logical pattern to the number change in the url and so I don’t think I can pre-empt what the change will be. The path through the website remains the same, but the url changes as a new csv document replaces the old one. Is there any way of writing the macro so that it opens/picks up the current url rather than a fixed url?
View 9 Replies
View Related