Populate Data Based On Tab?

Jan 9, 2012

not sure if this is possible but can you populate cells on one tab based on data from a specifc tab.

For example say I have 3 tabs, Summary, Old & New. So if I had a drop down box in the Summary tab that had the options of Old & New and based on which is selected it will populate from the approporiate tab.

View 5 Replies


ADVERTISEMENT

Pull Data From Sheet Based On Criteria - Populate UserForm And Ask For Missing Data

Feb 8, 2014

I have a spreadsheet that is updated weekly -- but every week new info is added that needs a user to input corresponding info. I use a vlookup function to link to another spreadsheet that populates the info from previous weeks and the info that is missing shows up as #N/A...

First I was using a msgbox function to get the info:

HTML Code: 

For Each b In myrange
If Application.IsNA(b.Value) Then
Employee = b.Offset(0, -2).Value
SSID = InputBox("Please enter ID# for " & Employee & " :", "New Employee Found")
b.Value = SSID
End If
Next b

But it can be up to 30 different new employees... and that is time consuming.

I would like to make it more user friendly by creating ONE userform that displays all of the employees as labels -- has a text box in which to put the ID # -- and then has a drop down box to choose the type of employee (2 options). I want all of that info to go back to the reference spreadsheet so it will be saved for following weeks, and then redo the vlookup to get the info into the new weekly spreadsheet (I can do that part)....

HTML Code: 

Private Sub CloseButton_Click()
Unload UserForm1
End Sub

Private Sub ComboBox1_Change()

[Code] ......

View 2 Replies View Related

VBA To Populate Data Based On Criteria?

Jul 16, 2014

I need to populate data based on criteria.

The criteria has been attached as follows.

Sample Test.xlsx

View 2 Replies View Related

Populate Data Based On Weekday

Feb 25, 2014

I have worked enough with vlookup and addif functions,

Now I have a different problem.

Please find attached file.

Sheet7 contains transactions numbers based on weekdays.

There are other 6 sheets representing weekdays 1 to 6.

What is the easiest way to populate the relevant transactions in relevant sheet?

For example All transaction numbers from sheet7 that relate to weekday 4, must be copied in column B of sheet "4".

View 6 Replies View Related

Populate A Cell Based On Range Of Data

Mar 5, 2009

I need to modify the code below:

PHP
Sub Macro1()
 Macro1 Macro
    Dim strbody As String
    For Each cell In Range("B2:B640")  
    Sheets("MASTER").Select
    Cells.Select
    Selection.Copy
    Sheets("Final Merged").Select
    Sheets.Add
    ActiveSheet.Paste  
   Next
End Sub 

The code above is creating a new sheet for each different value in column B. I would also like to take that value and place on the newly created sheet in cell A17.

Also, how would I get the sheet to be ranamed to match the value in cell A17 of the newly created sheet?

View 3 Replies View Related

Populate Data Based On Dropdown Menu?

May 14, 2013

I have a list of staff in cell A1 in a drop down list. In cell A2, I would like Excel to populate automatically the branch from which the staff is from when I choose the staff name in cell A1.

View 3 Replies View Related

Populate Cells Based On Data In Another Sheet

Feb 24, 2010

I run this macro that populates 7 cells based on data in another sheet. It seems that every sheet that have formulas that point to this sheet are being stuck in in the screen updating somehow?

Basically when I press F9 to calculate or change any cell that makes the sheet calculate it has like a screen burn in of all the sheets that are being calculated. I have been able to use this as a workaround:

Private Sub Workbook_SheetCalculate(ByVal Sh As Object)
Application.ScreenUpdating = True
End Sub

But I shouldn't have to do this and it slows it down as it runs through this specific code about 11 times for each sheet that is re-calculating. Something is getting stuck in memory or something that seems to be causing this issue. This is the code I am using and I am not selecting any cells or sheets, but it appears that when I walk through the code that an image of the sheet comes up on the screen? The code in red seems to be what is causing the issues, but I do not know why? I can pass the 2 workbooks along to someone so they can see the behavior if they would like? Just let me know.

Sub populateEmployeeData()
Dim srcWorkbook As Workbook
Dim foundEmployee As Range
Dim srcWorkbookName As String
srcWorkbookName = "XIP_Employee_Data_" & Left(ActiveSheet.Range("B9").Value, 31) & "_" & Format(ActiveSheet.Range("B10").Value, "MMMDDYYYY") & ".xlsx"
If IsWorkBookOpen(srcWorkbookName) Then..........................

View 9 Replies View Related

Populate Data In Table Based On Dropdown Criteria?

Jul 7, 2014

I've been trying to get a table to populate based on a couple of criteria. However, I've not come-up with the solution yet.

I have my dropdown selections in cells C2 & C3. The objective is to populate the table below the dropdown with data from the sheet named (very unimaginatively) 'Data'. Currently you see the selection AA-11 & Mar-14 in the Contract ID & Month cells. If I change this, the table below should auto-populate.

I've attempted using Vlookup, Index-Match. But it does not give me the desired result.

Also, the number of Products can change each month (although the file shows 4 for each month & each Account).

View 4 Replies View Related

Populate Cells With Data Based On Conditions From Ranges

Oct 13, 2009

What formula do I use to populate certain cells (E5:E10 and J5:10) based on match with condition (E3) with cells from and in the ranges C2:C73 and D2:D73 without creating milelong IF formulas? I am almost at the goal... past 10pm here in Thailand and still at the office

View 2 Replies View Related

Auto Populate A Third Cell - Based On Data From Two Columns

Mar 24, 2013

I have data in three columns

A B C
4.5 9.50 4.657
4.5 11.60 4.789
4.5 12.50 4.654
4.5 13.50 3.930
4.5 15.20 3.826

I need to be able to auto-populate the cell in column G based on values in columns A & B. If I type 4.5 in E2, and 13.50 in F2, G2 should auto-populate with the value from column C

E F G
4.5 13.50

View 2 Replies View Related

Populate Data In Listbox Based On Textbox Value Change

Dec 31, 2013

I need to make a userform, my userform contains (1 textbox , 2 labels , 1 listbox , 2 buttons(clear & cancel))

I tried my best but I unable to make it perfect..

I need to populate data in listbox based on textbox change, below is my condition

Required column Headers in listbox is "Acno Nbr","investname","amount"

- textbox contains only number if user enter text then msgbox should show plz enter numbers only & as well as in lable
- our account nbr which we are enter in textbox that should be start from "9" if user enter number otherthan "9" , msg should show invalid number & as well as in lable
- if user entering the number & whatever the number user enter listbox should populate required data whatever the account nbr starting with that number(textbox value)
- suppose if user enter only lessthan 10 & greaterthan 10 then in lable show invalid number u have enter lenght of account nbr(textbox value)
- suppose if textbox value is available in worksheet then in listbox populate the required data and in lable populate "yes it's power goal number"
- suppose if textbox value is not available in worksheet then in lable show "no records found - might be its not a power goal number"

See attached file..

View 11 Replies View Related

Populate Data Between 2 Linked File Based On The Dropdown Validations

Nov 27, 2009

How to populate data between 2 linked file based on the Dropdown Validations?

View 10 Replies View Related

Excel 2010 :: How To Auto Populate Data Based On ComboBox Selection

Jan 27, 2012

I have a question on how I could populate data using a combo box selection in Excel 2010.

For example, I have a table with values in Sheet 1, & below that table there is a combo box whereby another table of values can be populated based on the selection of the combo box.

Maybe to make it clearer...

Table 1
Name | Address | Phone number
Andy | Avenue 2 | 999
John | Road 5 | 998

Combo box (selection of names): John

Data derived from combo box - Table 2
Name | Address | Phone number
John | Road 5 | 998

how I could solve this Also, do let me know if this can be done without the use of VBA.

View 4 Replies View Related

Auto Populate Data Values Based On Dependence Of Two Drop-down Lists?

Feb 1, 2013

I am trying to create an easy fill spreadsheet for a game. I am looking to have data values auto fill based off of the entry of 2 prior drop down menus.

I would like to have values for "Move", "Str", "Spd", "Skill", "Armor", and "Value" auto populate after the "Race" and "Role" has been selected. Data for these auto fills I have put on Sheet2 while the main file itself is on Sheet1.

If possible I would like to have Value increase by 5 for every level in "Rank" on the sheet.

View 1 Replies View Related

Macro - Auto Populate The Data, Based On The Previous Cell Values

Aug 3, 2009

the post 5 for the actual issue. This being my first post could not update it correctly. I have put my views int he 5th post which will be more clear.

View 9 Replies View Related

Lookup Range Of Cells And Populate Specific Cells Based On Matching Data?

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

Using A Formula To Populate A Cell With Certain Data Based On Content Of Another Cell?

Jul 7, 2014

I am currently trying to create a spreadsheet whereby if I enter certain text in a cell in Column A on worksheet 1 that correlates with text in a cell in Column A on Worksheet 2, then the description in Column B in Worksheet 2 is entered into Column B on worksheet 1.

For example, if worksheet 2 has the following:

Column A Column B
XXXX PRODUCT 1
YYYY PRODUCT 2

and I enter XXXX in column A on worksheet 1, I want Column B on worksheet 1 to automatically enter PRODUCT 1.

View 5 Replies View Related

Populate Column Based On Change In Data Of Another Column

May 30, 2014

I am trying to find a way to populate a column based on the changes in the data of another column...

For example, I want to fill in the code column....so when the customers cost changes, I want a numeric code to populate & change. So for the first 5 lines, the code could be 21, and then when the cost changes to $37.51, want the code to change to 22.

CodeCustomer's Cost
$34.10
$34.10
$34.10
$34.10
$34.10
$37.51
$37.51
$32.50
$32.50
$33.48
$33.48
$34.10
$37.51
$37.51

View 7 Replies View Related

Auto Populate 2nd Combobox Based On 1st Combobox Data

Mar 30, 2014

I need to populate two combo boxes from excel sheet, the data will be like below:

Column A Column B
A 1
A 2
A 3
A 4
A 5
B 100
B 101
B 102

So from the above data, one combo box should hold unique values A & B.

On selecting a value from the 1st combo box A or B, respective values should be populated in 2nd combo box.

So the data should be like below:

If A is selected in the 1st combo box, then 2nd combo box should only show the values 1,2,3,4 & 5.
If B is selected in the 1st combo box, then 2nd combo box should only show the values 100,101 & 102.

Friends I need it in a macro and one important point is, this is dynamic and it is not static and the data can be more.

View 1 Replies View Related

Auto Populate Calendar Days Based On Month / Year And Auto Insert Work Based On Dates / Name

Jul 31, 2013

I am trying to auto generate a calendar based on two drop down menus - Month and Year.

Once the month and year is selected I want to import all work orders onto the calendar based first on the "Labor Name" found in the list of work tab, then assign each work order for that labor name to the respective date on the calendar for the month.

August PM Schedule Demo.xlsx

View 2 Replies View Related

Populate One Cell Based On Two Others

Apr 9, 2014

I am trying to populate a field in a Sheet 1 that is dependent on two other drop down fields that are chosen. Some of my data has the same names but different equipment.

Name
Equipment
Serial
Model

Jim Jones
snips
123
1AB

[Code] ....

Basically, I want to choose a name from say a drop down, then an equipment pc from drop down, and have the other field populate for say the Serial Number.

View 4 Replies View Related

Populate A Field Based On A Value

Mar 5, 2009

I want to know how to take a field with a value and apply it to fields with range. In this case if i had a value of 15 it would enter that value in this field
below. I tried an IF formula but it did not work.

range 31 to 40
range 21 to 30
range 11 to 20 15
range 1 to 10

View 5 Replies View Related

Populate Based On Combobox Value

Jun 27, 2014

i would like to create a vba that will populate based on the comboboxes value

like this code

Code:
'for cmb1
'if cmb1 = major 1 then
'if range"F4" is empty then
'copy sheet1 range"A5:R5" to sheet2 range"F4"
'if cmb1 = major 2 then
'if range"F4" is empty then
'copy sheet1 range"A16:R16" to sheet2 range"F4"

[code]....

View 1 Replies View Related

Populate Value Based On Criteria

Jun 2, 2008

I have a spreadsheet as below:

Sheet1 *BCDEFG3QAUSERQAUSERQAQA4SRF RegistrationWorkflow-UserWorkflow-QAWorkflow-User FeedbackORMC 1ORMC 25CompletedCompletedCompletedCompletedCompletedPending Excel tables to the web >> Excel Jeanie HTML 4

I need to create a formula that would read from cell B5 to G5 and the first "Pending" it finds, it should populate the corresponding value from B3 to G3.

In this case, since from B5 to G5, the first "Pending" is in cell G5, the formula should return as "QA".

View 9 Replies View Related

Populate List Based On Another

Feb 11, 2008

I have three sheets. A raw data sheet, a sheet of formatted data, and a third sheet with a list of invoice numbers.

I've already developed the code to format the raw data to the formatted data sheet. What I need is to populate the third sheet with the invoice numbers I've used, and not use the data from the data sheet if the invoice numbers are on the sheet with the list of invoice numbers.

I need to do this via a macro.

View 5 Replies View Related

Populate ListBox Based On Another

Mar 20, 2008

I need to populate two listboxes, however, the value on the second box needs to derive from the first one, such as when I click on North America, USA and Canada would show up. the tricky part is that I need to be able to select North America and Europe in the same time and 2nd list box needs to show USA, Canada, UK, Italy, German accordingly.

A1: North America
A2: Europe
A3: Asia

B1: USA
B2: Canada
C1: UK
C2: Italy
C3: German
D1: China
D2: India

View 3 Replies View Related

Populate Cell Based On Worksheet Name

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

Populate Cell Based On Two Criteria?

Aug 2, 2013

I have a list of teams, and beside them I need a calculation to be filled.

The criteria is based on a cell reference (a month which can be changed from a drop-down in BM2) and also the name of the team.

dummy 16.xls

View 5 Replies View Related

Lookup Based On Criteria And Populate?

Jan 15, 2012

I have the following in sheet 1:

Sheet1 *BCDEFGHIJKL1NameLast DoneMarket Cap (M)PEPrice/NAVHigh, 52 WksLow, 52 WksRevenue GrowthCurrent RatioDebt to EquityROA2AMMB $ * * * 5.76 $ * * * *17,361.71 12.8861.633 $ * * * * * *7.05 $ * * * * * 5.30 10%1.20.42%3CIMB $ * * * 7.27 $ * * * *54,036.27 14.8372.156 $ * * * * * *9.01 $ * * * * * 6.56 3%20.61%4RHBCAP $ * * * 7.31 $ * * * *16,022.91 11.0761.435 $ * * * * *10.40 $ * * * * * 6.53 6%3.20.83%5HLFG $ * * 11.70 $ * * * *12,120.91 7.2581.576 $ * * * * *13.74 $ * * * * * 8.44 4%1.711%

I have the following in sheet 2:

Sheet2 *BCDEFGHIJKL2Parameters**********3Last Done**********4Market Cap (M)**********5PE**********6Price/NAV**********7High, 52 Wks**********8Low, 52 Wks**********9Revenue Growth**********10Current Ratio**********11Debt to Equity**********12ROA**********13***********14StockLast DoneMarket Cap (M)PEPrice/NAVHigh, 52 WksLow, 52 WksRevenue GrowthCurrent RatioDebt to EquityROA15***********

1)I need to create a formula to populate all stocks that satisfies the parameters that I will input in cell C3 to C12 in sheet 2 based on the data in sheet 1.

2)The stocks should then be populated in cell B15 downwards in sheet 2. If there are 20 stocks that satisfies the parameters in cell C3 to C12 in sheet 2, then all 20 stocks should be populated in cell B15 downwards in sheet 2.

3) The respective details of the stocks should also be populated in cell B15 to L15 for all stocks that satisfy the parameters entered in cell C3 to c12 in sheet 2.

View 4 Replies View Related

Populate Cells Based On Value Of Another Cell?

Apr 6, 2013

I have a table in excel with some data to create labels, but these labels must be repeated according to the number of volumes. Example: I have a delivery for X and such delivery has 5 volumes, need to create 5 labels just changing the volume number: 1/5, 2/5, 3/5, 4​​/5 5/5.

I would enter a value in "D1" after running the code, in column "A" shall be filled as follows.

D1 = 7
A2 = 1/7
A2 = 2/7
A2 = 3/7
A2 = 4/7
A2 = 5/7
A2 = 6/7
A2 = 7/7
If "D1" equals 3 then
A2 = 1/3
A2 = 2/3
A2 = 3/3

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved