Copying values in cell based on a number/identifier in excel

jyym27

New Member
Joined
Oct 22, 2016
Messages
3
Hello,
I'm working on an excel file and need to copy several values from different cell in the same row to another sheet based on unique number/identifier. As you can see on the attached image several cells (not all) from the row with code 312 will go to sheet "for 312" and respectively for the code 310 (see image #1). I want to make all the changes made on the master will be replicated on the other sheets as well so it has to be a function

I could get multiple row with the IF function (see image #2). But I still get the "not matched"/ 0 0 0 0 values. The function I use is =IF(master!$C2=312,VLOOKUP(C9,master!$C2:$G$14,2,FALSE),0) which then I copied down the rows

Thanks for any help :)

image #1
2uuYemYMBFDKkScjJdKZ1totFkj36nT01YuxmcZVPnNqOU3esaz7X8epjEsZR1xy-aa.png


image #2

oYkY32ggtu64LNzJWZd7V3oLh6fbt910VPvntxjpKPbWibq8mBNjUIv1LJMFJBYp-1111.png
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule #13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,718
Members
448,986
Latest member
andreguerra

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