Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 172
Default activate formula when adjacent cell populated

Dear All,
I have copied a simple formula (A1+1095) down the length of column B
(working with excel 2003). A1 contains a date, the formular in column B
produces a date 3 years later, with conditional formatting added to indicate
how close the future date is getting. The problem I have is that where there
is no date yet entered into a cell in column A, the remainder of column B
automatically displays 30/12/1902 and formats the cells red (for the rest of
the entire column). Is there a way to direct the formula in column B to only
become active once a date has been entered into the adjacent cell in column
A? - I was thinking along the lines of an IF statement or similar as I am
prohibitted from using a macro.
Advice gratefully recieved.
Simon.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default activate formula when adjacent cell populated

Hi Simon

Modify the formula to

=IF(A1,A1+1095,"")

--
Jacob (MVP - Excel)


"Simon" wrote:

Dear All,
I have copied a simple formula (A1+1095) down the length of column B
(working with excel 2003). A1 contains a date, the formular in column B
produces a date 3 years later, with conditional formatting added to indicate
how close the future date is getting. The problem I have is that where there
is no date yet entered into a cell in column A, the remainder of column B
automatically displays 30/12/1902 and formats the cells red (for the rest of
the entire column). Is there a way to direct the formula in column B to only
become active once a date has been entered into the adjacent cell in column
A? - I was thinking along the lines of an IF statement or similar as I am
prohibitted from using a macro.
Advice gratefully recieved.
Simon.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default activate formula when adjacent cell populated

Try this:

=IF(A1="","",A1+1095)

You may need to adjust your CF formula to avoid zero values.

Hope this helps.

Pete


On May 5, 11:50*am, Simon wrote:
Dear All,
I have copied a simple formula (A1+1095) down the length of column B
(working with excel 2003). A1 contains a date, the formular in column B
produces a date 3 years later, with conditional formatting added to indicate
how close the future date is getting. The problem I have is that where there
is no date yet entered into a cell in column A, the remainder of column B
automatically displays 30/12/1902 and formats the cells red (for the rest of
the entire column). Is there a way to direct the formula in column B to only
become active once a date has been entered into the adjacent cell in column
A? - I was thinking along the lines of an IF statement or similar as I am
prohibitted from using a macro.
Advice gratefully recieved.
Simon.


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
finding the cell adjacent to the max value in a row with formula NDBC Excel Discussion (Misc queries) 6 July 31st 09 11:16 AM
Add adjacent cell value to existing CountIF formula scottia Excel Worksheet Functions 9 September 14th 08 02:43 AM
First populated cell in row array/ Last populated cell in row arra Skyscan Excel Worksheet Functions 7 May 29th 08 05:20 PM
formula for a cell which is blank returns populated cell Gracey1 Excel Discussion (Misc queries) 1 February 2nd 07 09:17 AM
Payment cell populated based on date formula TonyD Excel Discussion (Misc queries) 6 January 31st 07 09:55 AM


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