Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2008

Tip: Looking for answers? Try searching our database.

excel calculation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Shiblie Bshara - 16 Jan 2008 08:36 GMT
hi,
I need to do a formula that covers the next conditions:

Max= 5000
Total= 5700
Min = ???

if total < max, then min = total*0.06
if total = max, then min = total*0.06
if total > max, then min = (max*0.06)+(total-max)

thanx
Mike H - 16 Jan 2008 08:55 GMT
Hi,

Try this

=IF(B2>B1,(B1*0.06)+(B2-B1),B2*0.06)

Where
B1= max
B2= total

Mike

> hi,
> I need to do a formula that covers the next conditions:
[quoted text clipped - 8 lines]
>
> thanx
Bernard Liengme - 16 Jan 2008 14:21 GMT
The IF formula is good but you can also use an IF-less formula
With Max in A1 and Total in B1
=(B1*0.06)*(B1<=A1)+((A1*0.06)+(B1-A1))*(B1>A1)
best wishes
Signature

Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

> hi,
> I need to do a formula that covers the next conditions:
[quoted text clipped - 8 lines]
>
> thanx
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.