LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hbb2699
 
Posts: n/a
Default Trouble writing an excel formula.


I am somewhat new to excel and writing formulas. So bear with me on my
question. I am not sure how to really write everything so hopefully you
can get what I am asking from it. Thanks!!!

I am having trouble writing a formula. This is basically what I want it
to say.
If cell D2 is greater than or equal to 1, than the put a 1 in the cell,
if not put a zero in the cell. Now I am pretty sure I got this formula
correct. What I typed was =IF(D2=1,"1","0")
The second part of what I want to do isn't working though. I want to
add up the cells that I had put the above formula in. When I use the
sum formula for example =sum(D2:D13) it just puts a zero in that cell
instead of adding up the ones from the if formula. I figure it won't
add them because the cells have formulas in them and not only a number.
I was wondering if it is possible to write a formula similar to my first
one but make it put the number in a seperate cell?


--
hbb2699
------------------------------------------------------------------------
hbb2699's Profile: http://www.excelforum.com/member.php...o&userid=35224
View this thread: http://www.excelforum.com/showthread...hreadid=549994

 
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Problem writing Excel formulas via ODBC srikantha Excel Worksheet Functions 1 June 21st 05 06:28 PM
Problem writing Excel formulas via ODBC srikantha Excel Discussion (Misc queries) 0 June 21st 05 08:24 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


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