Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
derekbrown
 
Posts: n/a
Default IF is not carrying out the FALSE part


Hi,

I am having a problem with the formula below. It does not carry out the
false part of the statement, i.e;

IF(DATEDIF($D$7,TODAY(),"M")<14,CHOOSE(13-COUNTBLANK(N7:Y7),'Insight
Data'!$W$7,'Insight Data'!$X$7,'Insight Data'!$Y$7,'Insight
Data'!$Z$7,'Insight Data'!$AA$7,'Insight Data'!$AB$7,'Insight
Data'!$AC$7,'Insight Data'!$AD$7,'Insight Data'!$AE$7,'Insight
Data'!$AF$7,'Insight Data'!$AG$7,'Insight Data'!$AH$7,'Insight
Data'!$AI$7)

Instead it simply returns FALSE as a value. Whole formula is posted
below:

=IF(D7="",IF(AND('Insight Data'!A7="Y",ISNUMBER('Insight
Data'!AI7)),'Insight
Data'!AI7,IF(DATEDIF($D$7,TODAY(),"M")<14,CHOOSE(1 3-COUNTBLANK(N7:Y7),'Insight
Data'!$W$7,'Insight Data'!$X$7,'Insight Data'!$Y$7,'Insight
Data'!$Z$7,'Insight Data'!$AA$7,'Insight Data'!$AB$7,'Insight
Data'!$AC$7,'Insight Data'!$AD$7,'Insight Data'!$AE$7,'Insight
Data'!$AF$7,'Insight Data'!$AG$7,'Insight Data'!$AH$7,'Insight
Data'!$AI$7),"")))

Anybody any ideas? I am sure it's simple but I have been looking at it
for a while now and the answer is eluding me!!

Any help, much appreciatted.

Cheers

Derek


--
derekbrown
------------------------------------------------------------------------
derekbrown's Profile: http://www.excelforum.com/member.php...o&userid=21253
View this thread: http://www.excelforum.com/showthread...hreadid=397852

  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Not sure *which* "false part" you're talking about, but in the case of
the first conditional, you don't have a FALSE branch - everything
following the first comma, up until the last right paren, is part of the
TRUE branch.



In article ,
derekbrown
wrote:

I am having a problem with the formula below. It does not carry out the
false part of the statement, i.e;

IF(DATEDIF($D$7,TODAY(),"M")<14,CHOOSE(13-COUNTBLANK(N7:Y7),'Insight
Data'!$W$7,'Insight Data'!$X$7,'Insight Data'!$Y$7,'Insight
Data'!$Z$7,'Insight Data'!$AA$7,'Insight Data'!$AB$7,'Insight
Data'!$AC$7,'Insight Data'!$AD$7,'Insight Data'!$AE$7,'Insight
Data'!$AF$7,'Insight Data'!$AG$7,'Insight Data'!$AH$7,'Insight
Data'!$AI$7)

Instead it simply returns FALSE as a value. Whole formula is posted
below:

=IF(D7="",IF(AND('Insight Data'!A7="Y",ISNUMBER('Insight
Data'!AI7)),'Insight
Data'!AI7,IF(DATEDIF($D$7,TODAY(),"M")<14,CHOOSE(1 3-COUNTBLANK(N7:Y7),'Insight
Data'!$W$7,'Insight Data'!$X$7,'Insight Data'!$Y$7,'Insight
Data'!$Z$7,'Insight Data'!$AA$7,'Insight Data'!$AB$7,'Insight
Data'!$AC$7,'Insight Data'!$AD$7,'Insight Data'!$AE$7,'Insight
Data'!$AF$7,'Insight Data'!$AG$7,'Insight Data'!$AH$7,'Insight
Data'!$AI$7),"")))

Anybody any ideas? I am sure it's simple but I have been looking at it
for a while now and the answer is eluding me!!

  #3   Report Post  
Junior Member
 
Location: Washington, DC
Posts: 16
Default

Derek,

I think you might be missing an equals sign. You have:

IF(DATEDIF($D$7,TODAY(),"M")14, ...

It should be:

IF(DATEDIF($D$7,TODAY(),"M")=14, ...

There may be a better way to perform the operation altogether, but I wouldn't know without looking at your workbook as a whole.

Knightly

Quote:
Originally Posted by derekbrown
Hi,

I am having a problem with the formula below. It does not carry out the
false part of the statement, i.e;

IF(DATEDIF($D$7,TODAY(),"M")14,CHOOSE(13-COUNTBLANK(N7:Y7),'Insight
Data'!$W$7,'Insight Data'!$X$7,'Insight Data'!$Y$7,'Insight
Data'!$Z$7,'Insight Data'!$AA$7,'Insight Data'!$AB$7,'Insight
Data'!$AC$7,'Insight Data'!$AD$7,'Insight Data'!$AE$7,'Insight
Data'!$AF$7,'Insight Data'!$AG$7,'Insight Data'!$AH$7,'Insight
Data'!$AI$7)

Instead it simply returns FALSE as a value. Whole formula is posted
below:

=IF(D7="",IF(AND('Insight Data'!A7="Y",ISNUMBER('Insight
Data'!AI7)),'Insight
Data'!AI7,IF(DATEDIF($D$7,TODAY(),"M")14,CHOOSE(13-COUNTBLANK(N7:Y7),'Insight
Data'!$W$7,'Insight Data'!$X$7,'Insight Data'!$Y$7,'Insight
Data'!$Z$7,'Insight Data'!$AA$7,'Insight Data'!$AB$7,'Insight
Data'!$AC$7,'Insight Data'!$AD$7,'Insight Data'!$AE$7,'Insight
Data'!$AF$7,'Insight Data'!$AG$7,'Insight Data'!$AH$7,'Insight
Data'!$AI$7),"")))

Anybody any ideas? I am sure it's simple but I have been looking at it
for a while now and the answer is eluding me!!

Any help, much appreciatted.

Cheers

Derek


--
derekbrown
------------------------------------------------------------------------
derekbrown's Profile: http://www.excelforum.com/member.php...o&userid=21253
View this thread: http://www.excelforum.com/showthread...hreadid=397852
  #4   Report Post  
derekbrown
 
Posts: n/a
Default


Thanks for the replies. May have been some confusion in the way that I
outlined the formulas. Anyway, looked at it this morning and came up
with the solution. Formula should look like this:

=IF($D$7="",IF(AND('Insight Data'!$A$7="Y",ISNUMBER('Insight
Data'!AI7)),'Insight
Data'!AI7*)*,IF(DATEDIF($D$7,TODAY(),"M")<14,CHOOS E(13-COUNTBLANK($N$7:Y7),'Insight
Data'!$W$7,'Insight Data'!$X$7,'Insight Data'!$Y$7,'Insight
Data'!$Z$7,'Insight Data'!$AA$7,'Insight Data'!$AB$7,'Insight
Data'!$AC$7,'Insight Data'!$AD$7,'Insight Data'!$AE$7,'Insight
Data'!$AF$7,'Insight Data'!$AG$7,'Insight Data'!$AH$7,'Insight
Data'!$AI$7),""))

Missing parenthisis. Grrrr! Knew it would be simple.

Cheers

Derek


--
derekbrown
------------------------------------------------------------------------
derekbrown's Profile: http://www.excelforum.com/member.php...o&userid=21253
View this thread: http://www.excelforum.com/showthread...hreadid=397852

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
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Grouped Sheets and Formating Pank Mehta Excel Discussion (Misc queries) 3 March 24th 05 01:42 AM
Array not working correctly Returns FALSE on second part aaronm49 Excel Discussion (Misc queries) 1 February 11th 05 01:07 AM
Grand Totals @ Same Place Amber M Excel Worksheet Functions 2 December 30th 04 07:13 PM


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