Solved

Help with a simple data calculation ms excel 2003

Posted on 2012-03-22
1
266 Views
Last Modified: 2012-03-22
I am fairly new to excel and cannot figure out a simple date calculation in regards to a result I am getting. I am dealing with two cells. Cell a1 has a heading of date. Cell b1 has a heading of days. So in cell a2 I place a date of say 3/1/12. In cell b2 I have a simple formula of
=today()-a2. This returns a result of 21 which is correct. But if I remove the date my days change to 40990. Is there a way (and if so how) to remove the data and show no results in b2 until a date is actually entered in a2?
0
Comment
Question by:tmaususer
1 Comment
 
LVL 3

Accepted Solution

by:
DaFranker earned 100 total points
ID: 37752484
=IF(A2<>"",TODAY()-A2,"")

This will only calculate the date if A2 is not blank. If it is blank, this cell remains blank.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
Outlook Free & Paid Tools
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

707 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now