Seting the minimum value in a cell

  • Thread starter Thread starter crispydcrisp
  • Start date Start date
C

crispydcrisp

i am trying to get a currency cell to have a minimum value of £0 (i
dont want it to go into -£)..the cell has a simple formula in it...so
i need to have the formula still....i tryed typing in MIN (0) but that
didnt work....im guessing its in some sort of properties....can any1
help

thanks
 
Assume you input data in A1 and your formula in A2

Select A1
Goto Data>Validation
In settings tab Allow: Custom, Formula: =A2>0

You may want to look at other settings and customize to suits your need.


i am trying to get a currency cell to have a minimum value of £0 (i
dont want it to go into -£)..the cell has a simple formula in it...so
i need to have the formula still....i tryed typing in MIN (0) but that
didnt work....im guessing its in some sort of properties....can any1
help

thanks
 
You could also try formatting the cell as

[>0]#,##0;;;

or a If statement

=if(A30<=0,"",A30)
VBA Noo
 
ok....the cell is i11.....and all it is doing is =H11-500........its
currency....basically ....if H11 is less than £500 then the cell i11
goes into minus.....instead of that i jst want it to say £0.....any
ideas?
 

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

Back
Top