Sorting with VLOOKUP

spookralls

New Member
Joined
Nov 26, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am working on a spreadsheet to track employee attendance.
Cell A is the employee ID number, Cell B is the employee (=VLOOKUP(A573,$N$3:$P$131,2,FALSE), and Cell C is the position (=VLOOKUP(A671,$N$3:$P$131,3,FALSE).
In cell E I have the date of the occurrence. When I attempt to sort by date the data gets out of order. Is there any way to sort by date without causing the data to be misplaced?
1Employee 1Cashier 11/1/2024ci22 1.45597
2Employee 2Cashier 11/15/2024t2w1 2.45611
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Assuming you are just using the sort function under the Data menu: It appears that columns D and H are blank columns? It's possible that you don't have the entire range of information selected, so it's only sorting columns E, F, and G. Would otherwise need more information.
 
Upvote 0

Forum statistics

Threads
1,224,507
Messages
6,179,181
Members
452,893
Latest member
denay

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