×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

SUM AND IF FUCTION?

SUM AND IF FUCTION?

SUM AND IF FUCTION?

(OP)
I want to add a percentage of a figure to a figure...

=SUM(A1+(A1*(40/100)))

If A1 = £10 then the answer would be £14.

but the minimum figure I want to add on is £10, so the answer I require is £20.

Therefore how can I write a statement which would calculate the original sum, but if it was less than £10 would add £10 in lieu of the £4 as worked out by the original sum.

RE: SUM AND IF FUCTION?

=A1+if(.4*A1<10,10,.4*A1)

 

RE: SUM AND IF FUCTION?

=A1+MAX(10,0.4*A1)

RE: SUM AND IF FUCTION?

Or, for legibility:

=MIN(A1*1.4,A1+10)

-handleman, CSWP (The new, easy test)

RE: SUM AND IF FUCTION?

Oops, sorry, misread the OP.  Switch MAX for MIN.

-handleman, CSWP (The new, easy test)

RE: SUM AND IF FUCTION?

=IF(A1<10,A1,A1*(1+40/100))

or if B1 contains the % you want to increase by

=IF(A1<10,A1,A1*(1+B1/100))

the =MAX... option is suitable only if you want to increase the value to a minimum of £10.

RE: SUM AND IF FUCTION?

Err, no.

-handleman, CSWP (The new, easy test)

RE: SUM AND IF FUCTION?

robbo

The sum function adds up the values of a series of cells. It does not appear to do whatever you think its doing.

But a somif funtion exists where you only add the sells up that fit a criteria. Check it out yourself

Best regards

Morten

RE: SUM AND IF FUCTION?


The SUM function adds up a series of values.  They can be individual cells, numbers, ranges, anything.

That said, in the formula =SUM(A1+(A1*(40/100))) the SUM function is indeed doing nothing.  A1+(A1*(40/100)) by itself already evaluates to a single number.  Putting that inside SUM is just summing a single number, exactly like =SUM(150).

-handleman, CSWP (The new, easy test)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources