Subtotaled data imported from Excel????

sunshine

New Member
Joined
May 27, 2003
Messages
32
I have an Excel spreadsheet that has subtotaled data. ACCESS does not seem to like those fields that are empty because of the subtotals. Is there a way in ACCESS to subtotal data as well?

I am a new user so I don't yet know many of the functions.

Thanks!

:rolleyes:
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Are you saying that you have certain fields that contain no values and that Access won't total rows/columns with no values in them? Yes, Access isn't as forgiving as Excel about Null Values, so you should do this:
-Write a query that captures all of the fields that you'll be needing
-In the criteria of each field that you'll be performing calculations on, write:
Code:
Iif(is null([YourTable].[YourField],0,[YourTable].[YourField]))

What you're saying here is "If a field is Null, then return a 0 in that field, else if it's not Null, return the original value". I know this isn't nearly as user-friendly as Excel, but you get used to it.
 
Upvote 0

Forum statistics

Threads
1,221,544
Messages
6,160,432
Members
451,646
Latest member
mmix803

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