Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I write this IF statemant?

i want it to type "resistant" if b6 is < or = 5
"intermediate" if 5 but <10
"susceptible" if < or = 10

I know i should know how to do this I just can't figure it out with multiple
conditions. Any help would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 221
Default How do I write this IF statemant?

=If(b6<=5,"resistant",if(and(b65,b6<10),"intermed iate","susceptible")

I'm also assuming it's susceptible if it's greater than or equal to 10 (not
less than or equal to 10).

****************************
Hope it helps!
Anne Troy
www.OfficeArticles.com
****************************
"xtrmfighter" wrote in message
...
i want it to type "resistant" if b6 is < or = 5
"intermediate" if 5 but <10
"susceptible" if < or = 10

I know i should know how to do this I just can't figure it out with
multiple
conditions. Any help would be greatly appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I write this IF statemant?

yes, thank you.. i did mean to type "if = 10 then susceptible

"Anne Troy" wrote:

=If(b6<=5,"resistant",if(and(b65,b6<10),"intermed iate","susceptible")

I'm also assuming it's susceptible if it's greater than or equal to 10 (not
less than or equal to 10).

****************************
Hope it helps!
Anne Troy
www.OfficeArticles.com
****************************
"xtrmfighter" wrote in message
...
i want it to type "resistant" if b6 is < or = 5
"intermediate" if 5 but <10
"susceptible" if < or = 10

I know i should know how to do this I just can't figure it out with
multiple
conditions. Any help would be greatly appreciated.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default How do I write this IF statemant?

I assume you mean =10 is " "susceptible", if so try
=IF(B6<=5,"resistant",(IF(B6=10,"susceptible","in termediate")))
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"xtrmfighter" wrote:

i want it to type "resistant" if b6 is < or = 5
"intermediate" if 5 but <10
"susceptible" if < or = 10

I know i should know how to do this I just can't figure it out with multiple
conditions. Any help would be greatly appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default How do I write this IF statemant?

I think you meant susceptible if or = 10? if so...
=IF(B6<=5,"resistant",IF(B6<10,"intermediate","sus ceptible"))

"xtrmfighter" wrote:

i want it to type "resistant" if b6 is < or = 5
"intermediate" if 5 but <10
"susceptible" if < or = 10

I know i should know how to do this I just can't figure it out with multiple
conditions. Any help would be greatly appreciated.



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 statemant mikespeck Excel Worksheet Functions 1 August 5th 06 06:48 PM
How do you write a T with a bar on it? sheezyspearean Excel Discussion (Misc queries) 1 September 15th 05 03:43 PM
How to write a macro?? Keeter Excel Discussion (Misc queries) 1 July 19th 05 08:34 PM
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? Daniel Excel Worksheet Functions 1 June 23rd 05 11:38 PM
How to I write a UDF? Dr. Juzzy Excel Discussion (Misc queries) 1 January 30th 05 02:17 PM


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