Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Kim Kim is offline
external usenet poster
 
Posts: 284
Default Cells display nothing IF

I have a row of cells linked to a formula where one cell plus or minus
another cell equals a value. The value I have displays as a negative number
because many of the cells are not populated at this point. This causes
confusion to other users. Is there a way to set the cells so that if the
value is less than 0 nothing is displayed in the cell?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default Cells display nothing IF

Hi,

Try something like below:

=IF(your formula<0,"",yourformula)

Thanks,
--
Farhad Hodjat


"kim" wrote:

I have a row of cells linked to a formula where one cell plus or minus
another cell equals a value. The value I have displays as a negative number
because many of the cells are not populated at this point. This causes
confusion to other users. Is there a way to set the cells so that if the
value is less than 0 nothing is displayed in the cell?

  #3   Report Post  
Posted to microsoft.public.excel.misc
Kim Kim is offline
external usenet poster
 
Posts: 284
Default Cells display nothing IF

The formula in my cells is :

=DAYS360(B274,L274)

I keep getting an error when I try to do something different. Is this
possible?

Thank you so much!


"Farhad" wrote:

Hi,

Try something like below:

=IF(your formula<0,"",yourformula)

Thanks,
--
Farhad Hodjat


"kim" wrote:

I have a row of cells linked to a formula where one cell plus or minus
another cell equals a value. The value I have displays as a negative number
because many of the cells are not populated at this point. This causes
confusion to other users. Is there a way to set the cells so that if the
value is less than 0 nothing is displayed in the cell?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Cells display nothing IF

Custom format

General;

will only display zero and greater


using the same for a 2 decimal number format

0.00;

add a semicolon to the end if you don't want to display zero

0.00;;


--
Regards,

Peo Sjoblom


"kim" wrote in message
...
I have a row of cells linked to a formula where one cell plus or minus
another cell equals a value. The value I have displays as a negative
number
because many of the cells are not populated at this point. This causes
confusion to other users. Is there a way to set the cells so that if the
value is less than 0 nothing is displayed in the cell?



  #5   Report Post  
Posted to microsoft.public.excel.misc
Kim Kim is offline
external usenet poster
 
Posts: 284
Default Cells display nothing IF

The formula in my cells is :

=DAYS360(B274,L274)

I keep getting an error when I try to do something different. Is this
possible?

Thank you so much!

"Peo Sjoblom" wrote:

Custom format

General;

will only display zero and greater


using the same for a 2 decimal number format

0.00;

add a semicolon to the end if you don't want to display zero

0.00;;


--
Regards,

Peo Sjoblom


"kim" wrote in message
...
I have a row of cells linked to a formula where one cell plus or minus
another cell equals a value. The value I have displays as a negative
number
because many of the cells are not populated at this point. This causes
confusion to other users. Is there a way to set the cells so that if the
value is less than 0 nothing is displayed in the cell?






  #6   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Cells display nothing IF

try =if(days360(B274,L274)<=0,"",days360(B274,L274))

"kim" wrote:

The formula in my cells is :

=DAYS360(B274,L274)

I keep getting an error when I try to do something different. Is this
possible?

Thank you so much!

"Peo Sjoblom" wrote:

Custom format

General;

will only display zero and greater


using the same for a 2 decimal number format

0.00;

add a semicolon to the end if you don't want to display zero

0.00;;


--
Regards,

Peo Sjoblom


"kim" wrote in message
...
I have a row of cells linked to a formula where one cell plus or minus
another cell equals a value. The value I have displays as a negative
number
because many of the cells are not populated at this point. This causes
confusion to other users. Is there a way to set the cells so that if the
value is less than 0 nothing is displayed in the cell?




  #7   Report Post  
Posted to microsoft.public.excel.misc
Kim Kim is offline
external usenet poster
 
Posts: 284
Default Cells display nothing IF

It tells me I have an inconsistent formula. Maybe it's not possible...?

"bj" wrote:

try =if(days360(B274,L274)<=0,"",days360(B274,L274))

"kim" wrote:

The formula in my cells is :

=DAYS360(B274,L274)

I keep getting an error when I try to do something different. Is this
possible?

Thank you so much!

"Peo Sjoblom" wrote:

Custom format

General;

will only display zero and greater


using the same for a 2 decimal number format

0.00;

add a semicolon to the end if you don't want to display zero

0.00;;


--
Regards,

Peo Sjoblom


"kim" wrote in message
...
I have a row of cells linked to a formula where one cell plus or minus
another cell equals a value. The value I have displays as a negative
number
because many of the cells are not populated at this point. This causes
confusion to other users. Is there a way to set the cells so that if the
value is less than 0 nothing is displayed in the cell?



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Cells display nothing IF

If you only want to hide the negative number you can use my solution
You need to do formatcellsnumber and select custom and put in either
General; or 0.00;

You can also change your formula to

=IF(COUNT(B274,L274)=2,DAYS360(B274,L274),0)

or

=IF(COUNT(B274,L274)=2,DAYS360(B274,L274),"")

depending on if you want zero or blank


--
Regards,

Peo Sjoblom



"kim" wrote in message
...
The formula in my cells is :

=DAYS360(B274,L274)

I keep getting an error when I try to do something different. Is this
possible?

Thank you so much!

"Peo Sjoblom" wrote:

Custom format

General;

will only display zero and greater


using the same for a 2 decimal number format

0.00;

add a semicolon to the end if you don't want to display zero

0.00;;


--
Regards,

Peo Sjoblom


"kim" wrote in message
...
I have a row of cells linked to a formula where one cell plus or minus
another cell equals a value. The value I have displays as a negative
number
because many of the cells are not populated at this point. This causes
confusion to other users. Is there a way to set the cells so that if
the
value is less than 0 nothing is displayed in the cell?






  #9   Report Post  
Posted to microsoft.public.excel.misc
Kim Kim is offline
external usenet poster
 
Posts: 284
Default Cells display nothing IF

That did it! THANK YOU!!!! I appreciate all of your help!


"Peo Sjoblom" wrote:

If you only want to hide the negative number you can use my solution
You need to do formatcellsnumber and select custom and put in either
General; or 0.00;

You can also change your formula to

=IF(COUNT(B274,L274)=2,DAYS360(B274,L274),0)

or

=IF(COUNT(B274,L274)=2,DAYS360(B274,L274),"")

depending on if you want zero or blank


--
Regards,

Peo Sjoblom



"kim" wrote in message
...
The formula in my cells is :

=DAYS360(B274,L274)

I keep getting an error when I try to do something different. Is this
possible?

Thank you so much!

"Peo Sjoblom" wrote:

Custom format

General;

will only display zero and greater


using the same for a 2 decimal number format

0.00;

add a semicolon to the end if you don't want to display zero

0.00;;


--
Regards,

Peo Sjoblom


"kim" wrote in message
...
I have a row of cells linked to a formula where one cell plus or minus
another cell equals a value. The value I have displays as a negative
number
because many of the cells are not populated at this point. This causes
confusion to other users. Is there a way to set the cells so that if
the
value is less than 0 nothing is displayed in the cell?






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
Display cells when box is checked Mon Excel Discussion (Misc queries) 3 November 25th 05 09:05 PM
Display only certain cells ringersoll Excel Worksheet Functions 2 October 20th 05 08:19 PM
How can I conditionally add up cells and display? Marty Excel Discussion (Misc queries) 1 September 15th 05 06:41 PM
Formula cells needs to display "zero" hello Excel Discussion (Misc queries) 1 September 8th 05 05:51 AM
Display empty cells botany_girl Excel Discussion (Misc queries) 7 July 19th 05 06:40 PM


All times are GMT +1. The time now is 02:13 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"