Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Array Formula
I wish to place the words "OK" or "NOK" into a cell if the
corresponding values either match or do not match from two columns. e.g =IF(C3<A3,"NOK","OK") how can I expand this over the following =IF(C3:C19<A3:A19,"NOK","OK") but i only want to know if the corresponding values in the same row differ i.e it must not compare C3 to A14 for example, only C3<A3, C4<A4 or C5<A5 etc thanks Peter |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Array Formula
Select the range, say F3:F19, where you want the formula, type
the formula in the first cell, and press CTRL+SHIFT+ENTER rather than just ENTER. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com wrote in message ps.com... I wish to place the words "OK" or "NOK" into a cell if the corresponding values either match or do not match from two columns. e.g =IF(C3<A3,"NOK","OK") how can I expand this over the following =IF(C3:C19<A3:A19,"NOK","OK") but i only want to know if the corresponding values in the same row differ i.e it must not compare C3 to A14 for example, only C3<A3, C4<A4 or C5<A5 etc thanks Peter |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Array Formula
I tried {=IF(C3:C19<A3:A19,"NOK","OK")} but didn't get the result I
expected, so tried the following formula: =IF(OR('Line Speed x 3'!C6<'Line Speed x 3'!A6,'Line Speed x 3'!C7<'Line Speed x 3'!A7,'Line Speed x 3'!C8<'Line Speed x 3'!A8,'Line Speed x 3'!C9<'Line Speed x 3'!A9,'Line Speed x 3'!C10<'Line Speed x 3'!A10,'Line Speed x 3'!C11<'Line Speed x 3'!A11,'Line Speed x 3'!C12<'Line Speed x 3'!A12,'Line Speed x 3'!C13<'Line Speed x 3'!A13,'Line Speed x 3'!C14<'Line Speed x 3'!A14,'Line Speed x 3'!C15<'Line Speed x 3'!A15,'Line Speed x 3'!C16<'Line Speed x 3'!A16,'Line Speed x 3'!C17<'Line Speed x 3'!A17,'Line Speed x 3'!C18<'Line Speed x 3'!A18,'Line Speed x 3'!C19<'Line Speed x 3'!A19),"NOK","OK") Is there a method of shortening this formula? thanks Peter Chip Pearson wrote: Select the range, say F3:F19, where you want the formula, type the formula in the first cell, and press CTRL+SHIFT+ENTER rather than just ENTER. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com wrote in message ps.com... I wish to place the words "OK" or "NOK" into a cell if the corresponding values either match or do not match from two columns. e.g =IF(C3<A3,"NOK","OK") how can I expand this over the following =IF(C3:C19<A3:A19,"NOK","OK") but i only want to know if the corresponding values in the same row differ i.e it must not compare C3 to A14 for example, only C3<A3, C4<A4 or C5<A5 etc thanks Peter |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Array Formula Not Working with Range with Formulas | Excel Discussion (Misc queries) | |||
Array formula returning wrong results | Excel Discussion (Misc queries) | |||
referencing the value of a cell containing an array formula | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |