Excel: Entering empty cells with function

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
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/