Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Help with "IF" Formula

Yogi,

It works fine for me, although it can be reduced to

=IF(G1120,G112,IF(F1120,F112,E112))+365

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Yogi_Bear_79" wrote in message
...
=IF((G1120),(G112+365),IF((F1120),(F112+365),(E1 12+365)))

Can't seem to get this right.

It works if there is data in Cell G112 or F112. But returns a #Value error
if both G112 & F112 are NULL

Ideally what should happen is this.

The due column "H" should show thenext due date. The due date is

calculated
by adding 365 days to the last completed date. The last completed date

could
be in column E~G. I want to start by looking at "G" if ISNULL then check

"F"
is ISNULL then use data from "E". Esle add 365 days to the first column it
findsdata in




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Help with "IF" Formula

=IF((G1120),(G112+365),IF((F1120),(F112+365),(E1 12+365)))

Can't seem to get this right.

It works if there is data in Cell G112 or F112. But returns a #Value error
if both G112 & F112 are NULL

Ideally what should happen is this.

The due column "H" should show thenext due date. The due date is calculated
by adding 365 days to the last completed date. The last completed date could
be in column E~G. I want to start by looking at "G" if ISNULL then check "F"
is ISNULL then use data from "E". Esle add 365 days to the first column it
findsdata in


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Help with "IF" Formula

Thanks for shortening it!

You right it does work, after I placed cursor in cell and hit delete,
apparently there was still something in there

"Bob Phillips" wrote in message
...
Yogi,

It works fine for me, although it can be reduced to

=IF(G1120,G112,IF(F1120,F112,E112))+365

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Yogi_Bear_79" wrote in message
...
=IF((G1120),(G112+365),IF((F1120),(F112+365),(E1 12+365)))

Can't seem to get this right.

It works if there is data in Cell G112 or F112. But returns a #Value

error
if both G112 & F112 are NULL

Ideally what should happen is this.

The due column "H" should show thenext due date. The due date is

calculated
by adding 365 days to the last completed date. The last completed date

could
be in column E~G. I want to start by looking at "G" if ISNULL then check

"F"
is ISNULL then use data from "E". Esle add 365 days to the first column

it
findsdata in






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 do I write an excel formula with a text answer ("yes" or "no") pat Excel Discussion (Misc queries) 1 September 9th 08 03:41 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 10:21 AM.

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"