How to Use this format in my formula. dd/mm/yyyy hh:mm

Pooja Patel

New Member
Joined
Jan 17, 2018
Messages
7
Name - Column ADate - Column B
abc01/17/2018 12:09:00 AM
abc01/17/2018 12:08:00 AM
abc01/17/2018 12:07:00 AM
abc01/17/2018 12:06:00 AM
Xyz01/17/2018 12:09:00 AM
Xyz01/17/2018 12:08:00 AM
Xyz01/17/2018 12:07:00 AM
Xyz01/17/2018 12:06:00 AM
ASAF01/17/2018 12:09:00 AM
ASAF01/17/2018 12:08:00 AM
ASAF01/17/2018 12:07:00 AM
ASAF01/17/2018 12:06:00 AM
ASAF01/17/2018 12:05:00 AM
ASAF01/17/2018 12:04:00 AM
ASAF01/17/2018 12:03:00 AM

<tbody>
</tbody>


Dear Friends,

Need Urgent Help. I need help for create automatic formula for "DATE" in column B.

In Column A, There are equal type of name coming.

is there any method or formula for automatic date change when name change in Column A.

Thanks In Advance.

Regards,
Excel Beginner User
 
Dear jtakw,

Thanks for your kind help.

I have checked the cell format. It is show like that
mm/dd/yyyy hh:mm:ss AM/PM

Your formula work when name changed different in Column A, When Name coming same text then its not subtract from Column B.


Name - Column A

<tbody>
</tbody>
Date - Column B

<tbody>
</tbody>
abc

<tbody>
</tbody>
01/17/2018 12:09:00 AM

<tbody>
</tbody>
Xyz

<tbody>
</tbody>
01/17/2018 12:09:00 AM

<tbody>
</tbody>
abc

<tbody>
</tbody>
01/17/2018 12:09:00 AM

<tbody>
</tbody>
abc

<tbody>
</tbody>
#VALUE!

<tbody>
</tbody>
abc

<tbody>
</tbody>
#VALUE!

<tbody>
</tbody>
abc

<tbody>
</tbody>
#VALUE!

<tbody>
</tbody>
Xyz

<tbody>
</tbody>
01/17/2018 12:09:00 AM

<tbody>
</tbody>
ASAF

<tbody>
</tbody>
01/17/2018 12:09:00 AM

<tbody>
</tbody>
Xyz

<tbody>
</tbody>
01/17/2018 12:09:00 AM

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Works for me:


Excel 2010
ABCD
1Name - Column ADate - Column B
2abc01/17/2018 12:09:00 AMTRUE
3Xyz01/17/2018 12:09:00 AM
4abc01/17/2018 12:09:00 AM
5abc01/17/2018 12:08:00 AM
6abc01/17/2018 12:07:00 AM
7abc01/17/2018 12:06:00 AM
8Xyz01/17/2018 12:09:00 AM
9ASAF01/17/2018 12:09:00 AM
10Xyz01/17/2018 12:09:00 AM
Sheet8
Cell Formulas
RangeFormula
D2=ISNUMBER(B2)
B3=IF(A3=A2,B2-"0:01",B$2)


Besides checking that Column B formatting is mm/dd/yyyy hh:mm:ss AM/PM, you need to input your date/time correctly, in an unused cell (in my sample D2) put =ISNUMBER(B2), if it doesn't return TRUE, you have entered B2 as TEXT, and the formula will NOT calculate.
 
Upvote 0

Forum statistics

Threads
1,217,293
Messages
6,135,679
Members
449,957
Latest member
cjames12

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