![]() |
|
#1
|
|||
|
|||
![]() I have the following result table in excel where compulsory subjects are (Science & maths) and (English & Marathi) are two optional subjects Seat No Science Maths English Marathi 1 23 25 30 # 2 26 24 # 30 now in word mailing, i have the following table Seat No. Course Overall <<Seat_No>> <<Subject>> <<Marks>> Here if the student has selected optional subject English than automatically the subject English should come and corresponding marks and vice versa for Marathi. So is there a way to do this in the mailing. thank you. Last edited by Charles Kenyon; 06-20-2020 at 09:37 AM. Reason: add info to title |
#2
|
||||
|
||||
![]()
Try employing an IF test. For example:
{MERGEFIELD Seat_No} Science: {MERGEFIELD Science} {MERGEFIELD Seat_No} Maths: {MERGEFIELD Maths} {MERGEFIELD Seat_No} {IF{MERGEFIELD English}= "#" "Marathi: {MERGEFIELD Marathi}" "English: {MERGEFIELD English}"}
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
how to do it for the following
Say there are three 3 optional papers O7 O8 O9 Eco # # 10 Pol 12 # # Psy # 13 # =IF(AND(J4="#",K4="#"),"Psy",IF(J4="#","Pol","Eco" )) how to use "AND" in word mail merger. thank you |
#4
|
||||
|
||||
![]()
You'd use an IF test for each option:
{IF{MERGEFIELD Eco}<> "#" "Eco: {MERGEFIELD Eco}"}{IF{MERGEFIELD Pol}<> "#" Pol: {MERGEFIELD Pol}{IF{MERGEFIELD Psy}<> "#" Psy: {MERGEFIELD Psy} You can't use the AND test that way.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Jamal NUMAN | PowerPoint | 5 | 03-20-2018 12:14 AM |
![]() |
emtmike | Word | 1 | 10-09-2012 12:23 AM |
![]() |
Jamal NUMAN | Excel | 9 | 09-02-2011 02:08 AM |
![]() |
AwesomeOpportunities | Outlook | 1 | 07-25-2010 05:08 PM |
Problem with mailing in word | gfr | Word | 0 | 03-17-2010 05:12 AM |