Thread: copy if
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
JLatham JLatham is offline
external usenet poster
 
Posts: 2,203
Default copy if

if A1 is numeric:
=IF(A1<0,A2,0) or =IF(A1<0,A2,"")
and if A1 is text
=IF(A1<"",A2,0) or =IF(A1<"",A2,"")


"Derek" wrote:

I want to copy data from one cell to another, but only if a 3rd cell has data
example
M3=A2(if A1 has data)

do i need a macro for this