• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Formula seems to work and then get #Value error

Cammandk

Member
This formula seems to work ok and then suddenly kicks up #value error.
As this is a key formula in my many sheets I would appreciate any help.
Thanks DK.
IF(ISBLANK(!$AB19),IF(!$I19="R",0,IF(TEXT(EDATE(IF(!$V19="P",!$AR19,!$J19),IF(!$V19="P",0,!$AS19)/30),"yyyymm")=TEXT(!AV$5,"yyyymm"),!$U19,0)),IF(!$I19="R",0,IF(TEXT(EDATE(IF(!$V19="P",!$AR19,!$AB19),IF(!$V19="P",0,!$AS19)/30),"yyyymm")=TEXT(!AV$5,"yyyymm"),!$U19,0)))
AB19 Date Date
I19 "" or "R" Text
V19 ""/ "P"/"U"/"A"/" ""F" Text
AR19 24-Apr-14 Date
J19 24-Apr-14 Date
AS19 0 / 30 / 60 Number
AV5 Apr-14 Date
U19 100.00 Number
 
Hi DK..

try this..

=IF(ISBLANK(WhatTheSheetName!$AB19),IF(WhatTheSheetName!$I19="R",0,IF(TEXT(EDATE(IF(WhatTheSheetName!$V19="P",WhatTheSheetName!$AR19,WhatTheSheetName!$J19),IF(WhatTheSheetName!$V19="P",0,WhatTheSheetName!$AS19)/30),"yyyymm")=TEXT(WhatTheSheetName!AV$5,"yyyymm"),WhatTheSheetName!$U19,0)),IF(WhatTheSheetName!$I19="R",0,IF(TEXT(EDATE(IF(WhatTheSheetName!$V19="P",WhatTheSheetName!$AR19,WhatTheSheetName!$AB19),IF(WhatTheSheetName!$V19="P",0,WhatTheSheetName!$AS19)/30),"yyyymm")=TEXT(WhatTheSheetName!AV$5,"yyyymm"),WhatTheSheetName!$U19,0)))

Update Sheet Name Accordingly..
 
Cammandk

can you specify the particular case where it give Value Error?

Deb,

i think without sheet name & just exclamation mark, this formula will not execute at all.
 
The formula is held within a defined name so that I can amend it if needed as it is used across many different sheets.
The ! mark allows the formula to be used across different sheets. Thats my understanding?
DK
 
Back
Top