Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How do I create an IF function that allows me to work on a cell if the value
input falls within a range of values. For example, =IF(A1=B1:B10,"true","false") |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUM(N(A1=B1:B10))
Ctrl + Shift + Enter "Melvin Tang" wrote: How do I create an IF function that allows me to work on a cell if the value input falls within a range of values. For example, =IF(A1=B1:B10,"true","false") |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Non array:
=AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)) "Melvin Tang" wrote: How do I create an IF function that allows me to work on a cell if the value input falls within a range of values. For example, =IF(A1=B1:B10,"true","false") |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sorry, it doesn't seem to work:
=IF(A1=AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)), "true", "false") Am I doing it wrongly? "Tevuna" wrote: Non array: =AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)) "Melvin Tang" wrote: How do I create an IF function that allows me to work on a cell if the value input falls within a range of values. For example, =IF(A1=B1:B10,"true","false") |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)) is the condition that is either TRUE or
FALSE. Use syntax rules as for any other condition. He =IF(AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)),"true","f alse") "Melvin Tang" wrote: Sorry, it doesn't seem to work: =IF(A1=AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)), "true", "false") Am I doing it wrongly? "Tevuna" wrote: Non array: =AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)) "Melvin Tang" wrote: How do I create an IF function that allows me to work on a cell if the value input falls within a range of values. For example, =IF(A1=B1:B10,"true","false") |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(=AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)),"true"," false")
Do I key it in as above? Doesn't seem to work. What else can I do? I would expect this to be a simple task, that if a value falls within a value, do this, if not, do this. How about simplifying it to, if A1 falls within 4-12, true, false? "Tevuna" wrote: Non array: =AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)) "Melvin Tang" wrote: How do I create an IF function that allows me to work on a cell if the value input falls within a range of values. For example, =IF(A1=B1:B10,"true","false") |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Could you just paste what I've posted, or what?
What is that eccentric equal sign? =IF(AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)),"true","f alse") "Melvin Tang" wrote: =IF(=AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)),"true"," false") Do I key it in as above? Doesn't seem to work. What else can I do? I would expect this to be a simple task, that if a value falls within a value, do this, if not, do this. How about simplifying it to, if A1 falls within 4-12, true, false? "Tevuna" wrote: Non array: =AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)) "Melvin Tang" wrote: How do I create an IF function that allows me to work on a cell if the value input falls within a range of values. For example, =IF(A1=B1:B10,"true","false") |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sorry, didn't see that = sign, must have been too stressed.
IT WORKED!! YOU'RE A GENIUS! Thanks, "Tevuna" wrote: Could you just paste what I've posted, or what? What is that eccentric equal sign? =IF(AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)),"true","f alse") "Melvin Tang" wrote: =IF(=AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)),"true"," false") Do I key it in as above? Doesn't seem to work. What else can I do? I would expect this to be a simple task, that if a value falls within a value, do this, if not, do this. How about simplifying it to, if A1 falls within 4-12, true, false? "Tevuna" wrote: Non array: =AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)) "Melvin Tang" wrote: How do I create an IF function that allows me to work on a cell if the value input falls within a range of values. For example, =IF(A1=B1:B10,"true","false") |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How about simplifying it to, if A1 falls within 4-12, true, false?
I'm assuming that "falls within 4-12" includes 4 and 12: =AND(A1=4,A1<=12) -- Biff Microsoft Excel MVP "Melvin Tang" wrote in message ... =IF(=AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)),"true"," false") Do I key it in as above? Doesn't seem to work. What else can I do? I would expect this to be a simple task, that if a value falls within a value, do this, if not, do this. How about simplifying it to, if A1 falls within 4-12, true, false? "Tevuna" wrote: Non array: =AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)) "Melvin Tang" wrote: How do I create an IF function that allows me to work on a cell if the value input falls within a range of values. For example, =IF(A1=B1:B10,"true","false") |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If date in cell falls between date range... | Excel Worksheet Functions | |||
selecting multiple cell in a roll that falls withing a range | Charts and Charting in Excel | |||
Checking if a certain day falls in a range | Excel Discussion (Misc queries) | |||
update cell only if now() falls in a given date range | Excel Worksheet Functions | |||
Data falls in a range +/-1 | Excel Worksheet Functions |