+ Reply to Thread
Results 1 to 45 of 45

Formula doesn't work in Excel 2013

  1. #1
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Formula doesn't work in Excel 2013

    Hi, I have the same formula in 365 and it work fine, How do I adjust it for Excel 2013, please?
    Basically if I typed in apple in Col B Sheet name New List (another sheet), Column D in this sheet should return all value with the word "Apple" (like example in Col E).

    Here is my current formula
    =IFERROR(INDEX($B$1:$B$10,AGGREGATE(15,6,(ROW($B$1:$B$10)-ROW($B$1)+1)/ISNUMBER(SEARCH(IF(AND(MID(CELL("filename",'New List'!A1),FIND("]",CELL("filename",'New List'!A1))+1,255),CELL("col")=2),CELL("contents"),""),$B$1:$B$10)),ROWS($D$1:D1))),"")

    Thank you so much for your help.

    Result from Excel 2013
    Capture.PNG


    Result from 365
    Capture.PNG
    Attached Files Attached Files
    Last edited by mu6865; 09-03-2022 at 06:54 AM.

  2. #2
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Formula doesn't work in Excel 2013

    The formula didn't work on Excel 2016 also.
    I think, it's might be different behavior of array formula of 365 and others.

    Regards.

  3. #3
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Any suggestion on fixing it please?
    Last edited by AliGW; 09-02-2022 at 12:30 AM. Reason: Please DON'T quote unnecessarily!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,034

    Re: Formula doesn't work in Excel 2013

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Hi, thank you and sorry about that. I updated my original post and attached the workbook already.
    Last edited by AliGW; 09-02-2022 at 01:22 AM. Reason: Please DON'T quote unnecessarily!

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,034

    Re: Formula doesn't work in Excel 2013

    In E2 copied down (I think):

    =IFERROR(INDEX($B$1:$B$500,AGGREGATE(15,6,ROW($1:$500)/(RIGHT($B$1:$B$500,LEN($E$1))=$E$1),ROW(1:1))),"")

  7. #7
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Formula doesn't work in Excel 2013

    I'm not sure what do you really want from the formula.

    Please try

    D1
    =IFError(vlookup(E1,$B$1:$B$6,1,false),"")

    Regards.

  8. #8
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Hi again, thank you but I don't see any part in the formula that lookup the value in Col B on another sheet as mentioned. I ran the formula test on both versions and think the issue is in that search part. But thank you for your input though. Not sure if I explain what I want clear enough, anything else you suggest me to explain more in the post?
    Last edited by AliGW; 09-02-2022 at 03:47 AM. Reason: Please DON'T quote unnecessarily!

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

    Re: Formula doesn't work in Excel 2013

    You need to explain again and more clearly what you are actually trying to do.

    Is this it???

    =IFERROR(INDEX($B$1:$B$500,AGGREGATE(15,6,ROW($1:$500)/(RIGHT($B$1:$B$500,LEN('New List'!$B$2))='New List'!$B$2),ROW(1:1))),"")

    Really NOT clear to me at all - sorry.

  10. #10
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Formula doesn't work in Excel 2013

    Then try

    E1
    =IFERROR(INDEX($B$1:$B$6,AGGREGATE(15,6,ROW($B$1:$B$6)/(1/(SEARCH('New List'!$B$2,Sheet1!$B$1:$B$6)>0)),ROW())),"")

    Regards.

  11. #11
    Forum Contributor
    Join Date
    03-05-2018
    Location
    Tbilisi, Georgia
    MS-Off Ver
    2013, 2016
    Posts
    273

    Re: Formula doesn't work in Excel 2013

    2mu6865 Is that what you want?
    PHP Code: 
    =INDEX(Sheet1!$B$1:$B$6,AGGREGATE(15,6,ROW($1:$100)/(ISNUMBER(SEARCH('New List'!$B$2,$B$1:$B$6))),ROW(A1))) 
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Quote Originally Posted by AliGW View Post
    In E2 copied down (I think):

    =IFERROR(INDEX($B$1:$B$500,AGGREGATE(15,6,ROW($1:$500)/(RIGHT($B$1:$B$500,LEN($E$1))=$E$1),ROW(1:1))),"")
    Hi, it is very close to what I look for which it to type in any cell in Col B in Sheet name "New List" and the formula will return list of value that contain that word. However, the formula you suggested only look in cell B2 in sheet "New List" but I wanted it to look in any active cell in Col B (I could type in B5 B20 B101 etc.) not only in cell B2, that's why I have this part of the formula to begin with

    SEARCH(IF(AND(MID(CELL("filename",'New List'!A1),FIND("]",CELL("filename",'New List'!A1))+1,255),CELL("col")=2),CELL("contents"),"")

    unfortunately, it doesn't work in 2013 version T_T any suggestion please?

  13. #13
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Quote Originally Posted by T.I. View Post
    2mu6865 Is that what you want?
    PHP Code: 
    =INDEX(Sheet1!$B$1:$B$6,AGGREGATE(15,6,ROW($1:$100)/(ISNUMBER(SEARCH('New List'!$B$2,$B$1:$B$6))),ROW(A1))) 
    Hi, it is very close to what I look for which it to type in any cell in Col B in Sheet name "New List" and the formula will return list of value that contain that word. However, the formula you suggested only look in cell B2 in sheet "New List" but I wanted it to look in any active cell in Col B (I could type in B5 B20 B101 etc.) not only in cell B2, that's why I have this part of the formula to begin with

    SEARCH(IF(AND(MID(CELL("filename",'New List'!A1),FIND("]",CELL("filename",'New List'!A1))+1,255),CELL("col")=2),CELL("contents"),"")

    unfortunately, it doesn't work in 2013 version T_T any suggestion please?

  14. #14
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Quote Originally Posted by menem View Post
    Then try

    E1
    =IFERROR(INDEX($B$1:$B$6,AGGREGATE(15,6,ROW($B$1:$B$6)/(1/(SEARCH('New List'!$B$2,Sheet1!$B$1:$B$6)>0)),ROW())),"")

    Regards.
    Hi, it is very close to what I look for which it to type in any cell in Col B in Sheet name "New List" and the formula will return list of value that contain that word. However, the formula you suggested only look in cell B2 in sheet "New List" but I wanted it to look in any active cell in Col B (I could type in B5 B20 B101 etc.) not only in cell B2, that's why I have this part of the formula to begin with

    SEARCH(IF(AND(MID(CELL("filename",'New List'!A1),FIND("]",CELL("filename",'New List'!A1))+1,255),CELL("col")=2),CELL("contents"),"")

    unfortunately, it doesn't work in 2013 version T_T any suggestion please?

  15. #15
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,959

    Re: Formula doesn't work in Excel 2013

    Everyone who confuses correlation and causation ends up dead.

  16. #16
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Formula doesn't work in Excel 2013

    This MIGHT be what you want and WILL work in 2013!!

    =IFERROR(INDEX(B:B,AGGREGATE(15,6,ROW(Sheet1!$B$1:$B$20)/(ISNUMBER(SEARCH(LOOKUP(2,1/('New List'!B:B<>""),'New List'!B:B),Sheet1!$B$1:$B$20))),ROWS(E$2:E2))),"")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  17. #17
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,034

    Re: Formula doesn't work in Excel 2013

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you are new here, I shall do it for you this time: https://www.mrexcel.com/board/thread...n-365.1215355/)

  18. #18
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Quote Originally Posted by Glenn Kennedy View Post
    This MIGHT be what you want and WILL work in 2013!!

    =IFERROR(INDEX(B:B,AGGREGATE(15,6,ROW(Sheet1!$B$1:$B$20)/(ISNUMBER(SEARCH(LOOKUP(2,1/('New List'!B:B<>""),'New List'!B:B),Sheet1!$B$1:$B$20))),ROWS(E$2:E2))),"")
    this is exactly what I need. thank you so much. I really appreciate it.

  19. #19
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Formula doesn't work in Excel 2013

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

  20. #20
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    I am so sorry I tested with a wrong version, it worked in 365 but doesn't work in 2013. When I type new word in New List COL B in 2013 the list doesn't change like it does in 365. Any other suggest please?

    Update: I tested carefully again and found out it is not that it doesn't work but it only work if I type downward. For example, if I type in B2 then B3 then B4, it work fine. Then I went back and edit B3 that when it stop working so the first time testing I thought the whole thing doesn't work on 2013. Is there a way to make it work for editing the above cell as well? Thank you so much.
    Last edited by mu6865; 09-02-2022 at 05:39 AM.

  21. #21
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,034

    Re: Formula doesn't work in Excel 2013

    Are you entering it with CTRL+SHIFT+ENTER? If not, then you may need to.

  22. #22
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Hi, yes, I did. the list doesn't change though. I typed in Apple, it still show Banana from when I tested with 365.
    Attachment 794552
    Last edited by AliGW; 09-02-2022 at 05:07 AM. Reason: Please DON'T quote unnecessarily!

  23. #23
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,034

    Re: Formula doesn't work in Excel 2013

    I am confused - in your last but one post you said it was working in 365, now you say it isn't - can you please clarify which versions work in 2013, which is what you wanted?

    Pleae read my PM to you just now. Thanks.

  24. #24
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Hi, for sorry for the confusion but I never said it doesn't work in 365. The formula I had to begin with and what Glenn came up with produced exactly what I need and they are both work only in 365 and not 2013. Hope this clarify it. Sorry again for the confusion.
    Last edited by AliGW; 09-02-2022 at 05:16 AM. Reason: Please DON'T quote unnecessarily!

  25. #25
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,034

    Re: Formula doesn't work in Excel 2013

    You said this:

    I typed in Apple, it still show Banana from when I tested with 365.
    Thais indicates that it doesn't work in 365.

  26. #26
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Just to clarify, I mentioned I tested the wrong version in previous reply to Glenn, so I said it still show the result from previous 365 testing. Sorry if that confused you.

  27. #27
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,034

    Re: Formula doesn't work in Excel 2013

    OK - yes, it did confuse me. Thanks for clarifying.

    Not sure why they are not working - they don't use any post-2013 functions.

  28. #28
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Thanks so much for your time and advice, I'll keep looking for the solution

  29. #29
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,034

    Re: Formula doesn't work in Excel 2013

    If you post it on any more forums, remember you MUST post links here. Thanks.

  30. #30
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Will do that. Thank you.

  31. #31
    Forum Contributor
    Join Date
    06-12-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    133

    Re: Formula doesn't work in Excel 2013

    This portion seems to be the reason your original formula doesn't work 'AND(MID(CELL("filename",'New List'!A1),FIND("]",CELL("filename",'New List'!A1))+1,255),CELL("col")=2)' This just evaluates to the tab name but there is no logical comparison is being made so it returns #VALUE and because of the IFERROR function it returns a blank. Also all the suggestions made have worked for me in 2013.

  32. #32
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28
    Quote Originally Posted by bird333 View Post
    This portion seems to be the reason your original formula doesn't work 'AND(MID(CELL("filename",'New List'!A1),FIND("]",CELL("filename",'New List'!A1))+1,255),CELL("col")=2)' This just evaluates to the tab name but there is no logical comparison is being made so it returns #VALUE and because of the IFERROR function it returns a blank. Also all the suggestions made have worked for me in 2013.

    Hi, thank you for the explaination. What do you mean by all the suugestion have made work for you in 2013? I'm a bit lost on that.

    Thank you.

  33. #33
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Formula doesn't work in Excel 2013

    it will (should) work in 2013 & 365.

    But.

    You randomly type keywords ANYWHERE in column B?? I thought you meant there would only ever be ONE value in column B... or (at worst) you would be working downwards.

    If there can be multiple values in column B and you want Excel to "choose" one of them, then you MUST have a rule that defines which one is chosen.


    What is the rule?

  34. #34
    Forum Contributor
    Join Date
    06-12-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    133

    Re: Formula doesn't work in Excel 2013

    Quote Originally Posted by mu6865 View Post
    Hi, thank you for the explaination. What do you mean by all the suugestion have made work for you in 2013? I'm a bit lost on that.

    Thank you.
    I think you mentioned some of the other formulas that were suggested to you still didn't work in 2013 and I was just saying that they worked for me.

  35. #35
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Quote Originally Posted by Glenn Kennedy View Post
    it will (should) work in 2013 & 365.

    But.

    You randomly type keywords ANYWHERE in column B?? I thought you meant there would only ever be ONE value in column B... or (at worst) you would be working downwards.

    If there can be multiple values in column B and you want Excel to "choose" one of them, then you MUST have a rule that defines which one is chosen.


    What is the rule?
    ํYes, I'm looking for the formula that will garb value from any active cell in the range not just one or only downward. My original formula work just like that but unfortunately it doesn't work on 2013, and I wonder if this is possible in 2013 or may be not...

    This one work perfectly on 365 --> the rule is > any active cell on specific range, you can type up or down in any order it will grab the active cell value in the range.

    =IFERROR(INDEX($B$1:$B$10,AGGREGATE(15,6,(ROW($B$1:$B$10)-ROW($B$1)+1)/ISNUMBER(SEARCH(IF(AND(MID(CELL("filename",'New List'!A1),FIND("]",CELL("filename",'New List'!A1))+1,255),CELL("col")=2),CELL("contents"),""),$B$1:$B$10)),ROWS($D$1:D1))),"")
    Last edited by mu6865; 09-03-2022 at 01:04 AM.

  36. #36
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Quote Originally Posted by mu6865 View Post
    Hi, thank you for the explaination. What do you mean by all the suugestion have made work for you in 2013? I'm a bit lost on that.

    Thank you.
    Hi, thank you for clarification. yea, they worked in 2013 but they were not what I was looking for though. I'm looking for the formula that will grab value in any active cell in specific range. The one Glenn came up with is very close to that but it only grab value downward, if you go back up and edit the cell above it won't work.

  37. #37
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Formula doesn't work in Excel 2013

    I do not understand what you mean when you say "that will grab value in any active cell in specific range".

    Explain again, slowly & clearly.

  38. #38
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28
    Quote Originally Posted by Glenn Kennedy View Post
    I do not understand what you mean when you say "that will grab value in any active cell in specific range".

    Explain again, slowly & clearly.
    So the formula that you came up with is only grab value from the last row and return it right?

    If there is value in A1 A2 A3 A4, it will return value from A4. If I go up and type in the cell above let say A3 while A4 has something in it, the formula won't work anymore. It will not grab value from the last cell I type (A3) but grab value of last row (A4).

    "that will grab value in any active cell in specific range". means, I look for the formula that will grab value from any active cell doesn't matter what order it is in that range just any cell that is active (active = double click and type somthing in it and enter). Normally we can use =indirect(cell("address")) to refer to active cell but this formula will look overall the place, anywhere in the worksheet which take time to calculate. So I only want it to look for active cell in specific range.

    Don't know if that help clarify it a bit more?
    Last edited by mu6865; 09-03-2022 at 04:46 AM.

  39. #39
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Formula doesn't work in Excel 2013

    Show me how INDIRECT(CELL("address")) is working in a sample sheet.

  40. #40
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    A1 has the formula =INDIRECT(CELL("address")), type in any cell in the worksheet and hit enter -> A1 will return that value. I uploaded testing file called "Indirect Cell address testing.xlsx‎" in my original post.

    And if you test the other file on my original post on Excel 365, anything you type in sheet "New List" ColB and hit enter, check another sheet, it will return all values that has the word you just type in sheet "New List" ColB. If you type outside of that range (sheet "New List" ColB), then nothing happen.

    Thank you

    Attachment 794665
    Last edited by mu6865; 09-03-2022 at 07:03 AM.

  41. #41
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Formula doesn't work in Excel 2013

    All that monkeying around with INDIRECT & CELL feels very flaky. Change the active cell ands it all falls over.

    Play with this and see if it suits. I can then explain it (as required).

    Type your search term anywhere in the coloured cells in New List column B. The bright blue cells in sheet 1 populate correctly. Add another search term in NL column B. The blue list updates to give you the result corresponding to the most recent entry in the purple cells.
    Attached Files Attached Files

  42. #42
    Forum Contributor
    Join Date
    06-12-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    133

    Re: Formula doesn't work in Excel 2013

    Quote Originally Posted by Glenn Kennedy View Post
    All that monkeying around with INDIRECT & CELL feels very flaky. Change the active cell ands it all falls over.

    Play with this and see if it suits. I can then explain it (as required).

    Type your search term anywhere in the coloured cells in New List column B. The bright blue cells in sheet 1 populate correctly. Add another search term in NL column B. The blue list updates to give you the result corresponding to the most recent entry in the purple cells.
    Hello. Can you explain how the formulas in HL column AZ work when they are circular?

  43. #43
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Quote Originally Posted by Glenn Kennedy View Post
    All that monkeying around with INDIRECT & CELL feels very flaky. Change the active cell ands it all falls over.

    Play with this and see if it suits. I can then explain it (as required).

    Type your search term anywhere in the coloured cells in New List column B. The bright blue cells in sheet 1 populate correctly. Add another search term in NL column B. The blue list updates to give you the result corresponding to the most recent entry in the purple cells.
    Hi Glenn, thank you so much! I tested it and it work! I would say 95% of the time, so I had a look at what happened with the other 5% and found you have set up the time at AZ to trigger the formula. So the 5% that didn't work was the one I already typed in and went back to edit (without deleting it first and the original time stamp wasn't the latest).



    The formula look clean and will work most of the time and a good fit if use in content that doesn't have too much rows, but if you have 50,000 of data mean you need another 50,000 row of helper column. I really like the idea though; simple, clean and yet clever.

    If I may, I wanted to ask about the CELL("address") formula (I know you didn't like it lol I agree with you it can be a bit flaky but for me I think it does the job well and doesn't effect user experience from what I have been testing so far) but you do think it is possible to define a range in the formula (for 2013) so it doesn't look all over the worksheet?

    Thank you so much for your help, I really appreciate you time.
    Last edited by mu6865; 09-03-2022 at 11:21 PM.

  44. #44
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Formula doesn't work in Excel 2013

    I'm not aware of any way to restrict cell in the way you want.

    Excel has 16,000+ columns and 1,000,000+ rows, so don't worry about a helper column. If its visibility offends you... put it in AZ, or in a hidden sheet...

    In your REAL sheet you will need to enable Iterative calculations: File/Options/Formulae and check the box.

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

  45. #45
    Registered User
    Join Date
    09-01-2022
    Location
    US
    MS-Off Ver
    2013
    Posts
    28

    Re: Formula doesn't work in Excel 2013

    Thank you for your time, I added the reputation already.

+ 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. Script doesn't work in Excel 2013
    By cny in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-16-2017, 03:11 AM
  2. Replies: 0
    Last Post: 09-21-2016, 05:24 PM
  3. Excel 2007 VBA to Export Sheet as PDF doesn't work in 2013
    By WilliamJones in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2015, 07:28 PM
  4. Macro for MS Office 2010 doesn't work for 2013
    By levitikus in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-30-2015, 06:29 AM
  5. Excel to Word macro doesn't work on Word 2013 if sheet is hidden (works fine on 2010)
    By dreddster in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-29-2015, 04:37 AM
  6. Why does my formula work in Excel 2013 but not-work in SharePoint 2013?
    By mkamoski in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-11-2014, 06:37 PM
  7. Updating broken links doesn't work - Excel 2013
    By kartoshka in forum Excel General
    Replies: 0
    Last Post: 10-25-2013, 05:11 AM

Tags for this Thread

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