Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Reg Reg is offline
external usenet poster
 
Posts: 48
Default Default value for an excel formula

Hi,

I am trying to work out a way to set a default value for a cell if the value
from a formula returned is too low.

For example: I am using a very basic formula to calculate square metres from
panel dimensions and the another formula to calculate the cost to paint these
panels.

Sometimes the panels are quite small and the value returned in the cost
column becomes artificially low (even though the formula is working correctly
the value shown will not cover my labour costs.)

Therefore I need excel to look at the formulated value and if it is below,
lets say 20, then it would automatically return a value of 20.

Hoping someone can help me with this problem.

Thank-you.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,549
Default Default value for an excel formula


=IF(B2*D2<20,20,B2*D2)

This may be of help...
http://www.cpearson.com/excel/HintsA...roupUsers.aspx
"Hints and Tips for New..."
--
Jim Cone
Portland, Oregon USA



"Reg"
wrote in message
Hi,
I am trying to work out a way to set a default value for a cell if the value
from a formula returned is too low.
For example: I am using a very basic formula to calculate square metres from
panel dimensions and the another formula to calculate the cost to paint these
panels.
Sometimes the panels are quite small and the value returned in the cost
column becomes artificially low (even though the formula is working correctly
the value shown will not cover my labour costs.)
Therefore I need excel to look at the formulated value and if it is below,
lets say 20, then it would automatically return a value of 20.
Hoping someone can help me with this problem.
Thank-you.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Default value for an excel formula

You want the Max function, as in:

=Max(Yourformula,20)

This will return the maximum of the two numbers. If the result of
Yourformula is less than 20, Max will return 20.

Regards,
Fred.

"Reg" wrote in message
...
Hi,

I am trying to work out a way to set a default value for a cell if the
value
from a formula returned is too low.

For example: I am using a very basic formula to calculate square metres
from
panel dimensions and the another formula to calculate the cost to paint
these
panels.

Sometimes the panels are quite small and the value returned in the cost
column becomes artificially low (even though the formula is working
correctly
the value shown will not cover my labour costs.)

Therefore I need excel to look at the formulated value and if it is below,
lets say 20, then it would automatically return a value of 20.

Hoping someone can help me with this problem.

Thank-you.



  #4   Report Post  
Posted to microsoft.public.excel.misc
Reg Reg is offline
external usenet poster
 
Posts: 48
Default Default value for an excel formula

Thank you, works perfectly and response was immediate.

Thanks again

"Fred Smith" wrote:

You want the Max function, as in:

=Max(Yourformula,20)

This will return the maximum of the two numbers. If the result of
Yourformula is less than 20, Max will return 20.

Regards,
Fred.

"Reg" wrote in message
...
Hi,

I am trying to work out a way to set a default value for a cell if the
value
from a formula returned is too low.

For example: I am using a very basic formula to calculate square metres
from
panel dimensions and the another formula to calculate the cost to paint
these
panels.

Sometimes the panels are quite small and the value returned in the cost
column becomes artificially low (even though the formula is working
correctly
the value shown will not cover my labour costs.)

Therefore I need excel to look at the formulated value and if it is below,
lets say 20, then it would automatically return a value of 20.

Hoping someone can help me with this problem.

Thank-you.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Default value for an excel formula

Glad I could help. Thanks for the feedback.

Regards,
Fred

"Reg" wrote in message
...
Thank you, works perfectly and response was immediate.

Thanks again

"Fred Smith" wrote:

You want the Max function, as in:

=Max(Yourformula,20)

This will return the maximum of the two numbers. If the result of
Yourformula is less than 20, Max will return 20.

Regards,
Fred.

"Reg" wrote in message
...
Hi,

I am trying to work out a way to set a default value for a cell if the
value
from a formula returned is too low.

For example: I am using a very basic formula to calculate square metres
from
panel dimensions and the another formula to calculate the cost to paint
these
panels.

Sometimes the panels are quite small and the value returned in the cost
column becomes artificially low (even though the formula is working
correctly
the value shown will not cover my labour costs.)

Therefore I need excel to look at the formulated value and if it is
below,
lets say 20, then it would automatically return a value of 20.

Hoping someone can help me with this problem.

Thank-you.







Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I set a minimum(or default) value a a result from formula Gr89ballr Excel Discussion (Misc queries) 2 April 30th 23 11:42 AM
Default Windows Profile without default Office user info Karen Excel Discussion (Misc queries) 0 November 12th 08 04:53 PM
Default ribbon to open by default when opening xls in browser Hank Excel Discussion (Misc queries) 0 April 10th 08 10:12 PM
how do you get rid of default 0 in a cell that has a formula set u lehighgrant Excel Discussion (Misc queries) 1 January 26th 06 11:49 PM
How to display = in the formula bar by default A. Hakim Excel Discussion (Misc queries) 1 February 22nd 05 12:42 PM


All times are GMT +1. The time now is 11:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"