Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create an equation to copy a row of data from one worksheetto another if it meets certain criteria
Currently I have a work book with lots of data in it that im trying to make a little easier to manage.
The logic im trying to use goes along the lines of If worksheet 1 f2,F809 = W1 then copy that row into worksheet 2. If it doesn't then check the next row. Is this possible at all? I did have a rudimental equation but I cant figure out the copy part of it. I also need this to be copied down the coloum in the second worksheet. The equation I have so far is =IF('W1'!F2:F28="W1","copy row","") Obviously this hasn't worked. Any help would be appreciated |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create an equation to copy a row of data from one worksheet to another if it meets certain criteria
|
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create an equation to copy a row of data from one worksheet to another if it meets certain criteria
Hi Chris,
Am Fri, 2 Oct 2015 03:35:20 -0700 (PDT) schrieb : This spreadsheet is a live document. So when information is placed on to the master sheet it needs to be copied onto the the other worksheets. then you have to use VBA. To help you we need more information. What are the sheet names? Which criteria causes a copy to which sheet? Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create an equation to copy a row of data from oneworksheet to another if it meets certain criteria
the worksheets are named W1,W2,W3,W4,W5,W6,W7,W8,W9,W10,W12,WOET(WE).
The W1 sheet is the master sheet, I would like to copy the row data if coloum F has equals W2 onto W2 worksheet and onwards, IE if W1,F = W2 copy that row to worksheet W2 then look at next row. Thanks again |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create an equation to copy a row of data from oneworksheet to another if it meets certain criteria
As a piece of extra info there is 631 rows of information that have to have row F checked. And that could change monthly.
|
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create an equation to copy a row of data from one worksheet to another if it meets certain criteria
Hi Chris,
Am Mon, 5 Oct 2015 00:16:54 -0700 (PDT) schrieb : As a piece of extra info there is 631 rows of information that have to have row F checked. And that could change monthly. try: Sub Test() Dim i As Long With Sheets("W1").UsedRange For i = 2 To Sheets.Count Sheets(i).UsedRange.ClearContents .AutoFilter field:=6, Criteria1:=Sheets(i).Name .Copy Sheets(i).Range("A1") Next End With Sheets("W1").AutoFilterMode = False End Sub Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
#8
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create an equation to copy a row of data from oneworksheet to another if it meets certain criteria
Thanks for that but please excuse my ignorance but how do i implement this into the spread sheet?
|
#9
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create an equation to copy a row of data from one worksheet to another if it meets certain criteria
Hi Chris,
Am Mon, 5 Oct 2015 02:42:12 -0700 (PDT) schrieb : Thanks for that but please excuse my ignorance but how do i implement this into the spread sheet? press Alt+F11 = Insert = Module and paste the code into the code window. Please note that you can't undo the macros action. Test it in a copy of your workbook. Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
#10
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create an equation to copy a row of data from oneworksheet to another if it meets certain criteria
On Friday, October 2, 2015 at 9:54:45 AM UTC+1, wrote:
Currently I have a work book with lots of data in it that im trying to make a little easier to manage. The logic im trying to use goes along the lines of If worksheet 1 f2,F809 = W1 then copy that row into worksheet 2. If it doesn't then check the next row. Is this possible at all? I did have a rudimental equation but I cant figure out the copy part of it. I also need this to be copied down the coloum in the second worksheet. The equation I have so far is =IF('W1'!F2:F28="W1","copy row","") Obviously this hasn't worked. Any help would be appreciated Claus, I have copied that into vba but nothing seems to of happened. I have saved the spreadsheet successfully but as i said there is no change to what im seeing on the other sheets. |
#11
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create an equation to copy a row of data from one worksheet to another if it meets certain criteria
Hi Chris,
Am Wed, 7 Oct 2015 06:01:55 -0700 (PDT) schrieb : I have copied that into vba but nothing seems to of happened. I have saved the spreadsheet successfully but as i said there is no change to what im seeing on the other sheets. Developer Tools = Macros = Select Macro "Test" = Run Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
#12
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I create an equation to copy a row of data from oneworksheet to another if it meets certain criteria
On Friday, October 2, 2015 at 9:54:45 AM UTC+1, wrote:
Currently I have a work book with lots of data in it that im trying to make a little easier to manage. The logic im trying to use goes along the lines of If worksheet 1 f2,F809 = W1 then copy that row into worksheet 2. If it doesn't then check the next row. Is this possible at all? I did have a rudimental equation but I cant figure out the copy part of it. I also need this to be copied down the coloum in the second worksheet. The equation I have so far is =IF('W1'!F2:F28="W1","copy row","") Obviously this hasn't worked. Any help would be appreciated Clause, Thanks verymuch for the help, The script is working fine now. Thanks very much for all your help. Chris |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I count data that meets more than one criteria? | Excel Discussion (Misc queries) | |||
SUM data if meets criteria | Charts and Charting in Excel | |||
Copy row details where cell value meets certain criteria | Excel Worksheet Functions | |||
copy row to new sheet where cell value meets criteria | Excel Discussion (Misc queries) | |||
Get data if cell within a row meets criteria | Excel Discussion (Misc queries) |