Excel treating people with the lastname of April or May as months

richarjb

New Member
Joined
Oct 18, 2007
Messages
10
Hey everyone,

I've got this really irritating problem. I work in payroll so obviously I'm dealing with lots of employee data all the time. Anyway, whenever I create a pivot table that has surname, forename etc. the pivot table always pushes people with a surname such as May or April to the top of the surname column. I've tried formatting as text before and after dropping into a pivot table but excel just ignores it. It always treats the surname as a month of the year. I just can't get it to sort properly in strict alpha order. Has anyone had the same issue? I mean it's not critical but for me it's a real pain in the - well you know.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Thanks Jamcall. I'll give that a go too

No problem, I think Krayon's solution will have fewer clicks and is more intuitive - if anything about pivot tables can be considered intuitive (also not a fan). But either way, you'll get from point A to point B.

Cheers,
~ Jim
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,845
Members
449,471
Latest member
lachbee

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