Formula Help Please

Joe Galvan

Board Regular
Joined
Jun 24, 2008
Messages
152
=IF(AE4-((Sum((O$4:O$11))<$X4,AE4-((Sum((O$4:O$11)))+(((ROUND(($Z4-(AE4-((Sum((O$4:O$11)))/$Y4,0)))*$Y4),AE4-((Sum((O$4:O$11)))


The underlined parts in the formula used to reference just one cell... now i need to to sum a range first, then complete the rest of the function.

Not sure if sticking a Sum function in the middle of the formula was the right thing to do....

Any help is greatly appreciated.



thanks,
JOE
 
HTML:
=IF(AE4-SUM(O4:O11)
 
Nopesorry<?XML:NAMESPACE PREFIX = X4,AE4-SUM(O4 /><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))[html]<></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))>
 
Upvote 0

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
<?xml:namespace prefix = x4,ae4-sum(o4 /><x4,ae4-sum(o4:o11)+round(z4-(ae4-sum(o4:o11)) p y4,0)*y4,ae4-sum(o4:o11))<>I give up</x4,ae4-sum(o4:o11)+round(z4-(ae4-sum(o4:o11))>
 
Last edited:
Upvote 0
=IF(AE4-SUM(O4:O11) "Less Than" X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))/Y4,0)*Y4,AE4-SUM(O4:O11)) <?xml:namespace prefix = x4,ae4-sum(o4 /><x4,ae4-sum(o4:o11)+round(z4-(ae4-sum(o4:o11)) p y4,0)*y4,ae4-sum(o4:o11))<></x4,ae4-sum(o4:o11)+round(z4-(ae4-sum(o4:o11))>
 
Last edited:
Upvote 0
Thanks for trying guys... I gave it a try and it doesn't work... and it doesnt allow me to step into the formaula and edit it.
 
Upvote 0
=IF(AE4-SUM(O4:O11) "Less Than" X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))/Y4,0)*Y4,AE4-SUM(O4:O11)) <?xml:namespace prefix = x4,ae4-sum(o4 /><x4,ae4-sum(o4:o11)+round(z4-(ae4-sum(o4:o11)) p y4,0)*y4,ae4-sum(o4:o11))<></x4,ae4-sum(o4:o11)+round(z4-(ae4-sum(o4:o11))>
This can't be like this, try:

PHP:
=IF(AE4-SUM(O4:O11)<X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))/Y4,0)*Y4,AE4-SUM(O4:O11))
<X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))[ PHP]<>
<X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p < Y4,0)*Y4,AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))>
<X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O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Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p Y4,0)*Y4,AE4-SUM(O4:O11))<><X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11)) p < Y4,0)*Y4,AE4-SUM(O4:O11))>*untested*</X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))></X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))>
</X4,AE4-SUM(O4:O11)+ROUND(Z4-(AE4-SUM(O4:O11))>
 
Last edited:
Upvote 0
I got it!!

=IF((AG4-SUM($Q$4:$Q$11))<$X4,AG4-SUM($Q$4:$Q$11)+(((ROUND(($Z4-((AG4-(SUM($Q$4:$Q$11)))))/$Y4,0)))*$Y4),AG4-SUM($Q$4:$Q$11))


**** parentheses... I kept playing with it. Went from an unrecognized formula to, there wasnt enough arguments... stuck in some parentheses and TA DA!!


thanks all for your help!
 
Upvote 0
@Nate

I couldnt paste my formule with the < in it Nate hence me writing it I am at work so no Excel genie to post!!


There still looks to be a lot of perethsis in there Joe but I suppose if it works it works
 
Upvote 0
Yeah you shouldn't need that many parens, something like this:

PHP:
=IF(AG4-SUM($Q$4:$Q$11)<$X4,AG4-SUM($Q$4:$Q$11)+ROUND($Z4-(AG4-SUM($Q$4:$Q$11))/$Y4,0)*$Y4,AG4-SUM($Q$4:$Q$11))

*untested*

I apologize, I'm more looking at this interface than the exact Q&A, right now. :)
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,726
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top