Populate Fields With Corresponding Cells Of Found Value
May 20, 2008
I have a spreadsheet thats split into two tabs.
One is a sort of Tracker sheet, where we input an Address for a customer.
The other sheet is an Associated address sheet.
Each address on the Tracker sheet has an unique case ID, I.e 001
What I want is if we type 001 on the 'Associated' sheet, then it will auto populate the address fields on that sheet, based on the other sheet.
I tried a VLOOKUP in terms of changing the column number and naming the range of case id's =vlookup(a2,Case,4) but it just came up with a #n/a
View 4 Replies
ADVERTISEMENT
Aug 11, 2009
i have two fields with dates - one field A1 for date authorised (for a data request) and one field B1 for date actioned (data request)
i need a formula to populate in C1 the following:
if A1 is blank then C1 is 'not actioned'
if B1 is blank then C1 is 'not complete'
if both contain dates then C1 to calculate the number of working days between the dates eg. A1 10.08.09, B1 11.08.09...C1 = 1 working day
View 3 Replies
View Related
Jun 14, 2013
We have to process these vouchers with the following data items:
Log ID
Vendor Name
Invoice Number
Invoice Date
Cost Code or GL Acct
Amount
Description
Payment Approver
Date
We get the vouchers from another department and then we're required to key them into the billing system. I'm looking for a way to automate some of this task because it's getting tedious to key in all the information into the billing system when it's already on the voucher form.
We have a barcode scanner and am wondering if we could use that to scan the voucher and automatically populate the fields into Excel.
View 6 Replies
View Related
Oct 16, 2008
I have a Drop down box on my main sheet with the options "plan 1" "plan 2" "plan 3" etc... these options read from a list i setup on sheet 2 using the data validation list feature.
When i choose one of the plans from the drop down box I want it to populate the fields D13:D20 with data from more defined lists in the 2nd sheet.
View 9 Replies
View Related
Oct 7, 2009
I've been racking my puny brain for an hour trying to figure this out. Basically, my problem is with the last 2 invoices listed. If one invoice has "PO CLOSED" on it, I want all other invoices on that same PO to say the same thing. Surely I can do this with a formula or conditional formatting, but I cannot think of how.
PO #Invoice #DateInvoice TotalDept.ActivityElementPO AmountPO Amount RemainingPO Status0707955289651/12/09$812.9075105854035$2,960.28$59.380707955459806/15/09$667.2475105854035$2,960.28$59.380707956486827/7/09$812.9075105854035$2,960.28$59.380707955584669/29/09$607.8675105854035$2,960.28$59.380719750913336/18/09$947.7975105853305$5,000.00$3,117.210719750915917/17/09$935.0075105853305$5,000.00$3,117.21PO CLOSED
View 9 Replies
View Related
Dec 17, 2009
What I am trying to achieve is to get the UserForm to populate from information in the Database. In column AD I have a formula which produces a number when an item becomes due. I would then like label1 (lblReg1) to populate data from the same row in column A and label2 (lblDate1) from column S.
I then have a CheckBox (chk1) next to each pair of labels for the user to confirm the task has been actioned and when the CommandButton is clicked I would like the result placed in column AE in the corresponding row.
I have tried utilising code from another userform I have but I cant get it to work and I believe this is to do with the 'ActiveCell' reference as there is no Activecell (you can probably guess I am new to this). Example:
Sub UserForm_Initialize()
If Sheets("Database").Range("AD3:AD5000").Text = 1 Then
lblReg1.Caption = ActiveCell.Offset(0, -29).Text
lblDate1.Caption = ActiveCell.Offset(0, -11).Text
Me.chk1.Visible = True
End If
End Sub
(All the Labels are blank and will be filled hopefully by code, all the CheckBoxes are set to Visable = False at Initialize stage, I will be using Me.Height = ?? to expand the form to visible check boxes)
I have attached a small selection of my workbook where I have set up the userform and named the labels.
Can anyone amend the code to achieve the desired result or alternatively put me straight on the correct way to do this.
View 9 Replies
View Related
May 1, 2013
I have a table of data from which I would like to extract the information which is listed horizontally.
Column A Column B Column C Column D
Code Name Address Locality
SMITJOHN John Smith 123 Bell Rd Perth
On the 2nd worksheet I have a form which I have designed to which I would like to extract the information from the 1st worksheet.
I am hoping that it is possible to start entering a code based on some reference on the Name. Eg SMITJOHN
Once the code is true or correct it will populate certain cells on the 2nd worksheet automatically.
I work in transport and am looking to streamline some of the paperwork and am trying to do it within the means I have available to me.
The format of the 2nd worksheet is;
CODE: SMITJOHN
NAME: John Smith
ADDRESS: 123 Bell Rd
LOCALITY: PERTH
View 3 Replies
View Related
Mar 14, 2014
I have the catalog #s of some products in column A, and I have the brand in column B, Product name in Column C, and the model # in Column D. I want to create a formula that if I select the catalog # it should autopopulate the brand in column B, product name in column C and the model # in column D!!
And I have the brand/product & model # in a different sheet!!
View 6 Replies
View Related
Sep 20, 2007
I want to find the subtotal amount on one worksheet, which is two columns over from the text, "Sub Total:" on the same row. The subtotal line floats up and down each week. Once I can find the subtotal I want to populate another worksheet with the data.
View 5 Replies
View Related
Aug 23, 2013
Looking to create a calendar in excel and auto-populate the content with specific fields I enter. I know how to create an excel gantt chart but I'm really looking for a calendar view instead of a series of columns with dates. I reviewed the original post on Auto-Populating Excel Calendar but was confused by the instructions. (1) create a calendar in excel and (2) show me how to populate the calendar with fields like (dept and project name) into the dates on the calendar? I have two dates that are important (a due date for the project and when that project will be published). Is there a way to have both dates show info otherwise the most important date will be the publish date?
View 1 Replies
View Related
Apr 24, 2007
When I open an excel 2000 spreadsheet in 2003, the formulas fields do not populate data just #N/A. I can see data just fine in Excel 2003 viewer.
View 5 Replies
View Related
Jul 14, 2007
I want to enter a value in a textbox, search for it in an worksheet, and populate other textboxes with adjacent values if the value is found. Anyway, the problem is that if the value is not found, I get a debug error.
Dim test1
test1 = TextBox1.Value
Worksheets("data1").Activate
Find_Range(test1, Cells, xlFormulas, xlWhole).Select
TextBox2 = ActiveCell.Value
TextBox3 = ActiveCell.Offset(0, 1).Value
I'm sure there's far better code to do what I need, but I tried to keep it simple. With the above code, it only works if the value is found. If it's not, I get an error. So how do I make it so that if the value is not found, the value of the textbox2 is "Not Found" or something...
View 3 Replies
View Related
May 27, 2014
I have a userform where I can select multiple items in a listbox and add them to another. I also have the ability to filter the first listbox to make finding items easier. The issue I am having concerns the clear filter button. As currently designed, the clear filter button will reset the initial listbox back to its default values. Ideally, I would like it to reset to the default values excluding those values that currently in the second listbox.
The entire code is below for reference, but it's the sub ClearFilter_Click that I am struggling with.
[Code] ....
View 2 Replies
View Related
Jul 17, 2014
What I want to do is Average out a range of cells "F4:F343". That's the easy part =average(F4:F343). However I want to exclude any numbers for that average if data in coloumn "Q" = "FMC"
Would that look anything like:
=average(F4:F343)/countif(Q4:Q343, "<>FMC")
I'm also displaying it as minutes in a day so i added *24*60 to the end of the formula and formatted to Number/.00. I've entered the formula and it will calculate but when i enter FMC to the appropriate area the average wont change.
View 2 Replies
View Related
Jun 20, 2014
I'm looking for a function (I'm thinking 'SUMIF') that will search through column A of Sheet 1 and add column B of Sheet 1 when the cell in column A contains one of the strings listed in column A of Sheet 2. I can only find information when searching for single strings or cells.
View 8 Replies
View Related
Jun 23, 2007
I need to mine a huge spreadsheet of about 30,000 cells and make columns from specific words. As in.
I need to search for all words "table" even if the word is "My_table" or "aTable" and suck them into one column. I have to do this one several words.
Let me know if you have the solution. I am trying to write something but I am unsure of the syntax at this level.
View 9 Replies
View Related
Apr 5, 2009
I have no clue whats going on with this data. Most of the values transfer from the 'Log' to the "Table' with no problem but for some reason, that escapes me at this time, all do not.
View 3 Replies
View Related
Jan 26, 2013
I'm currently working on a maintenance task sheet for a couple of generators. I have successfully created button macros to input dates. I would like a macro to copy all the cells that are RED (due to a condition rule) plus their associated fields to the left from worksheet "Schedule" to worksheet "Tasks Due". [URL]
Here's the pre-programming flow, I just don't know the code to do it:
Scan worksheet "Schedule" for red cells in following Range
H8:I16,H18:I22,H24:I35,H37:I41,H43:I49,H51:I59,H61:I72,H74:I75,H77:I84,H86:I89,H91:H100
If cell = red Then Copy Row A:I
Insert Row into sheet ("Tasks Due")
If red cell is in worksheet "Schedule" H8:I16 then insert copied cells in worksheet "Tasks Due" one below cell = Fuel System
If red cell is in worksheet "Schedule" H18:I22 then insert copied cells in worksheet "Tasks Due" one below cell = Lubrication System
[Code] .....
If my uploaded workbook doesn't work I've linked screenshots of my document.
Top of "Schedule" worksheet: [URL] .....
Middle of "Schedule" worksheet: [URL] .....
Bottom of "Schedule" worksheet: [URL] .....
"Tasks Due" worksheet: [URL] .....
View 4 Replies
View Related
May 23, 2014
I am trying to build a staff roster. The staff rotate over a 4 week cycle. the name of the staff member, and their shift needs to be looked up from the key then matched with the particular week. the name and shift then need to populate specific cells.
I have attached the worksheet so you can see what i am trying to achieve.
View 2 Replies
View Related
Aug 12, 2009
how to even start this macro but i will like the macro to find duplicate with thin the same row and highlight it i have done with conditional formatting but the spreadsheet is about 3000 rows excel performance is super slow if anybody has a macro out there.
View 9 Replies
View Related
Sep 12, 2012
I am trying to list the row addresses for found cells, however I am not sure how to achieve it, below is my script.
Code:
Option Compare Text
Sub TestN()
Dim rng1 As Range
Dim s1 As String
Set rng1 = Range("A1:A100")
For Each cell In rng1
If cell.Value = "Help" Then
[code]....
View 9 Replies
View Related
Jan 23, 2013
im having when it comes to creating a drop box. When I click on a cell or several cells and go to click data validation, I get "No cells were found"
View 2 Replies
View Related
Oct 1, 2013
I am new to VBA and created the following code:
Sub UpdateSchedule()
'
' UpdateSchedule Macro
' Save changes to schedule, create import table for MRP, and timestamp.
'
' Keyboard Shortcut: Ctrl+Shift+U
[Code] ...
When I run it it tells me that "No cells were found and the debugger highlights the following line of code:
Range("Import[FG GP'#]").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
I have tried inserting:
On Error Resume Next
Range("Import[FG GP'#]").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
On Error GoTo 0
This makes everything work except the deleting.
View 7 Replies
View Related
Oct 4, 2009
Private Sub Worksheet_Activate()
Sheets("Search Inv").Protect UserInterFaceOnly:=True
ActiveSheet.Range("A17:F37,C39:C42,F39:F42").Select
Selection.SpecialCells(xlCellTypeConstants, 23).Select
Selection.ClearContents
End Sub
Above is meant to clear the contents of cells that contain formulas while keeping the formulas.
The sheet is protected ... no password
What is wrong ... when I activate the sheet I get: Run Time error 1004 / no cells found
(All cells that are meant to be cleared are selected ... they just don't clear)
View 9 Replies
View Related
Jul 5, 2007
I am looking for a visual basic script (macro) wherin I can copy fields from one sheet based on condition to main sheet. Sample sheet is enclosed as sample.xls. Here is what I intend to do: two tabs are there in sheet. master and work.
Need to check in "work" tab sheet if x name exists and if yes then copy three cells namely Input, Direct/.Indirect and code and paste all three cells in master sheet in front of X name wherever x name appears in resource name column.... Ultimately work sheet will be searched for all names which are in Master Tab and three field will be filled accordingly. Finally all the resources in resource Column will have three addditional field in mster sheet taken from work sheet.
View 5 Replies
View Related
Aug 28, 2007
I am working for a non profit humanitarian org and I am trying to modify an excel 2003 spreadsheet to change the formatting (color) in one cell based on the value of another cell. Obviously this is easy with conditional formatting, except that I have a list of around 25 unique values and formats.
Could anyone point me in the direction of some code that can do this? I am a relative novice to Excel when it comes to VBA and scripting things.
View 5 Replies
View Related
Feb 5, 2008
I have a list of email addresses in column A of a sheet1, and a list of "Do Not Send" email addresses in column A of sheet2. I'd like to have a macro that would delete any cells in column A sheet1 that were listed anywhere in column A of sheet2.
View 5 Replies
View Related
Apr 3, 2009
I am trying to figure out how to do the coding for a command button in a userform I've created. It has 5 textbox fields. I want the command button when clicked to transfer the data in those 5 fields to 5 specific cells in a hidden sheet. Then I also want that button to launch a word document.
Anyone know how I can go about this or where I can go that explains the specific coding?
I've tried searching with mixed confusing results & read through http://www.contextures.com/xlUserForm01.html#Top & http://www.theofficeexperts.com/down...ExcelDownloads examples.
View 7 Replies
View Related
Sep 5, 2008
I have a spreadsheet (range A1:P5000). B2:B5000 would contain cheque numbers. Many of the cheque numbers would be repeated and would have common data in columns C, D, E, F, G, H, L and N.
I am trying to get VB code to copy and paste the common data when a user enters a cheque number.
For example:
When a user enters a cheque number in B3, VB would check B2 for a match. If a match is found, then VB would copy C2, D2, E2, F2, G2, H2, L2 and N2 and paste them in C3, D3, E3, F3, G3, H3, L3 and N3. If no match is found, then the user would have to manually enter the data in C3, D3, E3, F3, G3, H3, L3 and N3.
When a user enters a cheque number in B4, VB would check the B2:B3 for a match. If a match is found (in B2 – for example), then VB would copy C2, D2, E2, F2, G2, H2, L2 and N2 and paste them in C4, D4, E4, F4, G4, H4, L4 and N4. If no match is found, then the user would have to manually enter the data in C4, D4, E4, F4, G4, H4, L4 and N4.
When a user enters a cheque number in B100, VB would check the B2:B99 for a match. If a match is found (in B90 – for example), then VB would copy C90, D90, E90, F90, G90, H90, L90 and N90 and paste them in C100, D100, E100, F100, G100, H100, L100 and N100. If no match is found, then the user would have to manually enter the data in C100, D100, E100, F100, G100, H100, L100 and N100.
View 14 Replies
View Related
May 8, 2009
I'm trying to use the .Find and .FindNext functions to find how many cells in Worksheet("WAS") have the same value as the ActiveCell (B3 in this case) on the Worksheet("DDS"). Basically i'm just trying to figure out how many times this sub goes through the Do While loop. However, "tick" keeps coming back as a value of 1. I know there's something I must be doing wrong or something i'm not allowed to do but i'm still pretty new at this.
View 2 Replies
View Related