Thread: Array Formula
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default 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