Copying columns specified by a given set of conditions or criteria

majkh85

New Member
Joined
Jul 17, 2018
Messages
2
Really needing some assistance:-

I have a workbook with multiple sheets but what I am wantingto do is have all columns of one sheet automatically populate onto anothersheet if a certain word shows up in one of the columns.
For example: -


If the word April shows up in column D I want all the othercolumns in line with where april is (i.e. Row 1 and Row 4) to copy over toanother sheet.

COLUMN A COLUMNB COLUMN C COLUMN D

ROW1 Apples Oranges Bananas April
ROW 2 Bananas Apples Lemons February
ROW 3 Apricots Bananas Peaches August
ROW4 Bananas Lemons Apricots April



I know I can filter it and manually copy and paste but Ineed it to automatically populate if possible.

Thanks.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Welcome to the MrExcel board!

If you want to do this with formulas, then have a look through this thread where I suggested a method of doing a very similar thing & see if you can adapt it to your data.
 
Upvote 0
ID
NAME
SURNAME
GENDER
AGE
VACANCY
START DATE
PERIOD
AMOUNT
MONTH
SHOWING
124
Jane
Doe
F
30
2536
10/10/10
17
$2
August
Open
588
John
Doe
M
46
1579
13/1/11
16
$5
October
Open
769
Bev
Beverly
F
78
5345
4/5/18
20
$9
August
Open
222
Amanda
Snow
F
32
4258
6/8/03
66
$6
August
Open

<tbody>
</tbody>
Hi Peter,

I have attempted to adapt it but it for some reason it is not copying over properly,

Above is a table of my sheets, your assistance would be greatly appreciated.

I would like for all columns to be automatically copied over to another sheet if the Month column shows "August"
 
Upvote 0
I have attempted to adapt it but it for some reason it is not copying over properly,
Using the method in that linked thread it could be like this.

M2 copied down

Excel Workbook
ABCDEFGHIJKLM
1IDNAMESURNAMEGENDERAGEVACANCYSTART DATEPERIODAMOUNTMONTHSHOWINGHelper
2124JaneDoeF30253610/10/201017$2AugustOpenAugust|1
3588JohnDoeM46157913/01/201116$5OctoberOpenOctober|1
4769BevBeverlyF7853454/05/201820$9AugustOpenAugust|2
5222AmandaSnowF3242586/08/200366$6AugustOpenAugust|3
All Data




N2 copied down
B2 copied across and down.

Excel Workbook
ABCDEFGHIJKLMN
1MonthIDNAMESURNAMEGENDERAGEVACANCYSTART DATEPERIODAMOUNTMONTHSHOWING
2August124JaneDoeF30253640461172AugustOpen2
3769BevBeverlyF78534543224209AugustOpen4
4222AmandaSnowF32425837839666AugustOpen5
5#N/A
August
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,698
Members
448,979
Latest member
DET4492

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top