#1   Report Post  
Flutie99
 
Posts: n/a
Default IF Statement

I am trying to write an if statement that says:

=if(a=1&b=a number,c1/d1,"na")

What is the command for the "a number" part?
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=IF(AND(A1=1,ISNUMBER(B1)),C1/D1,"N/A")


Regards,

Peo Sjoblom

"Flutie99" wrote:

I am trying to write an if statement that says:

=if(a=1&b=a number,c1/d1,"na")

What is the command for the "a number" part?

  #3   Report Post  
Niek Otten
 
Posts: n/a
Default

You probably mean

=IF(AND(A1=1,ISNUMBER(B1)),C1/D1,NA())

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Flutie99" wrote in message
...
I am trying to write an if statement that says:

=if(a=1&b=a number,c1/d1,"na")

What is the command for the "a number" part?



  #4   Report Post  
Michael
 
Posts: n/a
Default

See your first Post.
--
Sincerely, Michael Colvin


"Flutie99" wrote:

I am trying to write an if statement that says:

=if(a=1&b=a number,c1/d1,"na")

What is the command for the "a number" part?

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 Statement nightmare eugenevr Excel Discussion (Misc queries) 6 May 18th 05 01:09 PM
IF Statement Brent New Users to Excel 3 April 29th 05 04:24 PM
What statement to use? Paul Excel Worksheet Functions 6 February 13th 05 05:23 PM
How do I fix a circular reference in a financial statement? drjayhawk25 Excel Discussion (Misc queries) 0 February 7th 05 05:19 PM
Statement lintan Excel Worksheet Functions 1 December 2nd 04 11:31 PM


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