extracting values from columns B and C based on column A

newscientist_au

New Member
Joined
Feb 6, 2014
Messages
10
Hi
Just wondering if there is an easy way to do the following:
1) I have a list of values in column A, B and C.
2) Can I selectively pull out all values in B and C (into separate columns) that correspond to a particular value in A?


all values in A are integers.


A B C
1 2.5 3.5
1 3.5 4.5
2 3.9 3
2 4.2 3
2 5.6 4.2
3 7.8 5.2
3 8.6 4.2
3 4.2 2.3
4 3.5 8.2
4 6.7 3.0
4 8 2




Desired output:
1B 1C 2B 2C 3B 3C 4B 4C
2.5 3.5 3.9 3 7.8 5.2 3.5 8.2
3.5 4.5 4.2 3 8.6 4.2 6.7 3
5.6 4.2 4.2 2.3 8 2




I want to put all values from B and C in separate columns that have corresponding value of 1. similarly I want to repeat this for all values that correspond to 2 and so on.
even if part of the process could eb automated it would be great- I fear manual copying could be error prone and not feasible for large datasets


Thanks for your help, please let me know if you need more info.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,215,379
Messages
6,124,608
Members
449,174
Latest member
ExcelfromGermany

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