Solved

What formula would I use in excel to do the task described in the body of this post?

Posted on 2015-01-20
4
78 Views
Last Modified: 2015-01-20
I have an excel spread sheet with a column  that contains  numbers in some cells and nothing in other cells.
I need an equation where I can transform the cells that contain numbers to  1 and cells that are blank to 0.
Thanks
0
Comment
Question by:PDSWSS
  • 2
4 Comments
 
LVL 24

Accepted Solution

by:
mankowitz earned 500 total points
ID: 40560872
you should be able to use ISBLANK

The equation would look like

IF(ISBLANK(a1), 0, 1)
0
 
LVL 7

Expert Comment

by:slubek
ID: 40560877
Try
=If(ISBLANK(A1);0;1)

Open in new window

Edit: I see mankowitz was first, and I misused ';' instad of ','.
0
 
LVL 24

Expert Comment

by:mankowitz
ID: 40560882
@slubek-  one of the things I don't understand about OO is why they use semicolons.
0
 

Author Closing Comment

by:PDSWSS
ID: 40560977
Perfect answer. Thank you very much.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

770 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