Populate Name From One Worksheet To Another After Finding A Value?
Feb 14, 2014
I have my training file that is currently set up and working how I want it to, however I would like to go one step further if it's possible.
on the FIRE EXTINGUISHER TRAINING column there is one person out of date and 14 people that need the training, how can I populate all the name that need this training onto sheet 1 into the box that I have created. I'm wanting this to happen automatically so I don't have to retype the name onto this sheet.
View 14 Replies
ADVERTISEMENT
Jul 11, 2012
I have to complete information providing dates and names for a long number of individuals. Is it possible to set up the spreadsheet so that if you enter a date next a persons details in on worksheet their information is automatically updated in the relevant ones?
View 2 Replies
View Related
Nov 26, 2012
How do I populate a second worksheet with only the preselected highlighted rows of cells from another worksheet.
This way I will end up with only the selected data from the first worksheet in the second worksheet.
View 9 Replies
View Related
Dec 21, 2012
VB:
GetData FName(N), "Worksheet1", "H10:H10", destrangeName, False, False
is there a code i can use to choose the 1st worksheet insteading of selecting the worksheet1 in workbook? Because there are different file that got different worksheet name. E.G. worksheet1, worksheet2 or maybe Addidas, Nike.
View 3 Replies
View Related
Jul 29, 2013
I have three work sheets.
Worksheet A contains the Names that I want to find in Worksheet B and C. Trouble is, the format of the names are different in each Worksheet.
For example:
Worksheet A, Column 'Name':
Kyle Rowlie
Worksheet B, Column 'Name':
Kyle Rowlie, Head of Excel
Worksheet A, Column 'Name':
Rowlie, Kyle
What I need to do is create two columns in Worksheet A that identifies Kyle Rowlie is duplicated in Worksheet B and C.
View 5 Replies
View Related
Jun 13, 2009
I am struggling to populate a listbox with data from a different worksheet.
If it is the current worksheet works fine.
The worksheet is called "Drawing Data" ..
View 2 Replies
View Related
Feb 9, 2012
I have a number of spreedsheets that may have a 1000 worksheets. Is there a way to find a particular worksheet using a search by the name?
View 9 Replies
View Related
Feb 25, 2014
I am hoping to populate a column with data from another worksheet. Basically, I have a set of columns, one for Location, Zip Code, Longitude, and Latitude. I want a formula to say, if the location equals X, then pull the associated information from the other worksheet. -- I assume it would be an if or vlookup, or combination.
View 4 Replies
View Related
Jul 31, 2007
Is it possible to automatically populate a summary worksheet, based on matches in other worksheets within the workbook which match a particular date?
I have a workbook with 15 worksheets--each sheet is setup like a database with 4 columns (fields). One column is for the date.
I would like to populate a summary sheet that serves as an executive summary of all "records" which match a particular date.
View 10 Replies
View Related
Mar 18, 2009
I have a macro that copies data from 6 different worksheets into one summary worksheet - based on certain criteria - I need a way to note on each row of the summary sheet which worksheet it was copied from. Each worksheet is specific to a salesperson, so ideally I would like that salespersons last name to populate in column B on the summary page for each row of theirs that is copied over....here is my current macro I use to copy the data: (this code is repeated for each sales persons sheet - "Blankenship", "Dew", etc...) I have attached a scaled down version of my file.
View 2 Replies
View Related
Oct 19, 2009
I've only just starting using Excel for anything other than basic calculations and have got a little stuck with a user form. On my attached spreadsheet I am trying to set up a form for staff incident reporting. There is a Contents worksheet and then each incident has it's own detailed worksheet. The user will click on 'create new incident' on the Contents page.
This opens a user form. From this form I want to populate the contents worksheet. I then also want it to populate the relevant incident worksheet. I can populate the contents page but I need help getting the correct Incident worksheet populated at the same time. Hopefully all will become clear running the file.
View 5 Replies
View Related
Apr 15, 2013
I'd like to create a macro such that when a person's name is typed in a cell, a separate set of cells populates with data pulled from a worksheet containing the person's data.
So, for example, I have created a scorecard template. Rather than have 50+ scorecards for each individual, I'd like to have one template upon which the individual's respective data can be pulled into the appropriate cells based on the name entered in another cell on the template (or a pop up in which the name is entered).
View 3 Replies
View Related
Mar 8, 2008
I have an excel worksheet that I need to populate with a few thousand data points from MS Access. Currently I do this through vba code somewhat similar to this:
rst2.Open myQueryString, cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect
Do Until rst2.EOF
wsht1.Cells(1+counter, 1) = rst2!val
rst2.MoveNext
counter = counter +1
Loop
rst2.Close
Now this method works, but it is pretty slow to load. I remember reading as a general excel optimization technique you should avoid using long loops accessing cells on an individual basis.
Is there a better way for me to dump large clumps of Access data into Excel, instead of populating it cell by cell?
View 9 Replies
View Related
Jun 4, 2009
I am currently working on a project that has six worksheets with information to populate into one master worksheet.
I would like it to work as if the information is not in the first worksheet to search the second sheet and so on and so forth.
Here is the complex part, the information that I need does not always appear in the same spot…Example: Sheet 1 has Weekly Benefit under B20, Sheet 2 has Weekly Benefit under B22, and Sheet 3 has Weekly Benefit under B23.
Here is what I have, unfortunately not working very well for me…
VLOOKUP(A2,INDIRECT("'"&INDEX(MySheets,MATCH(1,--(COUNTIF(INDIRECT("'"&MySheets&"'!A2:A200"),A2)>0),0))&"'!A2:C200"),3,0)
View 9 Replies
View Related
Jan 11, 2010
I've found a great userform on this site that allows you to populate a datasheet as well as delete or amend datasheets. It was by dodger7 within Database. Very useful. I've adapted this to my needs and it works great apart from i cant amend the userform that shows data when you select delete or amend. I've had a go but don't understand how i can create my own feilds and set it up in order. When i go in to the code i can veiw the delete and create/amend userforms but this is a search function relating to a reference number. Once you select Find it brings up another form and that is the one which i need to adapt to show my new feilds. I have attached the sheet so you can see my problem. I was wondering if anyone can advise as i love this userform/database method but can't complete the changes to my needs.
View 2 Replies
View Related
Aug 26, 2006
Attempting to populate a listbox from a worksheet range at runtime As far as I can tell the code is correct But the listbox returns results from ws("Data") not from ws("WA")
Sub comp_bs_AnalyzeAccounts()
Dim wbBook As Workbook
Dim wsWA As Worksheet
Dim rngWA As Range
Dim lngRows As Long
Set wbBook = ThisWorkbook
Set wsWA = wbBook.Worksheets("WA")
comp_bs_XTract
lngRows = wsWA.Range("A65536").End(xlUp).Row
Set rngWA = wsWA.Range("A1:A" & lngRows).................
View 6 Replies
View Related
Dec 18, 2006
I have a master list of people. (call it master) I have 1 other worksheet that should contain everyone aged 15 and up (call it must progress). One of the columns on the master show's their ages. I was hoping excel would automatically populate the sheet based on the age from the master list. So, for example. On the Master list, Joe Smith is 17. I would like Each cell in the Joe Smith Row to automatically copy itself to the must progress worksheet because his age is over 15. The formula would be based off the age on the master.
View 2 Replies
View Related
Feb 21, 2008
I am populating a 2nd temporary worksheet from a primary using autofilter which works just fine. I have been asked to set it up to populate the 2nd sheet using the same autofilter criteria across two or more of the primary sheet columns. I have been looking through the forums and found an article in which this process is described, #2 The power of Autofilter in VBA - Part 2, and I would like to ask if this will do the job for me.
I did attempt to create my own code, but it didn't work with a loop that I created. I do use input boxes to gather criteria from the user. I have put a copy of my code below which doesn't work, but need to know if the code in the article mentioned above will work?
Option Explicit
Private Sub UserForm_Initialize()
On Error Resume Next
' Dim rheadings, cl As Range
'
' Set rheadings = Worksheets("CONTACT").Range("A1:F1")
' For Each cl In rheadings
' Me.cbxSearchWhere.AddItem cl.Value
' Next cl
End Sub
Private Sub UserForm_QueryClose(Cancel As Integer, _ ................
View 4 Replies
View Related
Sep 27, 2009
Is there a simple way using VBA to find a date in the format of dd/mm/yyyy? I have a range on every sheet from A1 to IQ1 with dates already entered. I want to add this vba to some other code so the user can go straight to the date entered on the worksheet.
Using the edit find, it can find dates easily. Can this function be replicated through VBA?
View 9 Replies
View Related
Mar 31, 2007
I found a topic here that wanted to know how to remove links, I wanted the same thing.
I found an add-in that identified and could remove any links in the workbook depending on the response to the dialog box. So far, so good.
But it found a link that was located on another page, this link was linked to a third workbook. But what the link is doing or what its association is w/ the other workbook is a mystery. How do I see what this link's purpose/function is?
View 9 Replies
View Related
Dec 3, 2012
I have main worksheet (target a) that I am trying to populate data from target(worksheet) b. The data I am trying to get from target b changes every month,(declining balance) based on a new month. So how can I get financial data from different cell each month from "b" into same cell in "a"? (so "A" # would be overwritten in same cell based on new # from "B". I have tried VLookup but can't be doing something correct.
View 2 Replies
View Related
Jul 31, 2012
How can I auto populate certain relevant cells that has been chosen by input in a different worksheet?
Example:
Input cells in Worksheet 1:A1= 100 (Data to Show in Periods chosen below)
A2= 3 (begin period)
A3= 5 (end period)
Result on worksheet 2: A1(PERIOD 1) = 0
A2(PERIOD 2) = 0
A3(PERIOD 3) = 100
A4(PERIOD 4) = 100
A5(PERIOD 5) = 100
A6(PERIOD 6) = 0
A7(PERIOD 7) = 0
View 4 Replies
View Related
Nov 26, 2012
I'm trying to figure out a way to populate multiple cells automatically with certain information after entering info into a single cell on a separate worksheet in a separate workbook.
Our "master" sheet has 22 total columns (A-V), and our weekly "status" sheet only has 7 total columns (A, E, P, L, M, N, R).
Column A on both sheets is labeled "Sample Number". On the "status" sheet I want to be able to type, for instance, "2012-228" into A2 and have the corresponding values from Columns E, P, L, M, N, R on the "master" sheet automatically populate into B2-G2 on the status sheet if this is at all possible.
View 5 Replies
View Related
Mar 18, 2009
I have a macro that copies data from 6 different worksheets into one summary worksheet - based on certain criteria - I need a way to note on each row of the summary sheet which worksheet it was copied from. Each worksheet is specific to a salesperson, so ideally I would like that salespersons last name to populate in column on the summary page for each line of theirs that is copied over....here is my current macro I use to copy the data: (this scrpit is repeated for each sales persons sheet - "Blankenship", "Dew", etc...)
View 5 Replies
View Related
Dec 28, 2009
I am working on a label printing set-up for my work. So far I have completed the userform that formulas will be entered on and printed from. I had an idea of being able to save these formulas for recall later. I included “Save” and “Recall” buttons on the userform. My plan is to have my co-workers click on the “save” button and be able to enter an additional piece of data and have everything saved to another worksheet labeled “database”. If you look at the said sheet you will see a column for “customer”, “color” and then the colorants. Due to the wide variety of colorants and quantities available, I set it up so that I have the colorant and under that Oz and 48ths. I am trying to figure out a code that will populate that across the row.
Then I want to be able to push “recall”, find my customer and then color in a combobox and have that populate my label.
At this time I am stuck. Part of my problem is I don’t quite know the terminology to google.
Attached is the file I am working with. The only sheets that need concern anyone are "main" and "database". The others are from the original file and I will be deleting those once I am done.
View 11 Replies
View Related
Nov 16, 2013
How can I adapt the following code to only show Columns; A, B, E, F and J from Sheet(3) into a Listbox called lbx_LiveAllocations?
As it stands, this code is only adding Column A. My only alternative has been to add all columns on the worksheet to the listbox, however there's a lot of unneeded information between.
Code:
Dim LR As Long
Dim ctrl As Object
Dim i As Long
Dim dic As Object
Dim arr As Variant
Set dic = CreateObject("Scripting.Dictionary")
[Code] ........
Erase arr
View 2 Replies
View Related
Mar 17, 2014
I need to populate combo boxes from a list of data on a separate workbook. I set everything up then found out the way I did it the seperate workbook must be opened before the drop downs are populated with the information. Is there a way to not have the linked workbook open?
Also these workbooks are all contained in their own file that must be duplicated on to other machines and into other larger files. I need that linked information to always follow the workbook contained in the same file. Another words if I have the original file "A" and duplicate it and now have a file "B" I want the combo box in file B to be linked to the workbook in file B.
View 2 Replies
View Related
Sep 27, 2006
I have a userform that stores data (1 row record with 20 columns) to a worksheet.Is there a way to grab the data back in (other or the same)userform, ambent(correct) data and store them back in the same row in the worksheet?
View 2 Replies
View Related
Mar 25, 2014
I've defined a string array and would want to use it as a basis for a vlookup. Is it possible to find the elements of the array directly in the worksheet ?So far I've got :
[Code] .....
View 2 Replies
View Related
Mar 6, 2012
I have created a worksheet that uses lookup for the numbers that are in sequence but am unsure what formula to use when trying to lookup non sequence numbers as shown below.
Sequence No's
Cell A1:A10 would be 1,2,3,4,5,6,7,8,9,10 (as example)
Non sequence No's
Cell B1:B10 would be 2,5,1,7,3,8,4,10,6,9 (as example)
What do I use to lookup, if cell C1 = 1 and needs to find the No 3 from the Non sequence cells?
View 5 Replies
View Related