View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary L Brown
 
Posts: n/a
Default formula for negative and positive numbers in different columns

Assumptions:
Cell A1 has a number
Cell B1 has Debits
Cell C1 has Credits

Formulas:
In Cell B1...
=if(A10,A1,"")
In Cell C1...
=if(A1<0,-A1,"")

HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"s.m.hardin" wrote:

Is there a way I that excel can know when a number is positive or negative
and put the correct sum in the correct coulumn?