Copy data from certain cells to other sheets

markmac99

New Member
Joined
May 25, 2008
Messages
18
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I have attached a screenshot of a workbook that I'm working on that needs to copy a number of cells to other sheets (Courses 1 to 4) if an 'x' appears on the booking form sheet in columns E to H. My current setup is to use =IF('Booking Form'!E2="x",'Booking Form'!A2,0) in Course 1 tab and F2, G2, H2 for each sheet thereafter, copying the formulas down each sheet. This works apart from the fact that the Course 1 to 4 tabs have gaps when there's no data to copy across (see image). Is there a simple way to adapt the IF formula or should I use code to copy the data from columns A to C across to the Course tabs?

Regards

Mark
 

Attachments

  • Booking Form.png
    Booking Form.png
    18.8 KB · Views: 7
  • Course 1.png
    Course 1.png
    16.9 KB · Views: 7
You would be better off having a master sheet that includes all the data, which can then be pulled over to the other sheets.
Trying to check multiple sheets for data would not be simple & the formulae required to do that could well bog the workbook down.
Ok Fluff, I'll have a look at doing that. Thanks again for your help.
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,214,827
Messages
6,121,803
Members
449,048
Latest member
greyangel23

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