Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pivot Table/Query
 
Posts: n/a
Default How do I make a blank cell with a date format blank?

I have a new spreadsheet that I need to calculate a due date (column X) based
on the initial appointment date (column Q).(the next appointment would be 90
days after the initial appointment) I want it to ignore blank cells. I have
used the following formula which calculates the info fine, but it adds 90
days to blank cells also and gives me 3/30/1900. Please help
=IF(NOT(ISBLANK($Q2)),F2+90,"")
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Seemingly blank cell, if you have a formula returning a blank it is not
empty so you might want to use

=IF($Q2<"",F2+90,"")

if you by any chance are using spaces

=IF(TRIM($Q2)<"",F2+90,"")

--
Regards,

Peo Sjoblom

(No private emails please)


" Pivot Table/Query" wrote
in message ...
I have a new spreadsheet that I need to calculate a due date (column X)
based
on the initial appointment date (column Q).(the next appointment would be
90
days after the initial appointment) I want it to ignore blank cells. I
have
used the following formula which calculates the info fine, but it adds 90
days to blank cells also and gives me 3/30/1900. Please help
=IF(NOT(ISBLANK($Q2)),F2+90,"")


  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Aren't you trying to reference column Q?

=IF(Q2="","",Q2+90)

In article ,
Pivot Table/Query
wrote:

I have a new spreadsheet that I need to calculate a due date (column X) based
on the initial appointment date (column Q).(the next appointment would be 90
days after the initial appointment) I want it to ignore blank cells. I have
used the following formula which calculates the info fine, but it adds 90
days to blank cells also and gives me 3/30/1900. Please help
=IF(NOT(ISBLANK($Q2)),F2+90,"")

  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=IF(AND($Q2<"",F2<""),F2+90,"")

Biff

" Pivot Table/Query" wrote
in message ...
I have a new spreadsheet that I need to calculate a due date (column X)
based
on the initial appointment date (column Q).(the next appointment would be
90
days after the initial appointment) I want it to ignore blank cells. I
have
used the following formula which calculates the info fine, but it adds 90
days to blank cells also and gives me 3/30/1900. Please help
=IF(NOT(ISBLANK($Q2)),F2+90,"")



  #5   Report Post  
Pivot Table/Query
 
Posts: n/a
Default

I thought that formula would work also, but the formula results in true
because it thinks that F2 & Q2 have 1/1/00 in them and that they are not
blank. I am referencing F2 as the initial date and Q2 as the 2nd date. These
meetings will go on every 90 days for 1 year, so there are 5 meetings total.
However, if there is a match located at any of the meetings then the
remaining meetings are not needed. Does that make sense?

"Biff" wrote:

Hi!

Try this:

=IF(AND($Q2<"",F2<""),F2+90,"")

Biff

" Pivot Table/Query" wrote
in message ...
I have a new spreadsheet that I need to calculate a due date (column X)
based
on the initial appointment date (column Q).(the next appointment would be
90
days after the initial appointment) I want it to ignore blank cells. I
have
used the following formula which calculates the info fine, but it adds 90
days to blank cells also and gives me 3/30/1900. Please help
=IF(NOT(ISBLANK($Q2)),F2+90,"")






  #6   Report Post  
Biff
 
Posts: n/a
Default

Try this:

=IF(AND($Q20,F20),F2+90,"")

OR this:

=IF(AND(ISNUMBER($Q2),ISNUMBER(F2)),F2+90,"")

Biff

" Pivot Table/Query" wrote
in message ...
I thought that formula would work also, but the formula results in true
because it thinks that F2 & Q2 have 1/1/00 in them and that they are not
blank. I am referencing F2 as the initial date and Q2 as the 2nd date.
These
meetings will go on every 90 days for 1 year, so there are 5 meetings
total.
However, if there is a match located at any of the meetings then the
remaining meetings are not needed. Does that make sense?

"Biff" wrote:

Hi!

Try this:

=IF(AND($Q2<"",F2<""),F2+90,"")

Biff

" Pivot Table/Query"
wrote
in message ...
I have a new spreadsheet that I need to calculate a due date (column X)
based
on the initial appointment date (column Q).(the next appointment would
be
90
days after the initial appointment) I want it to ignore blank cells. I
have
used the following formula which calculates the info fine, but it adds
90
days to blank cells also and gives me 3/30/1900. Please help
=IF(NOT(ISBLANK($Q2)),F2+90,"")






  #7   Report Post  
Pivot Table/Query
 
Posts: n/a
Default

THANK YOU! That worked (the first one).

"Biff" wrote:

Try this:

=IF(AND($Q20,F20),F2+90,"")

OR this:

=IF(AND(ISNUMBER($Q2),ISNUMBER(F2)),F2+90,"")

Biff

" Pivot Table/Query" wrote
in message ...
I thought that formula would work also, but the formula results in true
because it thinks that F2 & Q2 have 1/1/00 in them and that they are not
blank. I am referencing F2 as the initial date and Q2 as the 2nd date.
These
meetings will go on every 90 days for 1 year, so there are 5 meetings
total.
However, if there is a match located at any of the meetings then the
remaining meetings are not needed. Does that make sense?

"Biff" wrote:

Hi!

Try this:

=IF(AND($Q2<"",F2<""),F2+90,"")

Biff

" Pivot Table/Query"
wrote
in message ...
I have a new spreadsheet that I need to calculate a due date (column X)
based
on the initial appointment date (column Q).(the next appointment would
be
90
days after the initial appointment) I want it to ignore blank cells. I
have
used the following formula which calculates the info fine, but it adds
90
days to blank cells also and gives me 3/30/1900. Please help
=IF(NOT(ISBLANK($Q2)),F2+90,"")






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
DOS Data in Excel Format with Date and Military Time in same cell Jules Excel Worksheet Functions 1 March 14th 05 09:31 PM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 01:01 PM
Problem with Date format from VBA code twig Excel Discussion (Misc queries) 3 December 7th 04 06:01 PM
Date on two lines using a custom cell format possible? .:mmac:. Excel Discussion (Misc queries) 5 December 4th 04 09:41 PM


All times are GMT +1. The time now is 06:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"