+ Reply to Thread
Results 1 to 23 of 23

Ghost Formula in Data Validation [After Closed File Not Working]

  1. #1
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Ghost Formula in Data Validation [After Closed File Not Working]

    hi all..

    i have excel formula this :
    Please Login or Register  to view this content.
    at first, this formula is working, but after i closed the file then open again, the formula not working...
    after that...i delete formula in DV then copy again the formula is work...
    how to fix it?
    my target is cell N2 down (yellow areas)

    any help much appreciated...

    john m
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    This formula must be enter as an array formula by using Ctrl+Shift+Enter. Just make sure you save your file before you close it.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,906

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    You have to confirm the formula in DV with CTRL+SHIFT+ENTER.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    hi alkey....how to do it (Ctrl+Shitf+Enter) in DV ? cause i use in Data Validation|List

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,906

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    Same as you would normally - enter the formula in DV and then press CTRL+SHIFT+ENTER.

  6. #6
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    i have do it , Ali...still not work...mark {....} not showing in DV Formula Bar.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,906

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    It won't show the {}, but it will work.

  8. #8
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    i don't know why?....in my computer still not working (after closed file DV not working)

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,906

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    It works here - what can I say?
    Attached Files Attached Files
    Last edited by AliGW; 12-18-2017 at 01:18 PM.

  10. #10
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    FYI - It will lose array confirmation after save and re-opening workbook.

    Easiest way to work around it is to create list on the worksheet (using array formula or other means) and then create dynamic named range off of it.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  11. #11
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    hi ali...i just download your file...after open it.the formula is not working...

  12. #12
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    hi CK76....thanks...
    but how to make it?

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,906

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    Correct - please see post #10. It works until the file is closed and reopened.

  14. #14
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    no...still not work...

  15. #15
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    It works for me
    See attached file
    Attached Files Attached Files

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,906

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    Quote Originally Posted by Jhon Mustofa View Post
    no...still not work...
    Yes, it does work. However, as mentioned in post #10, as soon as you close the file, the array formula setting is lost, and you have to reapply it when you reopen the file.

  17. #17
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    i'm still confuse, why not working for me...i have do your suggestion...

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,906

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    Forget it - it's not going to be the way forward. Look at the advice in post #10 and go with that.

  19. #19
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,208

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    Removed by JT after reading post #10!

  20. #20
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    @ Jhon Mustofa

    Have a read of following link about how to set up dependent data validation list.
    http://www.contextures.com/xlDataVal02.html

    If you have trouble applying the concept to your workbook, post your question and we can help.

  21. #21
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    hi CK76...thank your suggestion ...

  22. #22
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,208

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    If you are willing to have a VBA solution:

    Please Login or Register  to view this content.
    Click on tab==>View code==>Copy/Paste code

    Two named ranges PARM1 and PARM2 created and the above inserts values

    In B2

    =IFERROR(INDEX($AX$2:$AX$19,SMALL(IF(($AV$2:$AV$19=Parm1)*($AW$2:$AW$19=Parm2),ROW($AV$2:$AV$19)-ROW($AV$2)+1,""),ROWS($1:1))),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Creates named list called "DV_LIST"

    in column N :DV

    =List

    Source: =DV_List
    Attached Files Attached Files

  23. #23
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Ghost Formula in Data Validation [After Closed File Not Working]

    thank you John ....worked it well....

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 02-03-2019, 02:55 AM
  2. Data validation drop down with ghost drop down
    By KEDENNIS in forum Excel General
    Replies: 11
    Last Post: 04-04-2016, 03:49 PM
  3. [SOLVED] BeforeClose event not running/working when file is closed through VBA in another file
    By jaimelwilson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2014, 03:43 AM
  4. Sumproduct formula returns #ref when linked data file is closed.
    By shandrak in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-23-2014, 08:54 PM
  5. data validation not working if formula triggered?
    By wilcoremmers in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-25-2014, 07:09 PM
  6. Ghost project remain in VB Editor after Workbook is closed
    By Kiwoop in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2013, 05:03 AM
  7. Data Validation Not Working With emailed File
    By bizhelp9 in forum Excel General
    Replies: 1
    Last Post: 12-05-2011, 11:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1