Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 06-23-2014, 05:13 AM
BobBridges's Avatar
BobBridges BobBridges is offline Adding quantity if statement Windows 7 64bit Adding quantity if statement Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

Quote:
=IF(Bn<=En*7,"BUY="&ROUNDUP(SUM(SUM(En*7)-Bn)/En,0)),"IN STOCK"))
If that works for you, ok (I have a ton of stuff to do today so I won't try too hard to check), but you don't need the SUM functions there. The same thing happens without them:
Code:
=IF(Bn<=En*7,"BUY="&ROUNDUP((En*7-Bn)/En,0)),"IN STOCK"))
No, wait, there's a problem here. In column E, I have eight days' supply already. The whole point of doing that is not to have to repeat the multiplication in the IF function. If you don't want to have the extra column E, then you multiply by D instead.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I print a different quantity of each page? A macro maybe? unittwentyfive Word 2 04-05-2014 07:47 PM
Add a statement sma Word 6 03-23-2014 10:30 AM
Adding quantity if statement if statement piper7971 PowerPoint 1 08-19-2010 07:10 AM
automatic quantity updation of total amount is restricted. aligahk06 Excel 0 05-23-2010 08:39 AM
Adding quantity if statement Help with IF statement! CPelkey Word 1 04-12-2010 09:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:30 PM.


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