Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Prima1
 
Posts: n/a
Default values in IF formulas

I have a basic table whereby if a cell is less than zero or greater than
zero, I want the next cell to display a '-' or '+' sign. However, the formula
(as shown below) shows that the name is not valid or contains an error:

I7: =IF(H7<0, [-], [+])

How do I make this work? Is there a problem with using non-numbers or
letters in IF formulas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default values in IF formulas

I7: =IF(H7<0, [-], [+])

In I7: =IF(H7<0,"-","+")
(use double quotes instead)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Prima1" wrote:
I have a basic table whereby if a cell is less than zero or greater than
zero, I want the next cell to display a '-' or '+' sign. However, the formula
(as shown below) shows that the name is not valid or contains an error:

I7: =IF(H7<0, [-], [+])

How do I make this work? Is there a problem with using non-numbers or
letters in IF formulas?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default values in IF formulas

Just being a stickler...

if a cell is less than zero or greater than zero


What if the cell IS zero?

Biff

"Prima1" wrote in message
...
I have a basic table whereby if a cell is less than zero or greater than
zero, I want the next cell to display a '-' or '+' sign. However, the
formula
(as shown below) shows that the name is not valid or contains an error:

I7: =IF(H7<0, [-], [+])

How do I make this work? Is there a problem with using non-numbers or
letters in IF formulas?



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
Easily convert all formulas in 3d spreadsheet to values? Jazza Excel Worksheet Functions 2 April 9th 06 04:46 AM
Copy Values in a cell (derived from formulas) Ali Excel Worksheet Functions 2 January 19th 06 02:18 PM
How do I clear data values wthout losing the formulas? genaksdal Excel Worksheet Functions 1 November 8th 05 05:48 PM
differentiating between formulas and values shellshock Excel Discussion (Misc queries) 3 July 7th 05 06:02 PM
Formulas with "Y" & "N" values Corey B Excel Discussion (Misc queries) 4 February 16th 05 01:49 AM


All times are GMT +1. The time now is 12:57 PM.

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"