#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default If then statements

Hi, I know this is probably a really easy question... but I'm not very good
in excel yet. Here is what I'm trying to do:

I have three cells that I will put numbers in. If all three of these cells
have numbers in them, I want the "total cell" to say .25. If they don't...
then I want it to say 0.

How do I do this?

Thanks for your help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default If then statements

With your 3 number in A1 to C1 try in another cell

=IF(COUNTIF(A1:C1,"0")=3,SUM(A1:C1),"")

Mike

"Emily" wrote:

Hi, I know this is probably a really easy question... but I'm not very good
in excel yet. Here is what I'm trying to do:

I have three cells that I will put numbers in. If all three of these cells
have numbers in them, I want the "total cell" to say .25. If they don't...
then I want it to say 0.

How do I do this?

Thanks for your help!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default If then statements

If any of A1, A2, or A3 are blank the result is 0 otherwise result is .25
Try this:

=IF(OR(A1="",A2="",A3=""),0,0.25)


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default If then statements

One way:

=0.25*(COUNT(A1:C1)=3)

In article ,
Emily wrote:

Hi, I know this is probably a really easy question... but I'm not very good
in excel yet. Here is what I'm trying to do:

I have three cells that I will put numbers in. If all three of these cells
have numbers in them, I want the "total cell" to say .25. If they don't...
then I want it to say 0.

How do I do this?

Thanks for your help!

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
IF statements profmorse Excel Discussion (Misc queries) 5 December 20th 06 07:41 PM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
If then statements David Bryant Excel Worksheet Functions 3 June 5th 06 10:41 PM
IF Statements Rick Scott via OfficeKB.com Excel Worksheet Functions 5 June 20th 05 02:04 PM
Add two IF statements together Dubbs Excel Worksheet Functions 2 June 15th 05 03:52 PM


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