Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Day function in cross tab

Status
Not open for further replies.

iansmithwolves

Technical User
Jan 24, 2003
53
0
0
GB
I need to set up a cross tab which list dates by name only so that I can analyse by just the name of a day. If I format the date to just the name and export it to excel, the full date reappears. Can I write a formula in Xtal that just brings up the days name, which can then be analysed using the select expert or exported to Excel

Ian Smith
Wolverhampton
England
 
WeekdayName(DayOfWeek({dateField}))

Replace the item in bold with your date field...


Reebo
 
I have used this formula to generate a cross tab which give totals per day. I now want to analyse by hour per day of the week, ie I want a breakdown of calls received per hour by day eg we have received x amount of calls on Mondays between such and such a hour. Has anyone got a formula which will do this, please?
 
If you use :

ToText(CurrentDateTime,"dddd HH:00")

This will give you Wednesday 09:00, for any datetime on Wednesday from 09:00 to 09:59.

You can replace currentdatetime with your datetime field.

Reebo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top