Multpile Criteria??

Dawny

New Member
Joined
Dec 8, 2004
Messages
29
I have three fields in an access table and I want to run a cross tab so that field one appears in the rows, field 2 appears in the rows and field three is the sum fields 1 and 2 in the relevant cells. Does anyone know how this is possible????

Also say if:
Field 1 has A B C D E J G through to Z and
Field 2 has A B C D E J G through to Z and
Field three has numbers ......
how do I only select the first 10 letter ie A to J

I hope this makes sense. Im very new to access and need all the help I can get.

Thanks inadvance
Dawn
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Could you explain further?

What are you summing?

Does something like this work?

TRANSFORM Sum(Table1.Field3) AS SumOfField3
SELECT Table1.Field1, Sum(Table1.Field3) AS [Total Of Field3]
FROM Table1
WHERE (((Table1.Field1) Like "[A-J]"))
GROUP BY Table1.Field1
PIVOT Table1.Field2;
 
Upvote 0
Thanks but I have worked out how to do it (after a lot of playing)

It is a matter of using the 'or' function
 
Upvote 0

Forum statistics

Threads
1,221,841
Messages
6,162,314
Members
451,759
Latest member
damav78

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