copy cells from one worksheet to another based on condition and put in new cells in multiple rows

breilly00

Board Regular
Joined
Sep 15, 2008
Messages
53
Office Version
  1. 365
Platform
  1. Windows
I have a excel master spreadsheet where sheet 1 contains a list of the residents in the subdivision. For example

L. NameF. NameAddressStreetEmailPhoneChildren
adamjohn & mary123mainqwe@yahoo.com999.000.8888Mark
Araybill & sue345firstasd@earthlink.com111.222.3333
brownjim & al876elmabc@yahoo.com666.777.8888sue
bstellal & Joan531ditchzxc@ya.com777.999.0000all


<tbody>
</tbody>











Now I want to be able to produce a phone directory (see below) without having the board members to do any thing other than update the master spreadsheet (sheet1). So if they..
- Change a row with a new resident because the homeowner has moved out the telephone directory would automatically be updated. (new person should show up in new alphabetical order)
- Change the phone number, or any other data, the directory is also updated.
- the directory can be sheet2 or another workbook in the same workbook.
- No new houses will be build, so the number of rows will not change.
- The layout of the mastyer sheet is not fixed in stone. It was done this way to provide ease of maintenance


What the directory should look like . This is not set in stone either. If the format can be changed to make the formulas or macro easier so be it. It should fit on an 81/2 by 11 paper, be hard copy and portrait vrs. landscape is prefered.

A N
Adam, John and MaryEtc. etc. etc
123 main .................... 990.000.8888
Aray, Bill & Sue
345 first...................... 111.222.3333
B
Brown, Jim & Al
876 elm.................... 666.777.8888
Bstel, Al & Joan............... 777.999.0000

<tbody>
</tbody>


Our residents have last names with all letters except E, I, Q, X. We could hard code or do a template for the entire alphabet and and just leave blank the names under these letters. Also we are not tied to the 2 lines for each person (one board member thought it looked nice).

I am trying to get the least maintenance into this so future board members can just maintain the master list and the directory is created on save, on event, on button. (does not matter). I do not know how to get the data from some columns in a single row into a formatted directory and under the correct letter of the last name.

Can any one give me a example of what i should do????
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,214,968
Messages
6,122,509
Members
449,089
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