#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default IF function

I am trying to find a value of a cell. I keep recieving error messages #Name?

If I19 is yes then I want it to calculate a value using (D15/52)*60%
If I19 is no then I want the cell to show"0"

IF(I19=yes,(((D15/52)*0.6)),"0")

Any suggestions?

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default IF function

Put the yes value within double quotes

=IF(I19="yes",D15/52*0.6,"0")


"cwilliams" wrote:

I am trying to find a value of a cell. I keep recieving error messages #Name?

If I19 is yes then I want it to calculate a value using (D15/52)*60%
If I19 is no then I want the cell to show"0"

IF(I19=yes,(((D15/52)*0.6)),"0")

Any suggestions?

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default IF function

Try this:

=IF(I19="yes",(D15/52)*0.6,0)

In quotes, Excel interprets "yes" as simple text. Without the quotes, it
looks for a function or range with that name.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"cwilliams" wrote:

I am trying to find a value of a cell. I keep recieving error messages #Name?

If I19 is yes then I want it to calculate a value using (D15/52)*60%
If I19 is no then I want the cell to show"0"

IF(I19=yes,(((D15/52)*0.6)),"0")

Any suggestions?

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default IF function

That was it. Thanks guys!!!!!

"Ron Coderre" wrote:

Try this:

=IF(I19="yes",(D15/52)*0.6,0)

In quotes, Excel interprets "yes" as simple text. Without the quotes, it
looks for a function or range with that name.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"cwilliams" wrote:

I am trying to find a value of a cell. I keep recieving error messages #Name?

If I19 is yes then I want it to calculate a value using (D15/52)*60%
If I19 is no then I want the cell to show"0"

IF(I19=yes,(((D15/52)*0.6)),"0")

Any suggestions?

Thanks!

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
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
Creating a Custom Excel Function to Calculate Gini Coefficients [email protected] Excel Worksheet Functions 3 February 21st 06 10:15 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


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