Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stan Halls
 
Posts: n/a
Default excel 2003 If function

I have a spread sheet in excel 2003 that has formular in it that add various
cell values to gether and when i use the If function to test the cells i keep
getting wrong results
=IF(AC30,1,0) every result = 1 even though the value in the cell is zero
AC3 contains
=IF((C3+E3+G3+I3+K3+M3+O3+Q3+S3+U3+W3+Y3)0,(C3+E3 +G3+I3+K3+M3+O3+Q3+S3+U3+W3+Y3)/AT3,"")
can anyone tell me what i am doing wrong as i am new to excel and used to
lotus 123
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bearacade
 
Posts: n/a
Default excel 2003 If function


IF(AC30,1,0) means you are testing if AC3 is greater than 0, if you
want it to include 0, you should put IF(AC3=0,1,0)

Are you testing for a 0 value? or a BLACK value? you might want to try
this IF(ISBLANK(AC3),1,0)

You are missing a bracelet and have an extra space, correct syntax is:

=IF((C3+E3+G3+I3+K3+M3+O3+Q3+S3+U3+W3+Y3)0,(C3+E3 +G3+I3+K3+M3+O3+Q3+S3+U3+W3+Y3)/AT3,"")


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=552418

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default excel 2003 If function

Excel evaluates "" as greater than 0. Thus cell AC3 will always be greater
than 0 (unless AT3 is negative). Try this instead.

=IF(AND(AC30,AC3<""),1,0)

This tests to see if AC3 is greater than 0 AND not equal to "".

HTH,
Elkar


"Stan Halls" wrote:

I have a spread sheet in excel 2003 that has formular in it that add various
cell values to gether and when i use the If function to test the cells i keep
getting wrong results
=IF(AC30,1,0) every result = 1 even though the value in the cell is zero
AC3 contains
=IF((C3+E3+G3+I3+K3+M3+O3+Q3+S3+U3+W3+Y3)0,(C3+E3 +G3+I3+K3+M3+O3+Q3+S3+U3+W3+Y3)/AT3,"")
can anyone tell me what i am doing wrong as i am new to excel and used to
lotus 123

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stan Halls
 
Posts: n/a
Default excel 2003 If function

Thank you for your help, it works fine now

"Elkar" wrote:

Excel evaluates "" as greater than 0. Thus cell AC3 will always be greater
than 0 (unless AT3 is negative). Try this instead.

=IF(AND(AC30,AC3<""),1,0)

This tests to see if AC3 is greater than 0 AND not equal to "".

HTH,
Elkar


"Stan Halls" wrote:

I have a spread sheet in excel 2003 that has formular in it that add various
cell values to gether and when i use the If function to test the cells i keep
getting wrong results
=IF(AC30,1,0) every result = 1 even though the value in the cell is zero
AC3 contains
=IF((C3+E3+G3+I3+K3+M3+O3+Q3+S3+U3+W3+Y3)0,(C3+E3 +G3+I3+K3+M3+O3+Q3+S3+U3+W3+Y3)/AT3,"")
can anyone tell me what i am doing wrong as i am new to excel and used to
lotus 123

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bruno Campanini
 
Posts: n/a
Default excel 2003 If function

"Stan Halls" wrote in message
...
I have a spread sheet in excel 2003 that has formular in it that add
various
cell values to gether and when i use the If function to test the cells i
keep
getting wrong results
=IF(AC30,1,0) every result = 1 even though the value in the cell is zero
AC3 contains
=IF((C3+E3+G3+I3+K3+M3+O3+Q3+S3+U3+W3+Y3)0,(C3+E3 +G3+I3+K3+M3+O3+Q3+S3+U3+W3+Y3)/AT3,"")
can anyone tell me what i am doing wrong as i am new to excel and used to
lotus 123


=IF(N(AC3),1,0)

Bruno


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
WHERE IS THE INTERPOLATION FUNCTION IN EXCEL 2003 Cooper Excel Worksheet Functions 3 March 20th 06 03:39 PM
excel 2003 right-click function not working Kel5150 Excel Worksheet Functions 2 January 11th 06 02:21 PM
Excel 2003, Insert Function, create full name & descriptions cybersurfer Excel Worksheet Functions 0 July 14th 05 05:13 PM
Excel 2003: can I insert a "last edited" date function? KTK Excel Worksheet Functions 1 June 27th 05 11:59 PM
WHY WAS THE CONVERT FUNCTION DROPPED IN EXCEL 2003??? dan Excel Worksheet Functions 2 May 5th 05 06:03 AM


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