+ Reply to Thread
Results 1 to 3 of 3

Not transferring data if it is blank

  1. #1
    Registered User
    Join Date
    01-31-2013
    Location
    Southend
    MS-Off Ver
    Excel 2003
    Posts
    2

    Not transferring data if it is blank

    I am very new to excel and have had to design a solution for a rewards system. I have completed the majority of the solution but need to transfer the names of the winners and the prize they have won via mail merge onto a certificate.

    My problem is, I have set up my system so the possible prizes to win are columns, with the students being rows, and allowing teachers to select "Yes" or "No" for each pupil for each prize.

    This means that my data cannot be mail merged as where the name of the prize should be, it will insert "Yes". Furthermore, students who receive "No" for a prize are also merged, with the prize being called "No".

    I considered re-starting my entire system but I have lots of work documenting all the formatting, validation, formulae and macros I have used, it would take forever to re-do.

    I thought it might be possible to create a new sheet which simply shows the names of pupils who have won prizes and the name of the prize beside their name. The columns would then be "Name | Award". I would also make sure I created a new set of columns for each prize (e.g. sport) to make things simpler for myself.

    I have had trouble with this. I used an IF statement that copied the name of a student onto the sheet if, for the specific prize (e.g. Sport), their teacher had selected "Yes". However, I needed an option for if false so I used " ".
    This left blank spaces in my merge table which then created blank certificates.

    I need to find a way to just get the student name and award name of pupils who have won each prize.

    I'm really sorry that this is so long winded by I wanted to make my problem as clear as possible.

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Not transferring data if it is blank

    Been a while since I used mail merge - I usually google a tutorial on line. I found this:
    http://office.microsoft.com/en-us/ex...005203760.aspx

    It says:
    If you want to include only selected recipients in the mail merge, click Edit recipient list and select the recipients you want.

    Can you just edit the recipient list? Also, I'm not sure what Word keys on for a cell with data in it. You could try "" instead of " " for your false.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  3. #3
    Registered User
    Join Date
    01-31-2013
    Location
    Southend
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Not transferring data if it is blank

    Thank you for your help!

    This doesn't solve my problem as I need the system to run by itself without the user really needing any knowledge of excel but it has given me some ideas, I will keep trying

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1