Link to home
Start Free TrialLog in
Avatar of Pancake_Effect
Pancake_EffectFlag for United States of America

asked on

Excel: If data present then put $

We have data in Column1. In Column2 we want a formula that checks to see if a cell in Column1 has data in it, if so put a $ in the cell on Column2, if not leave it blank.

We want to drag this formula all the way down in column 2 checking.

I imagine this has to be a simple formula, any help?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of lee555J5
lee555J5
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SANTABABY
Just in case you have whitespace character(s) in the cells and want them to be treated as blank cells, use the following formula for row 1 and then copy it down to other rows.

=IF(TRIM(A1)<>"","$","")
Avatar of Pancake_Effect

ASKER

Exactly what I needed, thanks!