Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Sree
 
Posts: n/a
Default Help requested for Excel Iteration problem


Hello, First time posting on this forum. Hope someone can clue me in
on how to do this-- I have been struggling for 2 days! I am wondering
if I need VB code (and have not done this before).

I am trying to have my workbook do the following:

Col. A has a service start date.
Col B needs to predict when a report is due.

Reports are due every 180 days. If (Col. A +180) is a future date,
this is easy. But if (Col. A +180) <TODAY(), I need to keep adding 180
to the cell until I get a future due date that is TODAY().

Is there a way to do this? Thanks much!

Sree


--
Sree
------------------------------------------------------------------------
Sree's Profile: http://www.excelforum.com/member.php...o&userid=35688
View this thread: http://www.excelforum.com/showthread...hreadid=554739

  #2   Report Post  
Posted to microsoft.public.excel.misc
Owen
 
Posts: n/a
Default Help requested for Excel Iteration problem

I haven't tested this, but assuming the date you validating is in A1
this should work

=180*MAX(1,ROUNDUP((TODAY()-MIN(TODAY(),A1))/180,0))+A1


Sree wrote:
Hello, First time posting on this forum. Hope someone can clue me in
on how to do this-- I have been struggling for 2 days! I am wondering
if I need VB code (and have not done this before).

I am trying to have my workbook do the following:

Col. A has a service start date.
Col B needs to predict when a report is due.

Reports are due every 180 days. If (Col. A +180) is a future date,
this is easy. But if (Col. A +180) <TODAY(), I need to keep adding 180
to the cell until I get a future due date that is TODAY().

Is there a way to do this? Thanks much!

Sree


--
Sree
------------------------------------------------------------------------
Sree's Profile: http://www.excelforum.com/member.php...o&userid=35688
View this thread: http://www.excelforum.com/showthread...hreadid=554739


  #3   Report Post  
Posted to microsoft.public.excel.misc
Sree
 
Posts: n/a
Default Help requested for Excel Iteration problem


Works beautifully! Thank you so much Owen!


--
Sree
------------------------------------------------------------------------
Sree's Profile: http://www.excelforum.com/member.php...o&userid=35688
View this thread: http://www.excelforum.com/showthread...hreadid=554739

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
Urgent Help Required on Excel Macro Problem Sachin Shah Excel Discussion (Misc queries) 1 August 17th 05 06:26 AM
Problem With Reference Update Egon Excel Worksheet Functions 17 July 16th 05 05:45 AM
Copy an Drag cell Formula Problem Nat Excel Discussion (Misc queries) 1 June 20th 05 03:24 PM
problem office assistant R.VENKATARAMAN Excel Discussion (Misc queries) 0 June 15th 05 06:22 AM
Paper Tray selection Problem, Michael Hoffmann Excel Discussion (Misc queries) 4 December 3rd 04 09:08 PM


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