+ Reply to Thread
Results 1 to 6 of 6

DIV/0 Error Help

  1. #1
    Registered User
    Join Date
    04-11-2023
    Location
    Greece
    MS-Off Ver
    Version 2303
    Posts
    3

    DIV/0 Error Help

    I exported my worksheet to Excel from Qualtrics after finishing with data collection from my survey. I then proceeded to calculate the mean score from certain participants' results (using AutoSum > Average) and would constantly get the DIV/0 Error, despite there being no zeroes or blanks in my selected cells. For example the selected cell contents would be 3, 3, 4, and the cell depicting the average would still be #DIV/0.

    If I clicked on one of these cells, the number allignment would change from left to right and AutoSum would work. Problem is, it would be incredibly time consuming to manually do that for all the results from the 80 participants.

    I was hoping someone here knew what caused this and how to fix it.

    I cannot provide the actual worksheet, since it contains confidential data from my participants, but I also do not know how to recreate this problem in a different worksheet to present it here. If someone has an idea feel free to inform me.
    Last edited by AresT; 04-12-2023 at 01:10 PM.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: DIV/0 Error Help

    The shift from left to right alignment suggests that you have numbers stored as text. Many functions (like average) are designed to ignore text (including numbers stored as text). In the case of the AVERAGE() function, if all of the entries are text, the result is 0/0 which means a divide by zero error.

    You did not explain in detail how you are exporting from Qualtrics and importing into Excel (via a text type of file, maybe??). My first thought would be to look at that process and see if there is anything you can do differently so the results will be numbers in Excel.

    This helpfile has some common strategies for converting numbers stored as text to numbers: https://support.microsoft.com/en-us/...1-c5bad0f0a885
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    04-11-2023
    Location
    Greece
    MS-Off Ver
    Version 2303
    Posts
    3

    Re: DIV/0 Error Help

    You are right, I should have mentioned this from the start;

    I exported from Qualtricts using the "choice text" option instead of "numeric values", because I used Likert scales with for example, "4 = Very Often" as an option, and also included several open ended questions. When I tried exporting with numberic values selected, all these choices would be assigned numbers, which hinder my analyses. Same problem persists when trying the methods from your attached link.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: DIV/0 Error Help

    I am not familiar with Qualtrics, so I do not know exactly how it exports data, and I am having trouble visualizing exactly what you are getting when that imports into Excel. I think we will need an example of the text file (or whatever) that Qualtrics is exporting and what that is looking like for you when you import it into Excel. Can you upload a sample text file so we can see what you are trying to work with?

  5. #5
    Registered User
    Join Date
    04-11-2023
    Location
    Greece
    MS-Off Ver
    Version 2303
    Posts
    3

    Re: DIV/0 Error Help

    After finally finding some time to sleep, I figured I could just use the replace all function to fix my problems by replacing all the numbers excel considered as text, with actual numbers. It might not be the most optimal solution but it works.

    Thank you very much for helping me figure out what the root cause of the problem was.

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: DIV/0 Error Help

    Glad it helped.

+ 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. [SOLVED] Odd Error Handling Behaviour; goes to error handler even when no error?
    By kalikj in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-04-2018, 10:04 AM
  2. [SOLVED] Run-tim error -2147467259(80004005): Automation error Unspecidied error
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2014, 12:12 PM
  3. Excel macro (compile error. syntax error.) error
    By salar_younis in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-06-2014, 06:11 AM
  4. Receiving following error “Complie error : syntax error” Help
    By masond3 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-02-2012, 10:19 AM
  5. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 AM
  6. Error 75 File/Path access error, sometimes Error 1004
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-16-2011, 02:35 PM
  7. [SOLVED] Error Handling - On Error GoTo doesn't trap error successfully
    By David in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-16-2006, 02:10 PM

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