Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Show text field if SUM returns zero value?

I have set up a Worksheet in Excel 2000 that calculates the difference (using
SUM) of two cells in a row and displays the result in a third cell, which, of
course, contains the formula. If the result is zero, I would like to display
a text message in the aforementioned third cell. So far, I have tried to add
on a logical IF statement to the formula already in the cell, but I can't
seem to hit on the correct syntax.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Show text field if SUM returns zero value?

Try something like this:

=IF(SUM(A1:B1),SUM(A1:B1),"your_text_message_here_ inside_the_quotes")

Biff

"KevinG1" wrote in message
...
I have set up a Worksheet in Excel 2000 that calculates the difference
(using
SUM) of two cells in a row and displays the result in a third cell, which,
of
course, contains the formula. If the result is zero, I would like to
display
a text message in the aforementioned third cell. So far, I have tried to
add
on a logical IF statement to the formula already in the cell, but I can't
seem to hit on the correct syntax.



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
Trouble sorting first by a dates field and then by a text field. trainer07 Excel Discussion (Misc queries) 1 December 6th 06 12:25 AM
Limiting size field MS query returns LarryLL Excel Discussion (Misc queries) 0 July 6th 06 11:52 PM
how do i show text in the data field of a pivot table? pum75 Excel Discussion (Misc queries) 1 November 16th 05 09:05 PM
Logic for Placing Multiple field Returns in a Cell SCHNYDES Excel Discussion (Misc queries) 4 October 22nd 05 12:10 AM
how to remove hard returns, which show as little boxes eames.librarian Excel Discussion (Misc queries) 3 August 4th 05 07:46 PM


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