Pull A Value (text) From Another Spreadsheet Corresponding With A Number
Nov 11, 2008
I am trying to pull a value (text) from another spreadsheet corresponding with a number. I can't use vlookup because none of them are in a left column. HEre's an example:
there are 2 columns with names and percentages. I am trying to pull a name that corresponds to a certain percentage.
View 3 Replies
ADVERTISEMENT
Mar 29, 2014
I have WorkbookA that pull numbers from WorkbookB. In Cell D2 of WorkbookA is the name of WorkbookB. The data to be pulled from WorkbookB is in Cells H364 through S364, H being data for January and S being data for December. In January, the data from Cell H364 is pulled into WorkbookA. In February, the data from Cell I364 is pulled into WorkbookA, and so on.
The formula can be written such that, based on WorkbookA indicating in Cell B14 the current month, each month pulls the correct month's data from these cells in WorkbookB.
View 14 Replies
View Related
Apr 3, 2012
I have two formula i use to pull out the number from text in a cell (J2), the problem i am having is that it will only pull out numbers up to 99,999 and i now have numbers over a million in some case that i need to report on.
I have two way I have been doing this see below, how can i change them so they will pull the number over a million?
I am sure it easy but i have tried all sort and i can not get it to work...
=LOOKUP(100000,--MID(J2,MIN(FIND({0,1,2,3,4,5,6,7,8,9},J2&"0123456789")),ROW(INDIRECT("1:10"))))
OR
=LOOKUP(99^99,--("0"&MID(J2,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},J2&"0123456789")),ROW($1:$10000))))
View 7 Replies
View Related
Jul 16, 2012
I'm trying to pull a specific 10 digit number from a text string. The ID # is always 10 digits however sometimes there are dates in the data that need to be excluded as well as other numbers such as "I-9". The 10 digit number will always start with 1 or 8. Is there a macro or Formula to extract this data? Please find the example dataset below.
Edit: I should specify I want the "100118416" number from the first cell example or the "800011320" number from the 10th example.
NDM Abxx, Kexxxxx 100118416 2-29-12.pdf
VPG I9 Aberxxxxx, Dexxx 100113048 1-1-12.pdf
I-9 Abxxx, Rexx 100119966 4-5-12.pdf
NDM I9 Achxxxn, Paxx 100119008 3-15-2012.pdf
VPG I-9 Acxxxxx, Toxx 100112782 01-01-12.pdf
[code].....
View 9 Replies
View Related
Feb 13, 2008
In a1 i have 100.888 and a2 122.222 and a3 122.555UK,(and so on) in column b i want just want the number and not the uk, i have tried =left(a1,7) which works until a3 then it give me characters 122.555 and not the number/value 122.55. I need it as a value to use the vlookup, how do i do it?
View 3 Replies
View Related
Mar 24, 2009
I would like one formula to remove "5206" from this string. I tried a combination of right/left formulas together, but I could not get it to work.
5032.5206.05816.00040501.0000
View 9 Replies
View Related
Apr 10, 2008
I am having an issue with formatting a cell to 'general'. I have a macro that runs using a formula (i.e. =MID(A12, 18,5)) to extract certain characters from an external data source. I then use only the values of that formula. There then is another macro that compares that value to another value in another worksheet. The issue I am having is when the macro runs, the code is read as ActiveCell.Offset(0, 3).Value...but instead of returning the value in 'general' format, it returns it with what appears to be text (i.e. "75.50" instead of 75.5). This acts as a mismatch since the quotes appear.
I have attempted several things to correct, but even if I try to format-->general it maintains the quotes. The only way it changes is if I click within the cell...then it turns to general (i.e."75.00" becomes 75.5). I am not sure what is the issue.
View 2 Replies
View Related
Jan 7, 2010
I have a column of numbers each have a 0. infront of them (example 0.2346
0.5698). I want to pull the number from the right until it hits the decimal sign. So for the two above the result would be 2346 and 5698
View 2 Replies
View Related
Jul 22, 2014
I have a userform with a textbox that has numbers in it, but when I write them to Excel they are put in the column as text, not as numbers.
[/CODE]Cells(erow,6).Value = txtbox_Amount[CODE]
How can I force it to write the information as numbers?
P.S. My computer won't let me paste into these posts, even when it asks me to allow access to my clipboard. What setting can I change so I can paste my code instead of typing it.
View 3 Replies
View Related
Jul 7, 2014
I have a workbook with a spreadsheet that will have ID numbers entered into it. In the column next to the ID numbers, I would like to have usernames automatically populate. I have another workbook that has a spreadsheet with one column with user ID and one column with the username for that particular ID number. Is there a formula I can use to have Excel match the user ID entered to the user ID on another spreadsheet, and then pull in the column next to it (the username)?
View 1 Replies
View Related
Jun 28, 2007
I have a complex data set that has been imported into Excel from a binary data file and I am looking for a way to simply pull out specific fields. I tried to record a Macro that would simply delete the rows between the data rows I want to keep, but it always references itself to those same ranges and I'm not sure how to identify that I want it to sequentially move down the page deleting the same number of rows, and adding the row of information I want to keep as it goes.
View 9 Replies
View Related
Feb 7, 2008
I have two spreadsheets, i suppose one part of the solution may be to copy spreadsheet 2 into a new worksheet in spreadsheet 1, but this is my current situation:
Spreadsheet 1 has "Employee lastname" in column F, "Employee Firstname" in column G. Column A in this sheet needs updating with the data populated in column H for that employee in spreadsheet 2 - the lastname is contained in column B, firstname in column C - so i need to to a match.
View 12 Replies
View Related
Jul 2, 2007
I need to find text within middle of a string.
Character before required text is say AAA
Character after required text is say BBB
Text required can vary in length.
Extract text and place in another column.
All text in a single column, required text not in every line. but
does repeat.
View 9 Replies
View Related
May 31, 2013
I have a spreadsheet that has item names and then at the end the manufacturer number. I'd want to find way cut that manufacturer number off the end and move it to its own column.
I pasted some examples below of what it looks like. It is just coincidence that the items below all that the same length...they are all of varying lengths. The one thing they all have in common is that it the last thing in the cell and seperated by a space. I would think there would be a way to find the last space in the cell and cut everything to the right of that. I can do it in a macro if necessary, but where to start.
AVENGERS FIGURE ASST 3 75 A1816
AVENGERS HULK HANDS A1827
AVENGERS SLAMMERS A1822
BATMAN BATMOBILE Y1258
BATMAN DK KNIGHT FIGURE ASST Y7572
BATMAN FIG N VEHICLE ASST Y1252
View 3 Replies
View Related
Feb 19, 2010
(the html is messing up the out put for a2 and a3)
I am trying to get the total amout that is in the set in individual cells. I have the size type done just having trouble timesing the numbers in the cell
Example.
A1 A2 A3
10/2LB/CASE 20 Pound
12 16 OZ CASE 192 OZ
12/750ML/CASE 9000 ML
5 Gal/Box 5 Gallon
(i have placed the columns to match formatting normal=A1 Bold=A2 Underline=A3)
View 9 Replies
View Related
Oct 26, 2012
I have Put 15 Digit Number 234567890123456 in Cell A1. I am trying to get each Digit Seperately into Single Cell from B1 to P1.
View 5 Replies
View Related
Aug 21, 2008
Attached is the sample file.
Basically I have a number in column A, just wondering is that any faster to allocate the number into individual cell as shown in the attached file.
View 5 Replies
View Related
Nov 8, 2006
I have 2 worksheets (Sheet1 and Sheet2). Sheet 1 contains around 3000 records with multiple fields (columns). Column A contains the ID number. Sheet 2 contains some records with different fields except for the ID number which is common.
I need a macro to retrieve information from sheet1 and copy it to sheet 2 based on the ID Number; i.e the macro needs to get the ID number from sheet2, locate it in sheet1 and copy the data from column D in sheet1 for that particular record and paste it in sheet2.
View 7 Replies
View Related
Dec 22, 2006
My Cells contain loads of text like this: ["16733:0:0"] = “Product ID”:1:1:0", now what i need is just the 16733 to be extracted into its own cell, and the Product ID to be extracted into the cell next to it... all other Text can be deleted. The problem is, pretty much the whole of the text changes in each line :-
["12345:0:0"] = “Product ID1”:1:1:0",
["49573:0:0"] = “Product ID23”:4:8:0",
["2649:0:0"] = “Product ID485”:18:23:0",
["9264:0:0"] = “Product ID0473”:2842:2341:0",
["54321:0:0"] = “Product ID85647”:99:199:0",
In the Numbered part of it (the bit I actually need), it would be either 4 or 5 digits long. Im guessing what I need to do is remove parts bit by bit, but for a novice user - Its proving a bit difficult!
View 2 Replies
View Related
Dec 5, 2007
I am trying to create a formula to pull the person's name and the avg number of cartons sorted for the month from this spreadsheet.
I've attached a sample of the spreadsheet I created, you will see at the bottom I would like to see the person that had the highest avg for the month and the person with the lowest avg for the month.
This is just a simple spreadsheet to track productivity of my sortation employees.
View 9 Replies
View Related
Aug 26, 2009
I am trying to do season stats for my roller derby league. I have a great spreadsheet going but the one thing I want to do, I can't seem to do. I am attaching a "test" file. very simple and small but shows what I need to do.
I have different sections and I am trying to pull the highest number out of that section. For this example, it is under the green Jams Skated: Jams at Jammer. The number on the right is the highest number of jams skated while the number on the left should be the name of the skater who has this number. Okay, no problems there. My problem occurs when I try to move these same formulas to another sheet. in this case, sheet 2. It pulls all kinds of strange things.
View 4 Replies
View Related
Sep 12, 2013
Formula to pull the lowest number that falls in Cells I2:L2 and the number must be 0 or Greater. Some of the numbers might be negatives and I am trying not to pull those numbers.
View 3 Replies
View Related
Oct 14, 2008
I need to pull a reference number and assign it to all records in a particular section. The code I recorded keeps going back to the first section. Also would like it to repeat until all records have the reference number attached.
06010-100Beginning Balance07/09/2004AD06011-10007/23/2004AD06011-10008/06/2004AD06011-100
06011-100Beginning Balance07/09/2004AD07/23/2004AD08/06/2004AD
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 10/14/2008 by acantu
'
'
Selection.Copy
Selection.End(xlDown).Select
Selection.End(xlDown).Select
Range("C7").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("B7").Select
Selection.End(xlDown).Select
Range("C63").Select
Range(Selection, Selection.End(xlUp)).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Selection.End(xlToLeft).Select
Selection.End(xlDown).Select
Selection.End(xlDown).Select
Selection.End(xlDown).Select
End Sub
View 9 Replies
View Related
Jun 10, 2008
What formula or function truncates a text field that is in the following consistent format:
number. name
ie. 3. Super Bella
and 150. Taoist
I wish to truncate the field so I have just the integer without the dot, space or word(s).
Tried Len, Left & Replace but they require a specific number of characters. Since the number can be 1 to 3 digits long, this doesn't work.
View 3 Replies
View Related
Nov 4, 2012
I wish to Automatically copy the TEXT that is written from Spreadsheet 1 cells D5 to F5 to Spreadsheet 2 cells F5 to J5 .... a similar range of cells.
Is there a formula I can use or do I need to venture into the programming side of things.
View 7 Replies
View Related
Oct 16, 2007
I have sheet 1 which has titles set up in column A. These titles are pulled from Sheet 2 (same column). I also have a date listed at the top of sheet 1 (in the same row as dates in sheet 2, but sheet 2 contains multiple columns for each quarter). I would like to set something up where if the date in sheet 1 matches the date in sheet 2 it pulls the corresponding values from the named rows in sheet 1. I tried using sumproduct but its not working b/c it wont take TEXT. Plus I want it to search across all of the columns, not just one.
Below is sheet 1 and I would like to be able to pull 1Q08 values from sheet 2 (which contains the values for every quarter). This is my formula (the first part is the date, the second is row titles, the third is the value (although its only pulling from one column, it s/b pulling from all) :
=SUMPRODUCT((Sheet2!B1:B6500=sheet1!B6)*(Sheet2!A1:A6500=Sheet2!A7)*(Sheet2!BA1:BA6500))
Is there someway to fix this, it would be a huge time saver.
--------------------------------------
1Q08
Revenue
Direct Costs
Gross Profit
Indirect Costs
Stock Based Compensation
Restructure Charge ....................
View 4 Replies
View Related
Apr 3, 2009
I'm trying to pull text out of a middle of a long string of data located within one cell. The string is not always the same size and the text I need to pull out is not always in the same spot
For example - in this string
source=google&adgroup=Jimmy Bop (Broad) >>/yes/klingon/GetStarted.aspx >>/finace/success.aspx?
I want to pull out the text "Jimmy Bop (Broad)
It will always be between "adgroup=" and ">>/" (although sometimes the character ">>/" will appear multiple times within the string.
View 9 Replies
View Related
Aug 8, 2007
Consider the following:
Cell A1 has this text in it:
WT*495*001559369~G3**D1234567**XX**20070626*1740****DHLC*20070807~B4G*RX*1~C32*UDD**UAD~ITQ*05*3****20030711*12~N1*FF*LALALA*25*00802109480~N3*12A46 KRESSASLE
Is it possible to somehow filter, search, find, etc, and basically clean cell A1 so that in the end it has just G3**D1234567?
I made a search macro, but the problem is there is so much text that it takes 2 seconds per cell to do a find. There are 6 columns with 65000 rows. I assume if I clean up each cell and do a "xlWhole" instead of "xlPart" in the find code, it will be much faster.
A1 = WT*495*001559369~G3**D1234567**XX**20070626*1740****DHLC*20070807~B4G*RX*1~C32*UDD**UAD~ITQ*05*3****20030711*12~N1*FF*LALALA*25*00802109480~N3*12A46 KRESSASLE
Result:
A1 = G3**D1234567
Possible?
Note that all rows do have a "~G3**" before the actual number I am doing a search for.
View 5 Replies
View Related
Aug 30, 2007
The title of this thread is the best way I can describe what I wish to accomplish. You see, I have a column of information requests in an Excel spreadsheet, each of which his tagged with an alphanumeric request number, and I wish to sort and/or perform and min/max function on the request identification. However, each ID has a IDR in front of it - for instance, IDR000452 - and the letters make the system read the contents as text. Does anyone know of a formula I can use to create a new cell which contains only the numerical contents of the above example?
View 4 Replies
View Related
Apr 18, 2008
I have some code that loops through a bunch of text files, finding any that contain an href, and printing that entire line (if found) into excel. These text files are source code for a website. What I need to do, is within this line being pasted, is grab only a few things from within some tags such as the info between <title>This is the title</title> the tags and print it into a colum, I do not want the entire line, just certain things that are in the line. I have supplied the code that I currently have. I have it so that 'WholeLine' contains the entire line. Can I manipulate that with something like Cells (myR, 3).Value = WholeFile(?).
Sub CheckTextFilesForHREFs()
MsgBox "Press OK to begin report"
Dim WholeLine As String
Dim myPath As String
Dim workfile As String
Dim myR As Long
View 9 Replies
View Related