Copy specific cells from one sheet to an other

NNO123

New Member
Joined
Dec 29, 2017
Messages
4
Hi guys,

I have a question, and would like to hear your thoughts :)

So in sheet 1, I have the following:

CompanyData1Data2Priority
company1informationinformation1
company2informationInformation3
company3InformationInformation2
company4InformationInformation1

<tbody>
</tbody>

And this countinues down

Now I want to create a summary sheet, with the top priorities.
So if priority = 1, I want to copy the company name, data1 and data2 (just keep the formatting) into sheet 2.

So I could make some If-statements - for example =if("priority cell" = 1, Company1, "") and the same for data1, data2 and duplicate it to the next row - , but then I will have some space between my companies.
and it will look like this:


CompanyData1Data2Priority
company1informationinformation1
company 4informationinformation1

<tbody>
</tbody>

I would like company 4 to be in the rows below company 1.

Do you think this is possible? I know it is possible to filter sheet 1 by the priorities and just copy all 1-priorities to sheet 2 - but do you think that the numbers can appear automatically in sheet 2? :)

Thanks a lot guys!!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Common problem.
Usual answer would be

in Sheet2!A1
=IFERROR(INDEX(Sheet1$A$1:$D$1000,SMALL(IF((Sheet1$D$1:$D1000=1),ROW($A$1:$A$1000)),ROW(A1))-(ROW(A$2)-1),COLUMN()),"")
Array formula, use Ctrl-Shift-Enter
copy across the sheet up to D1
copy the formula down for as many rows as you have on Sheet1

Since your output is identical to your input, ie 4 columns, you can use COLUMN() otherwsie you would need to replace the formula each time with the column number of whichever column you want to extract from Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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