+ Reply to Thread
Results 1 to 12 of 12

Excel 2007 : Forcing a state change

  1. #1
    Registered User
    Join Date
    10-15-2008
    Location
    Surbiton
    MS-Off Ver
    Office 365 business
    Posts
    42

    Forcing a state change

    =IF(A1="",B2,A1)

    The formula above has been working well elsewhere in my spreadsheet it basically says that if A1 is blank then use the info in cell B2 otherwise use A1. In my spreadsheet B2 looks up a value and i use A1 to override this value if i need to.

    However i am trying to do the same thing with A1 using a drop down list, the formula works until you change A1's value using the drop down list, at which point nothing happens as Excel doesnt seem to notice this state change as it would when you physically type something in.

    Does anybody know of a way around this or a way of forcing a state change??

    Many thanks

    Stuart
    Last edited by DvDj; 01-06-2009 at 10:40 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Are you in Automatic Calculation Mode?

    Go to the Office Button and select Excel Options. Select Formulas and then make sure Automatic is selected in the Calculation Options area
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-15-2008
    Location
    Surbiton
    MS-Off Ver
    Office 365 business
    Posts
    42
    No i'm not... at least not that i know of!!

  4. #4
    Registered User
    Join Date
    10-15-2008
    Location
    Surbiton
    MS-Off Ver
    Office 365 business
    Posts
    42
    Sorry NBVC, just checked options and 'Automatic calculation' mode is checked. So does this mean i need to press F9 each time?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    if pressing F9 everytime works, then setting the Automatic should work too.

    Maybe you need to post the sheet to see what's going on.

  6. #6
    Registered User
    Join Date
    10-15-2008
    Location
    Surbiton
    MS-Off Ver
    Office 365 business
    Posts
    42
    Just tried again pressing F9 and that doesnt work either

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Post the sample workbook

  8. #8
    Registered User
    Join Date
    10-15-2008
    Location
    Surbiton
    MS-Off Ver
    Office 365 business
    Posts
    42
    Hopefully the attached makes sense. The cells that i am refering to are E26, Z26 and AB26

    Many thanks
    Attached Files Attached Files

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    It's working for me in 2007 and also in 2003... don't know what is going on.

  10. #10
    Registered User
    Join Date
    10-15-2008
    Location
    Surbiton
    MS-Off Ver
    Office 365 business
    Posts
    42
    Thank you for the time you spent looking into that for me NBVC.

    Your right there is nothing wrong with the formula. It turns out that if I work in 'normal view' then it works fine. I had been working in 'Layout' view and in this view it doesn't work as the spreadsheet is speperated into two pages viewable side by side, which is how i wanted it. So only the page you are in refreshes as appossed to the whole document.

    Your not aware of a way of having Excel refresh... say the whole workbook upon change or at least all pages in view?

    Anyway many thanks again for your help

  11. #11
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    As far as I know, as long as you have Automatic calculations on...it should work for the whole worksheet/workbook....

    It worked for me in both normal view and in layout view.

    Pressing F9 refreshes entire sheet too...so it should also work in any view.

  12. #12
    Registered User
    Join Date
    10-15-2008
    Location
    Surbiton
    MS-Off Ver
    Office 365 business
    Posts
    42
    NBVC,

    Many thanks for your help again... I havent got a clue what is going on as I have just tried it on a different computer and it all works fine!!!! just as you said.

    So going to go through settings etc. many thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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