Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-05-2014, 03:47 AM
markdeniet markdeniet is offline Using multiple formulas in one (IF, AND and SUM) gives syntax error Windows 7 32bit Using multiple formulas in one (IF, AND and SUM) gives syntax error Office 2007
Novice
Using multiple formulas in one (IF, AND and SUM) gives syntax error
 
Join Date: Feb 2014
Posts: 1
markdeniet is on a distinguished road
Default Using multiple formulas in one (IF, AND and SUM) gives syntax error

I am trying to use multiple formulas (IF, AND and SUM) based on bookmarks to calculate a sum only if several bookmarks (grades) are higher than 5,5. This formula works in excel, but not in word...

The formula is the following:
IF(AND(BOOKMARK1>=5,5; BOOKMARK2>=5,5; BOOKMARK3>=5,5;BOOKMARK4>=5,5); SUM(0,35*BOOKMARK1;0,35*BOOKMARK2;0,15*BOOKMARK3;0 ,15*BOOKMARK4)/10;4)



However, word does not accept this formula (syntax error), can anyone help?
Reply With Quote
  #2  
Old 02-05-2014, 05:17 AM
macropod's Avatar
macropod macropod is offline Using multiple formulas in one (IF, AND and SUM) gives syntax error Windows 7 32bit Using multiple formulas in one (IF, AND and SUM) gives syntax error Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

In Word, the AND expression can only evaluate two variables. Word also uses a different syntax for IF fields. To see how to do this and a wide range of other calculations in Word, check out my Microsoft Word Field Maths Tutorial, at:
http://windowssecrets.com/forums/sho...Maths-Tutorial
or
http://www.gmayor.com/downloads.htm#Third_party
In particular, look at the items titled 'AND & OR: Testing Multiple Logical Numeric Expressions' and 'Testing Or Returning Text Strings With Logical Functions In Bookmarks'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
bookmarks, formulas, macros don't work



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using multiple formulas in one (IF, AND and SUM) gives syntax error Syntax to use OFFSET() in a cell formula? dlowrey Excel 3 07-09-2013 09:15 AM
Using multiple formulas in one (IF, AND and SUM) gives syntax error Multiple Formulas in one Cell one Formula Away From Completion microsoftnovice Excel 2 12-05-2012 12:54 PM
Using multiple formulas in one (IF, AND and SUM) gives syntax error how to transfer multiple excel cells into specific place in word document by formulas anton Excel 1 12-20-2011 03:56 AM
Using multiple formulas in one (IF, AND and SUM) gives syntax error Syntax help needed blazzercat Excel 3 07-09-2009 02:15 PM
Using multiple formulas in one (IF, AND and SUM) gives syntax error How to transfer multiple cells from excel to word by formulas justziggy Word 5 05-23-2009 02:33 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft