Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a column with values "OB" followed by several values "IB" and I wat to
see if there is a value different from these and return its row. that's my array function "={MIN(IF(AND(C3:C500<"OB", C3:C500<"IB"),ROW(C3:C500),12345678)}" but it's not working correctly However, when I want to find the first value different from "OB"(in my case thats the row of the first "IB" value) I use the function: "{=MIN(IF(C3:C500<"OB",ROW(C3:C500), 12345678)}" and it's working correctly. Can anybody tell me what's wrong with the first formula and what do I have to change in it? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
In Array formulas, AND is replaced by sign * , OR is replaced by sign + ... HTH Cheers Carim |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this
=MIN(IF((C3:C500<"OB")*(C3:C500<"IB"),C3:C500,12 345678)) ctrl shift enter (not just enter) "Vasil Ivanov" wrote: I have a column with values "OB" followed by several values "IB" and I wat to see if there is a value different from these and return its row. that's my array function "={MIN(IF(AND(C3:C500<"OB", C3:C500<"IB"),ROW(C3:C500),12345678)}" but it's not working correctly However, when I want to find the first value different from "OB"(in my case thats the row of the first "IB" value) I use the function: "{=MIN(IF(C3:C500<"OB",ROW(C3:C500), 12345678)}" and it's working correctly. Can anybody tell me what's wrong with the first formula and what do I have to change in it? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Vasil,
What about this non-array formula: =IF(COUNTIF(C3:C20,"OB")+COUNTIF(C3:C20,"IB")=COUN TA(C3:C20),"no 3rd value","3rd value present!") Adjust Range! Regards, Stefi €˛Vasil Ivanov€¯ ezt Ć*rta: I have a column with values "OB" followed by several values "IB" and I wat to see if there is a value different from these and return its row. that's my array function "={MIN(IF(AND(C3:C500<"OB", C3:C500<"IB"),ROW(C3:C500),12345678)}" but it's not working correctly However, when I want to find the first value different from "OB"(in my case thats the row of the first "IB" value) I use the function: "{=MIN(IF(C3:C500<"OB",ROW(C3:C500), 12345678)}" and it's working correctly. Can anybody tell me what's wrong with the first formula and what do I have to change in it? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Compiling macro based on cell values | Excel Discussion (Misc queries) | |||
Help with this conditional IF statement | Excel Discussion (Misc queries) | |||
Urgent date/scheduling calc needed | Excel Worksheet Functions | |||
Blank (empty) cell always equal to 0?? | Excel Discussion (Misc queries) | |||
How can I break values apart that are in the same cell? | Excel Worksheet Functions |