Excel: Entering empty cells with function

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views
24forChromium
Messages
155
Reaction score
7
How can I set up a function with an if command such that it only copies values greater than zero from another column while leave the rest of the cells empty (not zero)?
 
Physics news on Phys.org
24forChromium said:
How can I set up a function with an if command such that it only copies values greater than zero from another column while leave the rest of the cells empty (not zero)?
Use an if statement like this. To copy the value of cell A1, use this in the cell that you want it copied to.
=IF(A1>0,A1,"")

http://www.exceltrick.com/formulas_macros/excel-if-statement/