# conditional copying a group of cells from one sheet to other

#### Dipam

##### New Member
howdy,,,, anyone.

i need a group of cells copied from one sheet to another if a specific cell value within that group equals that of another (from a list of grouped data).
The group of cells next to the 'specific value cell' are consistant in their number (8 across 2 down for exmple). So this group (8 acr-2 dwn) would be copied to another sheet if the cell next to that group equalled a cell value entered by the user.....
This has probably confused anyone who reads it as it has been a long day at work and i am confused reading it... if anyone responds i can elaborate then

thanks

### Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Welcome to the board

OK, I'm confused but it doesn't sound like it should be too difficult

As I don't completely understand, how about an example of something I hope would be similar? If you have this formula in sheet2 B1

=IF(\$A\$1=sheet1!M3,sheet1!E1,"")

this cell will remain blank unless A1 sheet2 (entered by user) is the same as M3 sheet1, in which case you'll get the value from E1 sheet1 (2 up and 8 left).

You can copy this formula and the cell values will adjust accordingly, except A1 which is fixed by the dollar signs

Have I confused you back or does that help at all?

see if this clarifies the problem:

Example of one entry into sheet 1.

sheet 1:
user input (cell 7D - 'Nokia 6680' this is typed in by user), this cell is linked to (cell 7AW on sheet 1).
There will be other data linked horizontally

sheet 3:
This will be the final printed report.. (cell 34G on sheet 3) is linked to (sheet 1 cell 7AW).
All horizontal data from sheet 1 is transposed vertically to this sheet 3.

sheet 2:
This contains a listing of contents of various mobile phone box contents. eg (cell 115A - 'Nokia 6680', this is the title) (cells 116D to 119H - all the box contents-charger, cd, manual etc etc)
(cell 121A - 'Nokia 9300', a different title) (cells 122D to 125H - different box contents from those above)

SO,, when a user enters the phone model 'Nokia 6680' into sheet 1, a check is made against sheet 2 column A for the title match 'Nokia 6680'. The data in the adjoining fields from the title (3across1down to 7across4down) is copied to sheet 3 into 67D to 70H.

The same process will apply to other data entered on sheet 1 and similar checks from other sheets with data listings to complete sheet 3 the final report.

Hope this makes sense or have i just added more confusion..

Replies
2
Views
173
Replies
12
Views
200
Replies
6
Views
278
Replies
0
Views
181
Replies
0
Views
54

1,203,313
Messages
6,054,696
Members
444,741
Latest member
MCB024

### 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.

### Which adblocker are you using?

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

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