Home > Forum Home > Excel Multiple Regression Analysis and Forecasting Template > Run-Time Error '13' Type Mismatch | Share |
Forum Topic | Post Reply Login |
Run-time Error '13' Type Mismatch | Rate this: (2.2/5 from 4 votes) |
I read the previous post in the forum to check data type when this occurs. All of the data is clearly numerical and should not be the problem. I am working with about 14,000 observarations and keep getting this error. Is it because there are to many observations? There is no difference in the number of observations per variable so this is also not the problem. Please let me know how to fix this. | ||
Posted by Payers24 on |
Replies - Displaying 1 to 10 of 13 | Order Replies By: Most recent | Chronological | Highest Rated |
Rate this: (3/5 from 1 vote) Regards,Rachel Gomez | |
rachel | |
Posted by RachelGomez161999 on |
Rate this: (3/5 from 1 vote) Data is: SPrice SF BR FB HB TtlFl Garage Carport View Pool 249000, 2300, 3, 2, 0, 1, 2, 0, 1, 0 This program is exactly what I am looking for if I can get it to run correctly. | |
John Patton | |
Posted by aeroshare on |
Rate this: (3/5 from 1 vote) Thanks in advance. | |
Posted by dalerhs on |
Rate this: (3/5 from 1 vote) Thanks again. | |
Posted by jboyce on |
Rate this: (3/5 from 1 vote) We have updated the download version to check for missing variable data in order to resolve this issue. | |
Excel Business Forums Administrator | |
Posted by Excel Helper on |
Rate this: (3/5 from 1 vote) Thanks for your help. No I haven't added columns or rows into the spreadsheet, just input the data. I have redownloaded the spreadsheet to check that I hadn't done it previously, and this is still the case. Any more ideas? Thanks. | |
Posted by jboyce on |
Rate this: (3/5 from 1 vote) | |
Excel Business Forums Administrator | |
Posted by Excel Helper on |
Rate this: (3/5 from 1 vote) I get this message too. I have tried adjusting the text / number format. I have tried copying and manually inputting the data. I have tried using just a few data values, and all of them (approx. 200) but to no avail. When I click run regression the computer takes ages to determine the run time message, and when I click end, it has changed the number of observations from its original value to 59997 after having put 0's in all the rows beyond the data. I can't understand why this might be happening. Please help. Thanks, Jack | |
Posted by jboyce on |
Rate this: (3/5 from 1 vote) If I were you, I would define your target cell as Variant then check to see if it is actually a string in the cell before doing the transform. | |
Excel Business Forums Administrator | |
Posted by Excel Helper on |
Rate this: (3/5 from 1 vote) When I do that thats when i get the mismatch Error, Please assist, here is my code Sub Macro1() Dim strPassword, Part1, Part2, Part3 As String Dim xPos As String Dim xLen As Integer ' Range("A1").Select strPassword = Range("A1").Value xLen = Len(strPassword) xPos = xLen / 2 If xLen Mod 2 <> 1 Then Part1 = Mid(strPassword, xPos + 1, xPos) Part2 = "" Part3 = Mid(strPassword, 1, xPos) Else Part1 = Mid(strPassword, xPos + 2, xPos) Part2 = Mid(strPassword, xPos + 1, 1) Part3 = Mid(strPassword, 1, xPos) End If outstring = Part1 + Part2 + Part3 Range("D1") = outstring End Sub | |
Posted by Hillary on |
Displaying page 1 of 2 | Next |
Find relevant Excel templates and add-ins for Run-Time Error '13' Type Mismatch in the Excel Business Solutions Directory |