Date Not Processing as Date

mkron

New Member
Joined
Apr 5, 2017
Messages
18
I am working on writing a macro to prioritize work. I currently have it order by due date. I am trying to add a score to each order using:

=IFS([DUE DATE]< TODAY(), 10+DAYS(TODAY(), [DUE DATE])*1, [DUE DATE] = TODAY(), 8, [DUE DATE] = TODAY()+1, 6, [DUE DATE] > TODAY()+1, 0)+[DAYS AGED]

If it is late it get s score of 10, due today an 8, and due tomorrow a 6 and then the amount of time is has aged is added. Late orders get an extra point for the amount of days it is late.

The dates are formatted as General and come in looking like this "05/30/2017" even if I change the format to Short/Long Date the equation doesn't update. I have to manually remove the first zero to make it 5/30/2017. I have tried making a column using =mid(A##, 2, len(##)). however that has not worked either.

Any help or tips would greatly appreciated!
Thanks!
-MK
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Try copying a blank cell
Then highlighting the Due Date column
Right click - Paste Special - Values - Add - OK.
 
Upvote 0

Forum statistics

Threads
1,215,700
Messages
6,126,283
Members
449,308
Latest member
VerifiedBleachersAttendee

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