how to reduce a date TO A SINGLE DIGIT

zebra7860

Active Member
Joined
Jan 9, 2004
Messages
403
Hi,

I have dates in the following format ( MM/DD/YYYY) starting with cell D2:

ie 5/15/1997
ie 01/22/2018

I simply want to create a mod formula in cell E2 that summarizes the date value to a single digit, ie:

5+1+5+1+9+9+7 = 37 = 10 = 1+0 = 1
1+2+2+2+0+1+8 = 34 = 7

Can anybody help?

Thanks,
Al
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
If you get True for =Istext then your dates are text & not numbers try
Excel Formula:
=1+(MOD(SUBSTITUTE(D2,"/","")-1,9))
 
Upvote 0
Solution
Date and Time 2021.xlsm
AB
15/15/19971
21/22/20187
10b
Cell Formulas
RangeFormula
B1:B2B1=MOD(SUBSTITUTE(A1,"/","")-1,9)+1
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,927
Messages
6,122,311
Members
449,080
Latest member
jmsotelo

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