+ Reply to Thread
Results 1 to 13 of 13

entering formula

  1. #1
    Registered User
    Join Date
    08-22-2006
    Location
    Derbyshire
    Posts
    15

    entering formula

    I have a workbook with just one worksheet. It's just a list of data imported from Access and saved as a worksheet. When I try to enter a formula ie '=4+4' it goes in as text and will not calculate. I have tried various formatting to no avail. I added a second worksheet to see what happens and this works fine. (XP home, Excel 2003). Any idea's please

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    The spreadsheet probably has been preformatted as text...

    go to Edit|Replace and enter an = sign in both fields....then Replace All.

    That should fix it.
    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
    08-22-2006
    Location
    Derbyshire
    Posts
    15
    Thanks for the reply. Although this found 16 instances and replaced them all it has not cured my problem. There are no formula at all on the spreadsheet as the whole thing runs from macros. Having said that I have started the spreadsheet with macros disabled and get the same results.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    A few things to try........
    #1 Highlight the entire sheet and press CNTRL + SHFT + ~

    #2 Do CNTRL + ~ and then find and replace (CNTRL + H). Replace ' with nothing. Then CNTRL + ~ again.

    #3 In an empty cell, type in 1. Then copy it. Then highlight all cells and paste special > multiply.

    Any of this help?

    ChemistB

  5. #5
    Registered User
    Join Date
    08-22-2006
    Location
    Derbyshire
    Posts
    15
    Thanks for that.
    #1 Didn't seem to do anything
    #2 Found about 80 occurences & replaced them.
    #3 filled empty cells with zeros.
    but my formula still appear as text and therefor will not calculate!

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Sounds like it's time to zip your spreadsheet up and upload it to this forum to see if we can find anything.

    ChemistB

  7. #7
    Registered User
    Join Date
    08-22-2006
    Location
    Derbyshire
    Posts
    15

    Question Upload

    Not sure how to do that. My zipped file is 170kb.
    GB

  8. #8
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    After you hit "Post Reply" scroll down and there will be "Manage Attachments"
    Click and from there, "Browse" and find your file and then "Upload" (lots of people forget that last part).

    Note: If your file is really big, send a zipped example containing a subsample which is representative of your problem cells

    ChemistB

  9. #9
    Registered User
    Join Date
    08-22-2006
    Location
    Derbyshire
    Posts
    15

    Upload

    I've made the file smaller by removing a lot of the data. Click the word 'click' on the top left of the opening screen. The password is 'bill' for worksheet and VB.
    GB
    Attached Files Attached Files

  10. #10
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Hmmmm, the only place I found formulas as formulas was in row AK. By doing CTRL + `, the formula text disappeared. Unfortunately, everywhere you'd typed FALSE or TRUE became 0 or 1 at the same time.

    I went into your options > Transition> Sheet Options and unclicked the Transition Formula Evaluation and Transition Formula Entry and they reverted to True False. Take a look at the modified file I am sending back.

    ChemistB
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    08-22-2006
    Location
    Derbyshire
    Posts
    15

    Confused

    Great! it works Many thanks. How could I have missed that? So back to my original file, Options/ Transition , uncheck as required and .. it doesn't work
    What does Ctrl + ' do? Should I highlight cells before doing it?

  12. #12
    Registered User
    Join Date
    08-22-2006
    Location
    Derbyshire
    Posts
    15
    I've cracked it! Because this spreadsheet works exclusively on VB I hadn't noticed the fact that Options, View, formula was checked. It's a facility I used a lot when checking spreadsheets!

    I have now found Ctrl + ' should have done this for me but it doesn't seem to work on my spreadsheet. I'll look into that.

    So sorry to have wasted all your time and many thanks for your help.
    GB

  13. #13
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    No Problem, glad I could help.

    ChemistB

+ 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