nfroio,
How about if J = I ?
Regards,
Patrick
Main Topics
Browse All TopicsHi all,
Need some help w/ an IF= Statement:
G H I J
1 $3,219 $1,092.92 $2,126.08 -$98,907.08
2. $400,000 $86,859.31 $313,820.69 -$13,140.69
in the above:
G is the sum of H plus I
J is the sum of H minus $100,000
Basically what I am trying to do is thus:
IF J is greater than I, then display I, IF J is less than I display J
Please let me know if you need more info, I think its fairly straight forward, but, as I dont use IF statements often, well, if at all, I am perplexed,
Thanks,
nfroio
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Brad,
OK, the formula is almost there (he says with hopeful abandon).
The only problem that I have, and I hope its something that can be resolved, if the answer is cant be done, well, there you have it, but, here goes:
I have amended the formula a wee, as I asked the wrong way to get to what I need, here is what I have:
=IF(I24<100000,I24,100000-
Basically, this is all good, however, I need to limit the result to 100,000, which means somehow, I need to have the result checked against Column J + Column H, if the result is less than 100,000 then return the value, if the result from the formula is over 100,000 to limit the returned value to 100,000.
I have lotsa points, and can raise this to the max allowable value if needed, this is just making me bounce my head off of my desk..
nfroio,
As an observer to the proceedings - Getting the solution does not really depend on you increasing the points - although no doubt they will be appreciated - it appears to be more about being sure you define what you are really needing.
Why not try to put into words, once again, exactly what you are needing.
Patrick
nfroio,
=MIN(H24+J24,100000) Returns J24+J24 if it is less than 100,000. Returns 100,000 otherwise.
=MIN(IF(I24<100000,I24,100
Like patrickab said, getting a complete description of how you want the formula to work is the key to success in this problem. The points on offer are quite generous. I'm thinking if you show some sample numbers and the desired results that would do the trick. You'll want to show all the different possibilities (under and over 100,000 for sure; other possibilities if you think they affect the required formula).
Brad
OK, here's the gist: more examples
G H I J
1 $3,219.00 $1,092.92 $2,126.08 $2,126.08 OK
2 $75,910.00 $48,510.52 $27,399.48 $27,399.48 OK
3 $84,211.00 $50,261.60 $33,949.40 $33,949.40 OK
4 $101,456.00 $76,958.90 $24,497.10 $24,497.10 BAD
5 $153,247.00 $85,766.29 $67,480.71 $67,480.71 BAD
6 $400,000.00 $86,859.31 $313,820.69 $$13,140.69 OK
Basically,
Column
G = The Total Amount on Balance (both real and outstanding)
H = The Total Amount of Actual Money Received
I = Outstanding Balance
However, no more than $100,000.00 can actually be paid by contract, regardless of Total Balance (Col. G)
So, for Rows 1, 2, 3, & 6, the amount shown in Column J make sense, as Row's 1,2, & 3 have Balances under $100K amount, so, realisitically, the total between what they paid is known, so, at this point in time, the most they could owe would be the outstanding balance, column I. The formula bears this out well.
For Row 6, the formula also works, as the Outstanding Balance is over $100,000, the most that needs to be paid is the difference between what has actually been paid, and $100,000.
Rows 4 & 5 however, we know that row 5 only has to pay $100,000 of the $153,247 amount on balance, to date, $85,766.29 has been paid (column H), the outstanding balance shows $67,480.71, however, to get to $100,000, only $14,233.71 needs to be paid to fulfill the contract, this is the number that I need to show for this example in Column J
Same basic problem exists for Row 5.
Clear as a Guniess on St. Patricks huh?
Business Accounts
Answer for Membership
by: matthewspatrickPosted on 2005-01-04 at 10:46:17ID: 12954994
=IF(J2>I2,I2,J2)