Solved

Excel: If data present then put $

Posted on 2012-03-13
3
302 Views
Last Modified: 2012-06-21
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!
0
Comment
Question by:Pancake_Effect
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Accepted Solution

by:
lee555J5 earned 500 total points
ID: 37716014
Does this do what you want?

=IF(ISBLANK(A1),"","$")

Lee
0
 
LVL 10

Expert Comment

by:SANTABABY
ID: 37716536
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)<>"","$","")
0
 
LVL 4

Author Closing Comment

by:Pancake_Effect
ID: 37716833
Exactly what I needed, thanks!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question