Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-12-2017, 01:58 PM
Aussiebuild500 Aussiebuild500 is offline If(and formula Windows 10 If(and formula Office 2007
Novice
If(and formula
 
Join Date: Mar 2017
Posts: 3
Aussiebuild500 is on a distinguished road
Default If(and formula

Hello.

I have a result of $300.00 in cell G9

The formula in cell G9

IF(AND($F9=1,$C$19>$D9, $E9>0),MIN($G$3,$G$4,$G$5,$C$19*C9*$I$9,$C9*$E9),I F(AND($F9=1,$C$19<$D9, $E9=0),MIN($G$3,$G$4,$G$5,$D9*$I$9), IF(AND($F9=1,$C$19>$D9, $E9=0),MIN($G$3,$G$4,$G$5,$C$19*$I$9), 0)))

The below formula is in cell G10



=IF(AND($F10=1,$C$19>$D10, $E10>0, $G9<$G$3),MIN($G$3,$G$4,$G$5,$C$19*C10*$I$9, $C10*$E10), IF(AND($F10=1,$C$19<$D10, $E10=0),MIN($G$3,$G$4,$G$5,$D10*$I$9), IF(AND($F10=1,$C$19>$D10, $E10=0),MIN($G$3,$G$4,$G$5,$C$19*$I$9), 0)))

G9 shows the result being the minimum of the min criteria (which is fine) is this the most effective formula though?

The formula was then adjusted (in cell G9) to include if the limit (being $300.00 & cell G4 was depleted then any further results from then on based on the above formula would be zero as the minimum criteria is no longer valid (using if(and)

I have copied the formula but maybe there is either a better way or my formula has errors in it

Thank you
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
If(and formula Looking for formula AlwaysSometimesLearning Excel 5 11-27-2016 12:38 PM
If(and formula Possible to use an existing vlookup formula to also insert correct info and trigger a SUM formula innkeeper9 Excel 2 09-13-2016 08:59 PM
Need help with dragging a formula and changing a reference column as I drag the formula. LupeB Excel 1 10-22-2015 03:02 PM
Formula help furface00 Excel 10 02-26-2012 05:34 AM
Formula Help - Look and if and that Corca Excel 2 02-05-2012 09:18 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:18 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