positive value and importing data

F

flashing frank

hi,
i am very new in excel, and i have a questions

i am working with very simple functions, and now i want to add
function that only shows positive values after calculating.
i.e. 5-2=3
but
0-2=0

i hope someone can help me with that problem :)

greetz
f
 
D

Dave Peterson

One way is to check it:

=if(yourformula<0,0,yourformula)

Another way is to just limit the lower value with =Max()

=max(0,yourformula)

If your formula evaluates to -2, then 0 is bigger and will be used.

If your formula evaluates to 326, then that's bigger than 0 and will be used.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top