If functions and blank cells

L

Ldsoldier

Version: 2008 Operating System: Mac OS X 10.3 (Panther) Processor: Intel I have 2 columns of data with measurements that need to be converted. One column is in inches, the other is in centimeters. The bulk of the measurements are in inches, which means that most of the blank cells are in the centimeters column. However, a few of the centimeter cells have measurements.

How do I set up a conversion formula in the centimeter column without wiping out the information already there?

Basically I want to set it up to say something like: if f2 is blank then use value in g2, if f2 is Y, then multiply Yx2.54

Thank you for any help you can give.
 
B

Bob Greenblatt

Version: 2008 Operating System: Mac OS X 10.3 (Panther) Processor: Intel
I have 2 columns of data with measurements that need to be converted.
One column is in inches, the other is in centimeters. The bulk of the
measurements are in inches, which means that most of the blank cells are
in the centimeters column. However, a few of the centimeter cells have
measurements.

How do I set up a conversion formula in the centimeter column without
wiping out the information already there?

Basically I want to set it up to say something like: if f2 is blank then
use value in g2, if f2 is Y, then multiply Yx2.54

Thank you for any help you can give.
=if(len(f2)=0,g2,f2*2.54)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top