Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How would I use and if statement based on between two numbers??
Example--- For cell A6: IF A5 is between .99 and 5, 1, 0 A5 = .25 ....so A6 is 0 A5 = 1 ......so A6 is 1 A5 = 4 .....so A6 is 1 A5 = 5 ......so A6 is 0 A5 = 6 ......so A6 is 0 ---------------------------------- ALSO, have one: IF A5 is equal to 1 or between 1 and 5, but not equal or more than 5? Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Several ways, but try this one
=IF(A6=1,IF(A6<5,1,0),0) -- -John Please rate when your question is answered to help us and others know what is helpful. "ADK" wrote: How would I use and if statement based on between two numbers?? Example--- For cell A6: IF A5 is between .99 and 5, 1, 0 A5 = .25 ....so A6 is 0 A5 = 1 ......so A6 is 1 A5 = 4 .....so A6 is 1 A5 = 5 ......so A6 is 0 A5 = 6 ......so A6 is 0 ---------------------------------- ALSO, have one: IF A5 is equal to 1 or between 1 and 5, but not equal or more than 5? Thanks |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=--AND(A50.99,A5<5)
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "ADK" wrote in message ... How would I use and if statement based on between two numbers?? Example--- For cell A6: IF A5 is between .99 and 5, 1, 0 A5 = .25 ....so A6 is 0 A5 = 1 ......so A6 is 1 A5 = 4 .....so A6 is 1 A5 = 5 ......so A6 is 0 A5 = 6 ......so A6 is 0 ---------------------------------- ALSO, have one: IF A5 is equal to 1 or between 1 and 5, but not equal or more than 5? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2002 : Convert Positive Numbers to Negative Numbers ? | Excel Discussion (Misc queries) | |||
Excel Formula - Add column of numbers but ignore negative numbers | Excel Worksheet Functions | |||
VLOOKUP should compare numbers stored as text to plain numbers. | Excel Worksheet Functions | |||
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? | Excel Worksheet Functions | |||
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? | Excel Worksheet Functions |