Some calculations do not calculate

richard12

New Member
Joined
Feb 9, 2017
Messages
23
I have a spreadsheet that has short (50-80) rows with 7 columns. 2 columns are used to calculate data. Calculations use Google Maps to get mileage from one point to another point. The calculations either work or don't work. That is, the calculated cells either have the correct mileage or have a 0. I have tried "refresh all" and "recalculate". Neither of these causes a change.

However, when I copy/paste from another cell that shows the correct mileage OR a cell that has a zero, the calculation immediately works and is correct. This works every time.

The process is to use a listbox to select an employee. This employee has a work zip code used in the calculation. Other employees are added to the list (programmatically) where a column is used to calculate their personal zip codes and determine mileage using the work zip code. If I add other employees one at a time, there is no problem. It is only when employees are added fast does this fail.

Is there a way to correct this, or a workaround?
 
Last edited:

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
I resolved my problem. Added a counter to the sub and the pause allows the calculation to finish.
 
Upvote 0
Solution

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top