Copy Cell Data Based On Value In Another Cell
Nov 28, 2012
I have values in column C1:C10 that are 8,9 or 10 (representing the months of August, Sept, and Oct). I need to copy a value that occurs in column I if the value in the same row in column C is 8.
E.g. if the value in C1 is 8, then copy the data in I1 to a separate column, and so on for each row in column C.
View 1 Replies
ADVERTISEMENT
Jan 30, 2014
I have an Excel 2010 spreadsheet consisting of many worksheets (20 or so). Each of these worksheets contain detail level data regarding different projects. One of the columns in these worksheets is the 'Status' column (column F). There is conditional formatting on this column where if the text is 'G' then change background to a green color, 'Y'=yellow, 'R'=Red and 'U'=Grey.
The first worksheet is a summary sheet that I would like to pull information from each of the detail worksheet's columns B, D, E, G and H if the status column (Column F) is 'R' or 'Y'.
The number of rows in the detail worksheet can change each week (as few as 0 and as many as 100)
View 2 Replies
View Related
Mar 22, 2008
I am trying to build a summary report that pulls from two different worksheets within the same workbook. Here's the context of my problem:
Worksheet 2: Column A has a list of dates. The corresponding information for each date is within the row. Sometimes, there are repeated dates with different corresponding information.
Worksheet 3:This is my summary sheet. This report needs to update daily and only pull data related to "today's" date. My question is if i have three rows with the same date but different data, how do i tell my summary sheet to display all three rows for that date. So far, I can only get it to pull the data from the last row with that date.
View 3 Replies
View Related
Nov 10, 2008
i am trying to find a way to automatically copy information from a worksheet on my computer([list.xls]-List of accounts) to a worksheet on a shared folder([summary.xls]- accounts that have paid)
example:[list.xls]Sheet1!A:A has account numbers, C:C has account balance and D:D has notes on account.
If D:D is "paid", copy acc# to [\foldersummary.xls]Summary!A1, balance to B1 and notes to D1.
If D:D is "payment pending" do same as above but in row 2 and so on.
View 4 Replies
View Related
Jun 4, 2014
I have an invoicing spreadsheet, what I want is to have a main working page and then tabs after separated by vendor, but save myself a bunch of manual work in the future.
I want to be able to work in the main tab and the other tabs automatically update with the new info.
So I want the macro to search the text in the first column and if it finds "AIM Land Services Ltd." then I want it to populate the appropriate tab, in this case "AIM", with all the respective information after it ie: A-O. But I dont want it to select any other vendors/ info.
This is what I have:
Sub MoveData()
For Each cell In Range("A1:A1") ' Where to look for the date
If cell.Value = "AIM Land Services Ltd." Then ' The date
Range("A5:O350").Select ' What is the range to copy
Selection.Copy ' Copy it
Sheets("Invoice_Log").Select ' Select the Sheet it applies to
Range("A5").Select ' Where to paste the data
[Code] .........
View 1 Replies
View Related
Jan 13, 2014
I have an tab with 20,666 rows that I need to separate into different tabs based on what a cell in a specific row starts with.
Data Tab
001-020-002-000 Walker River Irrigation DistPO Box 820 YeringtonNV89447
001-020-005-000 Walker River Irrigation DistPO Box 820 YeringtonNV89447
001-020-006-000 Walker River Irrigation DistPO Box 820 YeringtonNV89447
001-020-007-000 Walker River Irrigation DistPO Box 820 YeringtonNV89447
001-020-008-000 Walker River Irrigation DistPO Box 820 YeringtonNV89447
[|Code]...
So what I am looking to do is search the APN row in the Data Tab that starts with the number from the APN # row in the APN Tab and then copy the row to a new/existing tab named after the Description on the APN Tab.
I think that I have explained what I need to do
View 8 Replies
View Related
Feb 20, 2014
What I want to achieve: those cells have number 1 ( in column E) , adjacent cell values ( In Column D) are copied to G12 in the following format:: Mark,Lark ( i.e. cell value , cell value, etc)
is it possible ( with a command button) Sample attached
View 4 Replies
View Related
Mar 15, 2014
I have a spreadsheet (book1.xls) that has a column with 13 names down the side and 31 other rows (dates of the month)
Mike1 1 2 3 4 5 6 7 8 9
Mike2 1 2 3 4 5 6 7 8 9
Mike3 1 2 3 4 5 6 7 8 9
Mike4 1 2 3 4 5 6 7 8 9 etc
I have selected all 13 rows and 7 days and named them 'week1', and the next 7 days 'week2', the next 7 days 'week3' etc/What i want is to display the named range based on a single cell selection based on a cell value in a different sheet.
The basics of it should be "If cell C1 = 1 then show me 'week1' or if cell C1 = 2 then show me 'week2' etc.
View 4 Replies
View Related
May 8, 2014
I used this vba code before:
[Code] ......
And it worked perfectly, but now i wanted to use it in an other file but just change the sheets and I keep getting an Error 13.
It should copy the data from sheet insertmeasurements c23 till end of data in the column next to it (is dynamic) and based on cell B1 and the matching category code in column B, put that data in the matching cell in column C to the matching cell (based on the criteria in column B and C) on the sheet storedata.
Attached File : Profitibility Database v1.4.xlsm
View 1 Replies
View Related
Jun 25, 2014
I've sent out a survey asking people to sign up for one of two groups, A or B. I have a table with a long string of responses, with the name in column A, and in columns B or C there is an X that shows whether they have chosen Group A (column B) or Group B (column C)
I am trying to write a bit of code where it would paste the names into a new table with the headers Group A and Group B. Here is what I have pieced together so far:
Sub Create_Groups()
For i = 2 To Range("B2").End(xlDown).Column()
If Range("B" & i).Value = x Then
[Code].....
View 5 Replies
View Related
Oct 7, 2011
Basically, I need to reformat a set of data (see before and after). A specific column should only contain 1 value, if there is more than 1 value it will be separated by a comma. If this column contains more than 1 set of data then I would need to insert a row and duplicate the information based on how many different sets there are. All the copied data should remain the same with the exception of the "Key" column, it should only have 1 value and each copied row should contain the corresponding value in the key field.
BTW - it could be on the same sheet or a different worksheet (doesn't matter)
BEFORE
Name Number KEY Date
Name1 1 a,b,c 12/1/2011
Name2 2 x 12/1/2011
Name 3 5 one,three 12/1/2011
AFTER
Name Number KEY Date
Name1 1 a 12/1/2011
Name1 1 b 12/1/2011
Name1 1 c 12/1/2011
Name2 2 x 12/1/2011
Name 3 5 one 12/1/2011
Name 3 5 three 12/1/2011
View 2 Replies
View Related
Sep 10, 2013
I need to copy a cell into another spread sheet contingent on whether or not another cell in the row is empty.
For example, I need to copy cell A5 because D5 is empty.. However, if D5 was not empty I would not need to copy A5.
I don't need this macro to loop.
View 2 Replies
View Related
Feb 19, 2014
Basically I have three columns in a work Sheet F, G, & H. F is empty, G contains text and column H has both text and numbers.
I want to be able to automatically copy the value from Cell H to Cell F if cell G contains the word cost.
I would also like to delete all rows where Column G & H contain two dashes -
View 7 Replies
View Related
May 14, 2009
I have the following code in another workbook that is used to populate a cell on the same sheet based on input to cells in column 'A'.
Is it possible to modify this for the attached workbook to select a cell with data (numbers) on the Input Data sheet in column 'E', add text to the beginning, ('CG' in this case), and paste the result to the Import Template in the corresponding cell of column 'A'? I currently have a formula copied to dozens of cells in 'A' but since the number of rows for the Input Template is variable, there are usually cells in 'A' that contain CG but no corresponding data in the rest of the row.
View 8 Replies
View Related
Jul 8, 2014
I am wanting to have certain cells of data from one worksheet appear on another worksheet once the cells on the first sheet have data entered in them.
I find that I can do a simple formula to copy the cell but I want the cell to remain blank until data is added in the first sheet (it will be a mix of text and numerical entries).
View 4 Replies
View Related
Jul 18, 2012
I am using a worksheet to scan or enter students into a school event and determine their eligibility to participate in the event. Everything is working great but I need to do the following on Enter Student button click:
1) Cut scanned value (ID number) from input Cell A1
2) Paste value into next empty cell in column A (Rows build as students are inputted)
3) Copy Eligibility status (text) from column F into A6
I have a limited VBA/Macro background and have NEVER got a button to work.
View 9 Replies
View Related
Mar 7, 2014
I'm trying to copy data from one excel sheet to another excel sheet. However, the data to be copied is dependent on the 'client name'.
To explain this further, in the first list I have a detailed report on our clients and the services provided to every employee of that company/client.
However, the sheet two only needs the names of the employees that belong to a specific client.
This can be done manually by setting a fliter on the name of the client/company, but I need to be automated. To ensure only that specific company/client company's employee name is copied.
View 2 Replies
View Related
Jul 15, 2014
I wondering if it is possible for a macro to recognise whether or not there is text in an adjacent cell, and if there is, then to copy data from another adjacent cell.
For example, because there is data in C2, data from A2 has been inputted into B2. And any blank cells are left alone.
a
b
c
d
e
ref1
(cell A2 data here)
DATA
DATA
DATA
ref1
View 5 Replies
View Related
Apr 24, 2014
Formula that will repeat a cell number as it drags down and as soon as the number changes. I am using helper column that shows the cell number. I need to drag this down about 1000 rows.
Excel 2010
A
B
C
1
Helper Column
Desired Result
[Code].....
View 6 Replies
View Related
May 20, 2014
I need a macro which read out the last (in this file Pos. 4) or a user seleted Position (Position 2 or 1). The macro should read out the cells in this row and put the data into the defined cells in Sheet2.
in this case:
Data from B4[Sheet1] copy to B5[Sheet2]
Data from C4[Sheet1] copy to C7[Sheet2]
Data from D4[Sheet1] copy to E6[Sheet2]
The cells in Sheet2 are the same every time. Only the data (the row) in Sheet1 does change. I add more Position every week in Sheet1.
View 14 Replies
View Related
Feb 4, 2014
I have a workbook with sheet1 and sheet2. Each sheet I am only dealing with columns A-D. The data in column A in both sheets is the unique identifier. The below macro I am using will take sheet1 (ColumnA) and compare to sheet2 (ColumnA). If the identifies are the same in both cells it will highlight it green.
What I need to add to the below macro is the ability to add a cell copy over. So sheet1 being my master, if sheet1 and sheet2 have a equal identifier in column A, the data from sheet1 B,C,D for that row will be copied over to sheet2 of its equal identifier sheet2 B,C,D.
I have attached a sample : Sample Copy Over.xlsx
View 4 Replies
View Related
Mar 27, 2014
Is there way I can copy the BOTTOM cell amount in a specific column, to another specific cell in another workbook?
I update a worksheet with a new row of data each day. I want to copy only the last (bottom) entry from one column over to a worksheet in another workbook. I'm hoping I can just put something in the cell I want to copy to, to reference the bottom cell with data I'm copying from.
View 2 Replies
View Related
Apr 28, 2014
I am working with a spreadsheet that has our user data; User(First) Name, User(Last) name, Computer Name, MAC address, Phone Number, Seating Position and Network Port Number.
I have let this get horribly out of sync, moved computers around, and moved them while the MAC address column was hidden, As a result, I have a bunch of users listed as being at the wrong computer. I have a second spreadsheet I generated that gives me the logged in user for about 2/3 of my computers, with the computer name(Just 2 columns, 'A' and 'B'. I would like to have Excel match the computer name and then overwrite the user name. For example, if the first computer in my correct user list is DELL-99945ty2, and the user name is "Jimbo Jones", I would like it to search the first Excel doc(The one with all of the user data), and replace the user name with "Jimbo Jones". Is this simple and straightforward?
In my main spreadsheet, the user name is in column B and the computer name is in column G, So I want to use the values from Column B in my second document to find its match in Column G of the first spreadsheet, and then replace the data in Column B with Column A in the first spreadsheet.
View 5 Replies
View Related
Jan 26, 2007
how can we disable/enable a cell based on a condition which is dependent on other cell data
View 4 Replies
View Related
Aug 18, 2014
I have a table with Sheet "Data" that has a number in D. In cell E, I have set a formula to verify if the number is good. If it is good, it will get 1. I need all numbers that got 1 to go to column A on Sheet "OK". No other sheets are in the file. Would this be easy to do with a macro?!
View 2 Replies
View Related
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
Jan 12, 2014
I want to do (seemingly easy task) of getting a price from a code, from a code sheet.
EXAMPLE:
Sheet1 (Log sheet)
A1 = "Code456"
A2 = $? <- This needs to be found.
Sheet2 (Price Sheet)
A1=Code123 B1=$1
A2=Code456 B1=$2
A3=Code789 B1=$0.50
Etc, and so on...
What I want to do is basically (without using macros):
"If A1 = sheet2:A1, then
A2 = sheet2:B1, halt. , ELSE,
If A1 = sheet2:A2, then
A2 = sheet2:B2, halt. ELSE,
So on and so forth..."
I thought there might be an easy way to do it with some sort of 'double sided' data validation drop downs or OFFSET function but I cant figure it out.
View 3 Replies
View Related
Jan 22, 2014
i have a column of data part number part text e.g 7w1,8b1 in the next column i want to write a function that will look at the other and dependant on whats in it place a word e.g. for 8b1 i need it to look at the "b" and enter beauvale if theres no "b" but a "w" enter wollaton, i have tried an if function and used "*b*" but it doesnt seem to like wildcards ....
View 9 Replies
View Related
Dec 20, 2013
How do I write this formulae ??
For cell range M6:AV6 fill with N/R If the data in cell D1 = Wont have
View 5 Replies
View Related
Feb 22, 2014
In the attached spreadsheet I need a formula to extract the value from column C that matches the date in Column E where the date in column E is equal to or falls between the dates in Columns A and B.file now attached.
View 4 Replies
View Related