Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 68
Default Help with Formula

I have a graph built that automatically updates based on data that is
entered. One of the columns that is graphed, has a formula of =MIN(cell
#,500), because I wanted it set so that if data entered is above 500, the
graph only charts 500. If the data entered is below 500, then it graphs
whatever the acutal number is. Problem is, sometimes the cell will be blank
(if there is no data to enter), and when this happens then it graphs 500
because of the formula. I would like it to either graph zero, or else not
graph anything. I'm trying to figure out how to change the formula
=MIN(cell#,500) so that when the cell is left blank, it graphs zero or
nothing, and not 500.

Thanks in advance for any help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Help with Formula

Try this:

=IF(cell#=0,0,MIN(cell#,500))

You might like to change the second zero to "" if you want the cell
treated as a blank.

Hope this helps.

Pete

On Jun 8, 5:26 pm, Amber wrote:
I have a graph built that automatically updates based on data that is
entered. One of the columns that is graphed, has a formula of =MIN(cell
#,500), because I wanted it set so that if data entered is above 500, the
graph only charts 500. If the data entered is below 500, then it graphs
whatever the acutal number is. Problem is, sometimes the cell will be blank
(if there is no data to enter), and when this happens then it graphs 500
because of the formula. I would like it to either graph zero, or else not
graph anything. I'm trying to figure out how to change the formula
=MIN(cell#,500) so that when the cell is left blank, it graphs zero or
nothing, and not 500.

Thanks in advance for any help.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 68
Default Help with Formula

This worked perfectly, thanks for your help!

"Pete_UK" wrote:

Try this:

=IF(cell#=0,0,MIN(cell#,500))

You might like to change the second zero to "" if you want the cell
treated as a blank.

Hope this helps.

Pete

On Jun 8, 5:26 pm, Amber wrote:
I have a graph built that automatically updates based on data that is
entered. One of the columns that is graphed, has a formula of =MIN(cell
#,500), because I wanted it set so that if data entered is above 500, the
graph only charts 500. If the data entered is below 500, then it graphs
whatever the acutal number is. Problem is, sometimes the cell will be blank
(if there is no data to enter), and when this happens then it graphs 500
because of the formula. I would like it to either graph zero, or else not
graph anything. I'm trying to figure out how to change the formula
=MIN(cell#,500) so that when the cell is left blank, it graphs zero or
nothing, and not 500.

Thanks in advance for any help.




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



All times are GMT +1. The time now is 07:35 AM.

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

About Us

"It's about Microsoft Excel"