Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default Using Row() and Today()

Hi all

On the list below from row 10 i am using the following
=IF($A$2=(TODAY()),$A$2,($A$2+SUM(ROW()-10)/113))

ThE INTENTION BEING TO TRIP +1 ON THE DATE ON CELL A113 IF a2 is greater
than or equal to todays date

WHAT HAVE I DONE WRONG



A
25.10.2008 ROW 2
Tour Start Date ROW 3






25.10.2008 ROW 10
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008 row113
25.10.2008
25.10.2008

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Using Row() and Today()

Change = to < or swap the outcomes...
You have written the result you want on the FALSE outcome of IF condition.

Use
=IF($A$2<(TODAY()),$A$2,($A$2+SUM(ROW()-10)/113))

or

=IF($A$2=(TODAY()),($A$2+SUM(ROW()-10)/113),$A$2)

If both are giving you problem then make sure that A2 contains a valid
date... You can test by putting =today() + 1 in A2.



"stew" wrote:

Hi all

On the list below from row 10 i am using the following
=IF($A$2=(TODAY()),$A$2,($A$2+SUM(ROW()-10)/113))

ThE INTENTION BEING TO TRIP +1 ON THE DATE ON CELL A113 IF a2 is greater
than or equal to todays date

WHAT HAVE I DONE WRONG



A
25.10.2008 ROW 2
Tour Start Date ROW 3






25.10.2008 ROW 10
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008 row113
25.10.2008
25.10.2008

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default Using Row() and Today()

Thank You sheeloo, getting better

"Sheeloo" wrote:

Change = to < or swap the outcomes...
You have written the result you want on the FALSE outcome of IF condition.

Use
=IF($A$2<(TODAY()),$A$2,($A$2+SUM(ROW()-10)/113))

or

=IF($A$2=(TODAY()),($A$2+SUM(ROW()-10)/113),$A$2)

If both are giving you problem then make sure that A2 contains a valid
date... You can test by putting =today() + 1 in A2.



"stew" wrote:

Hi all

On the list below from row 10 i am using the following
=IF($A$2=(TODAY()),$A$2,($A$2+SUM(ROW()-10)/113))

ThE INTENTION BEING TO TRIP +1 ON THE DATE ON CELL A113 IF a2 is greater
than or equal to todays date

WHAT HAVE I DONE WRONG



A
25.10.2008 ROW 2
Tour Start Date ROW 3






25.10.2008 ROW 10
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008 row113
25.10.2008
25.10.2008

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Using Row() and Today()

Hi,

I think this is what you want to do:

=$A$2+IF($A$2=TODAY(),ROW()/113)

or

=$A$2+IF($A$2<=TODAY(),ROW()/113)

This increments the date by 1 on row 113 and 226, 339....

Its not clear if you are trying to increment every 113 days or every 100
days starting at row 113. If you are trying to do the latter then

=$A$2+IF($A$2=TODAY(),(ROW(A1)-1)/100)

or

=$A$2+IF($A$2<=TODAY(),(ROW(A1)-1)/100)

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"stew" wrote:

Hi all

On the list below from row 10 i am using the following
=IF($A$2=(TODAY()),$A$2,($A$2+SUM(ROW()-10)/113))

ThE INTENTION BEING TO TRIP +1 ON THE DATE ON CELL A113 IF a2 is greater
than or equal to todays date

WHAT HAVE I DONE WRONG



A
25.10.2008 ROW 2
Tour Start Date ROW 3






25.10.2008 ROW 10
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008 row113
25.10.2008
25.10.2008

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default Using Row() and Today()

Yes, I can See this would do the Job too.

Thanks for coming to my aid

stewart

"ShaneDevenshire" wrote:

Hi,

I think this is what you want to do:

=$A$2+IF($A$2=TODAY(),ROW()/113)

or

=$A$2+IF($A$2<=TODAY(),ROW()/113)

This increments the date by 1 on row 113 and 226, 339....

Its not clear if you are trying to increment every 113 days or every 100
days starting at row 113. If you are trying to do the latter then

=$A$2+IF($A$2=TODAY(),(ROW(A1)-1)/100)

or

=$A$2+IF($A$2<=TODAY(),(ROW(A1)-1)/100)

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"stew" wrote:

Hi all

On the list below from row 10 i am using the following
=IF($A$2=(TODAY()),$A$2,($A$2+SUM(ROW()-10)/113))

ThE INTENTION BEING TO TRIP +1 ON THE DATE ON CELL A113 IF a2 is greater
than or equal to todays date

WHAT HAVE I DONE WRONG



A
25.10.2008 ROW 2
Tour Start Date ROW 3






25.10.2008 ROW 10
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008
25.10.2008 row113
25.10.2008
25.10.2008

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
SUM (TODAY thru EOM) Ken Excel Discussion (Misc queries) 6 April 18th 08 04:39 PM
IF TODAY equals date in cell A10, or if TODAY is beyond that date SoupNazi Excel Worksheet Functions 4 April 23rd 07 01:14 AM
Today() Str8 Excel Worksheet Functions 1 February 15th 06 03:54 PM
=today() Kanaski79 Excel Worksheet Functions 8 September 24th 05 12:02 AM
=IF(OR(TODAY()G9),"Pass","Overdue") Why doe it not wo. Fkor Excel Discussion (Misc queries) 3 March 10th 05 08:29 AM


All times are GMT +1. The time now is 07:41 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"