Create a report adding all the days of the week?

afs24

Board Regular
Joined
Sep 26, 2002
Messages
237
How do I create a report summing all the days of a week. I have a table with multiple Sundays with different numbers:
Example:
Day Total
Sunday 10
Monday 20
Sunday 30
Sunday 40
....the total is 100

I want my report to have Sunday one time, not 3x's with the total. The report should look like the following:
Sunday Monday
100 20

Lastly, how can I change a date in short format to a day. Example: 04/01/03 should change to Tuesday.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
First, add a number field to your table for the day of the week. Then do an update query, updating your new field to this :

Weekday([yourshortdatefield])

You will keep all the dates and have the number of the weekday (sunday=1, monday=2, etc.) .

If you want to have the weekday show, the easiest way to do this would be to include an additional table with 2 fields, the weekday #, and the weekday name. Join the weekday # with your other table to get the weekday names in there- You can do this in your original query, and group by the weekday name, so you can sum the weekdays.

HTH!
 
Upvote 0

Forum statistics

Threads
1,221,528
Messages
6,160,343
Members
451,638
Latest member
MyFlower

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