#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default countdown

Hi, i need something like this in B1: " =today-A1 ", but i need to display a
message if the date in A1 has past.
Ex 1:
A1= 08.12.2009
B1= 12
The formula to be in B1 and in this case the result to be 12.

Ex2:
A1= 08.11.2009
B1= Please pay
The formula to be in B1 and in this case the result to be "Please pay",
because the date has past. if i pay the rate and i write the next day
(08.01.2010), then the formula to calculate the days, like in Ex1.
Can this be done?
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default countdown

In B1
=IF(A1<TODAY(),"Please pay",A1-TODAY())

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

Hi, i need something like this in B1: " =today-A1 ", but i need to display a
message if the date in A1 has past.
Ex 1:
A1= 08.12.2009
B1= 12
The formula to be in B1 and in this case the result to be 12.

Ex2:
A1= 08.11.2009
B1= Please pay
The formula to be in B1 and in this case the result to be "Please pay",
because the date has past. if i pay the rate and i write the next day
(08.01.2010), then the formula to calculate the days, like in Ex1.
Can this be done?
Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default countdown

It's working!
Thanks allot!

"Jacob Skaria" a scris:

In B1
=IF(A1<TODAY(),"Please pay",A1-TODAY())

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

Hi, i need something like this in B1: " =today-A1 ", but i need to display a
message if the date in A1 has past.
Ex 1:
A1= 08.12.2009
B1= 12
The formula to be in B1 and in this case the result to be 12.

Ex2:
A1= 08.11.2009
B1= Please pay
The formula to be in B1 and in this case the result to be "Please pay",
because the date has past. if i pay the rate and i write the next day
(08.01.2010), then the formula to calculate the days, like in Ex1.
Can this be done?
Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default countdown

I have one more question. In some cases, i will have text instead of dates.
Can this formula display another message if in A1 finds text?

A1= integral
B1= integral

Now, the code is displaying #VALUE!
If the formula finds a date, then to do the countdown, but if it finds a
text, then to display a message or the text itself.
Can this be done?
Thanks!!!

"Jacob Skaria" a scris:

In B1
=IF(A1<TODAY(),"Please pay",A1-TODAY())

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

Hi, i need something like this in B1: " =today-A1 ", but i need to display a
message if the date in A1 has past.
Ex 1:
A1= 08.12.2009
B1= 12
The formula to be in B1 and in this case the result to be 12.

Ex2:
A1= 08.11.2009
B1= Please pay
The formula to be in B1 and in this case the result to be "Please pay",
because the date has past. if i pay the rate and i write the next day
(08.01.2010), then the formula to calculate the days, like in Ex1.
Can this be done?
Thanks!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default countdown

Try
=IF(ISNUMBER(A1),IF(A1<TODAY(),"Please pay",A1-TODAY()),A1)

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

I have one more question. In some cases, i will have text instead of dates.
Can this formula display another message if in A1 finds text?

A1= integral
B1= integral

Now, the code is displaying #VALUE!
If the formula finds a date, then to do the countdown, but if it finds a
text, then to display a message or the text itself.
Can this be done?
Thanks!!!

"Jacob Skaria" a scris:

In B1
=IF(A1<TODAY(),"Please pay",A1-TODAY())

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

Hi, i need something like this in B1: " =today-A1 ", but i need to display a
message if the date in A1 has past.
Ex 1:
A1= 08.12.2009
B1= 12
The formula to be in B1 and in this case the result to be 12.

Ex2:
A1= 08.11.2009
B1= Please pay
The formula to be in B1 and in this case the result to be "Please pay",
because the date has past. if i pay the rate and i write the next day
(08.01.2010), then the formula to calculate the days, like in Ex1.
Can this be done?
Thanks!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default countdown

Thanks allot!!!!!!

"Jacob Skaria" a scris:

Try
=IF(ISNUMBER(A1),IF(A1<TODAY(),"Please pay",A1-TODAY()),A1)

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

I have one more question. In some cases, i will have text instead of dates.
Can this formula display another message if in A1 finds text?

A1= integral
B1= integral

Now, the code is displaying #VALUE!
If the formula finds a date, then to do the countdown, but if it finds a
text, then to display a message or the text itself.
Can this be done?
Thanks!!!

"Jacob Skaria" a scris:

In B1
=IF(A1<TODAY(),"Please pay",A1-TODAY())

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

Hi, i need something like this in B1: " =today-A1 ", but i need to display a
message if the date in A1 has past.
Ex 1:
A1= 08.12.2009
B1= 12
The formula to be in B1 and in this case the result to be 12.

Ex2:
A1= 08.11.2009
B1= Please pay
The formula to be in B1 and in this case the result to be "Please pay",
because the date has past. if i pay the rate and i write the next day
(08.01.2010), then the formula to calculate the days, like in Ex1.
Can this be done?
Thanks!

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default countdown

=IF(ISTEXT(A1),A1,IF(A1<TODAY(),"Please pay",A1-TODAY()))
--
David Biddulph

"puiuluipui" wrote in message
...
I have one more question. In some cases, i will have text instead of dates.
Can this formula display another message if in A1 finds text?

A1= integral
B1= integral

Now, the code is displaying #VALUE!
If the formula finds a date, then to do the countdown, but if it finds a
text, then to display a message or the text itself.
Can this be done?
Thanks!!!

"Jacob Skaria" a scris:

In B1
=IF(A1<TODAY(),"Please pay",A1-TODAY())

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

Hi, i need something like this in B1: " =today-A1 ", but i need to
display a
message if the date in A1 has past.
Ex 1:
A1= 08.12.2009
B1= 12
The formula to be in B1 and in this case the result to be 12.

Ex2:
A1= 08.11.2009
B1= Please pay
The formula to be in B1 and in this case the result to be "Please pay",
because the date has past. if i pay the rate and i write the next day
(08.01.2010), then the formula to calculate the days, like in Ex1.
Can this be done?
Thanks!



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default countdown

Hi Jacob, i have a minor problem. In A1 i will have : "Final rate" ,
"Integral" and a date.

I need this code to display a message for "Final rate" and another message
for "Integral". If the code finds a date, then to calculate countdown.
Ex:
Final rate = Final
Integral = Full
Can this be done?
Thanks allot Jacob!

"Jacob Skaria" a scris:

Try
=IF(ISNUMBER(A1),IF(A1<TODAY(),"Please pay",A1-TODAY()),A1)

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

I have one more question. In some cases, i will have text instead of dates.
Can this formula display another message if in A1 finds text?

A1= integral
B1= integral

Now, the code is displaying #VALUE!
If the formula finds a date, then to do the countdown, but if it finds a
text, then to display a message or the text itself.
Can this be done?
Thanks!!!

"Jacob Skaria" a scris:

In B1
=IF(A1<TODAY(),"Please pay",A1-TODAY())

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

Hi, i need something like this in B1: " =today-A1 ", but i need to display a
message if the date in A1 has past.
Ex 1:
A1= 08.12.2009
B1= 12
The formula to be in B1 and in this case the result to be 12.

Ex2:
A1= 08.11.2009
B1= Please pay
The formula to be in B1 and in this case the result to be "Please pay",
because the date has past. if i pay the rate and i write the next day
(08.01.2010), then the formula to calculate the days, like in Ex1.
Can this be done?
Thanks!

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default countdown

(all in one line)

=IF(ISNUMBER(A1),IF(A1<TODAY(),"Please pay",A1-TODAY()),
IF(A1="Final rate","Final",IF(A1="Integral","Full","")))

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

Hi Jacob, i have a minor problem. In A1 i will have : "Final rate" ,
"Integral" and a date.

I need this code to display a message for "Final rate" and another message
for "Integral". If the code finds a date, then to calculate countdown.
Ex:
Final rate = Final
Integral = Full
Can this be done?
Thanks allot Jacob!

"Jacob Skaria" a scris:

Try
=IF(ISNUMBER(A1),IF(A1<TODAY(),"Please pay",A1-TODAY()),A1)

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

I have one more question. In some cases, i will have text instead of dates.
Can this formula display another message if in A1 finds text?

A1= integral
B1= integral

Now, the code is displaying #VALUE!
If the formula finds a date, then to do the countdown, but if it finds a
text, then to display a message or the text itself.
Can this be done?
Thanks!!!

"Jacob Skaria" a scris:

In B1
=IF(A1<TODAY(),"Please pay",A1-TODAY())

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

Hi, i need something like this in B1: " =today-A1 ", but i need to display a
message if the date in A1 has past.
Ex 1:
A1= 08.12.2009
B1= 12
The formula to be in B1 and in this case the result to be 12.

Ex2:
A1= 08.11.2009
B1= Please pay
The formula to be in B1 and in this case the result to be "Please pay",
because the date has past. if i pay the rate and i write the next day
(08.01.2010), then the formula to calculate the days, like in Ex1.
Can this be done?
Thanks!

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default countdown

I's working great!!
Thanks!

"Jacob Skaria" a scris:

(all in one line)

=IF(ISNUMBER(A1),IF(A1<TODAY(),"Please pay",A1-TODAY()),
IF(A1="Final rate","Final",IF(A1="Integral","Full","")))

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

Hi Jacob, i have a minor problem. In A1 i will have : "Final rate" ,
"Integral" and a date.

I need this code to display a message for "Final rate" and another message
for "Integral". If the code finds a date, then to calculate countdown.
Ex:
Final rate = Final
Integral = Full
Can this be done?
Thanks allot Jacob!

"Jacob Skaria" a scris:

Try
=IF(ISNUMBER(A1),IF(A1<TODAY(),"Please pay",A1-TODAY()),A1)

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

I have one more question. In some cases, i will have text instead of dates.
Can this formula display another message if in A1 finds text?

A1= integral
B1= integral

Now, the code is displaying #VALUE!
If the formula finds a date, then to do the countdown, but if it finds a
text, then to display a message or the text itself.
Can this be done?
Thanks!!!

"Jacob Skaria" a scris:

In B1
=IF(A1<TODAY(),"Please pay",A1-TODAY())

If this post helps click Yes
---------------
Jacob Skaria


"puiuluipui" wrote:

Hi, i need something like this in B1: " =today-A1 ", but i need to display a
message if the date in A1 has past.
Ex 1:
A1= 08.12.2009
B1= 12
The formula to be in B1 and in this case the result to be 12.

Ex2:
A1= 08.11.2009
B1= Please pay
The formula to be in B1 and in this case the result to be "Please pay",
because the date has past. if i pay the rate and i write the next day
(08.01.2010), then the formula to calculate the days, like in Ex1.
Can this be done?
Thanks!

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
How to set up countdown timer to countdown days to a specific day Jenny Excel Worksheet Functions 3 May 8th 23 07:43 PM
Countdown chris miller Excel Discussion (Misc queries) 1 May 9th 08 10:36 AM
Countdown simserob Excel Worksheet Functions 4 July 22nd 06 02:40 AM
Countdown simserob Excel Worksheet Functions 0 July 21st 06 06:27 PM
Countdown simserob Excel Worksheet Functions 0 July 21st 06 06:26 PM


All times are GMT +1. The time now is 11:50 PM.

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

About Us

"It's about Microsoft Excel"