"Overflow"

buggy2

Board Regular
Joined
Feb 28, 2003
Messages
69
I am querying a table of 50,000 + rows. It contains a number of numeric (double) fields. I have created a query which does the following:

- select data for a particular day (averages 3500 rows)

- returns a values, taken from expr1: a/b, where a and b are values
in the table.

when I run the query I get an error, which simply states "Overflow". I know it relates to the division expression as I have calculated other values here with no problems.

Any ideas.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
You probably have some instances where b = 0, is blank, or is a text value, making your division bomb out. You will probably need to use and IIF statement in your calculation to check the valu eof b, i.e.

expr1: IIF(b<>0,a/b,0)
 
Upvote 0

Forum statistics

Threads
1,221,618
Messages
6,160,853
Members
451,674
Latest member
TJPsmt

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