Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Merging data

Sheet1 contains a list of course codes and the dates the courses are running
eg.
CSB00 09-Jan-2006
CSB00 10-Jan-2006
CSB01 09-Jan-2006
CSB02 10-Jan-2006

Sheet2 contains a list of students and the courses assigned to the students
eg.
James CSB00 Dep1
Jones CSB00 Dept1
Sam CSB00 Dept2
John CSB00 Dept2
(Data in different cells for name, course, Dept)
Please a macro or VB to assign students (max say 2 per course date) to
course dates and distribute across department ie one fron Dept1 and the other
from Dept2. Please make it as general as possible as I wish to apply to a
large database

Thanks in advance
--
JA
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default Merging data

Hi
Your input is clear but what do you want your output to look like? You
say

"Please a macro or VB to assign students (max say 2 per course date) to

course dates and distribute across department ie one fron Dept1 and
the other
from Dept2."

What should that look like? Give a few lines of example output.

What does "max say..." mean? What decides if there are 2, 1 or 0? Spell
out the decision clearly.

What does "as general as possible" mean?

regards
Paul


asante_za wrote:
Sheet1 contains a list of course codes and the dates the courses are running
eg.
CSB00 09-Jan-2006
CSB00 10-Jan-2006
CSB01 09-Jan-2006
CSB02 10-Jan-2006

Sheet2 contains a list of students and the courses assigned to the students
eg.
James CSB00 Dep1
Jones CSB00 Dept1
Sam CSB00 Dept2
John CSB00 Dept2
(Data in different cells for name, course, Dept)
Please a macro or VB to assign students (max say 2 per course date) to
course dates and distribute across department ie one fron Dept1 and the other
from Dept2. Please make it as general as possible as I wish to apply to a
large database

Thanks in advance
--
JA


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default Merging data

Further to Paul's note, are there only ever two departments? What are the
maximums - courses, attendees,departments etc. What happems in there are more
potential attendees than places (number of potential attendees max(courses
planned) * max(attendees per course)?

" wrote:

Hi
Your input is clear but what do you want your output to look like? You
say

"Please a macro or VB to assign students (max say 2 per course date) to

course dates and distribute across department ie one fron Dept1 and
the other
from Dept2."

What should that look like? Give a few lines of example output.

What does "max say..." mean? What decides if there are 2, 1 or 0? Spell
out the decision clearly.

What does "as general as possible" mean?

regards
Paul


asante_za wrote:
Sheet1 contains a list of course codes and the dates the courses are running
eg.
CSB00 09-Jan-2006
CSB00 10-Jan-2006
CSB01 09-Jan-2006
CSB02 10-Jan-2006

Sheet2 contains a list of students and the courses assigned to the students
eg.
James CSB00 Dep1
Jones CSB00 Dept1
Sam CSB00 Dept2
John CSB00 Dept2
(Data in different cells for name, course, Dept)
Please a macro or VB to assign students (max say 2 per course date) to
course dates and distribute across department ie one fron Dept1 and the other
from Dept2. Please make it as general as possible as I wish to apply to a
large database

Thanks in advance
--
JA



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging data from 2 data excel sheets Joe Excel Discussion (Misc queries) 2 November 3rd 09 01:08 PM
Merging multiple columns of data into one column of data Archangel Excel Discussion (Misc queries) 7 February 24th 07 10:02 AM
Merging data sonic Excel Programming 8 August 16th 05 12:45 AM
Should Merging workbooks pick up new data or only edited data? Peggy L. Excel Worksheet Functions 0 January 13th 05 05:31 PM
Scanning for Duplicate Data in a Column, Merging Data and Finally Removing All Duplicates...? : VB : Excel Programming 2 August 24th 03 02:22 PM


All times are GMT +1. The time now is 06:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"