Thread: Test 2 numbers
View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Dave is offline
external usenet poster
 
Posts: 1,388
Default Test 2 numbers

Thank you

"Gary''s Student" wrote:

=IF(A1=B1,2,1)
--
Gary''s Student - gsnu200832


"Dave" wrote:

Hello,

two number in (say) a1 & b1

In another cell If the numbers are different how can i get Excel to return
1 or if the numbers are the same 2


d