Text-function and Date/Time settings

mucah!t

Well-known Member
Joined
Jun 27, 2009
Messages
593
Hello all,

I got a sheet that is being used by several users in with different date and time settings.

The problem with the formula I use in C2 is that it works for the english time settings but isn't for the Dutch.

Is there another way to render the cells A and B like as in C1 but isn't affected by time settings?
Excel Workbook
ABC
16:0014:0006:00 - 14:00
26:0014:00HH:01 - HH:01
Sheet1
Cell Formulas
RangeFormula
C1=TEXT(A1,"UU:MM") &" - "&TEXT(B1,"UU:MM")
C2=TEXT(A2,"HH:MM") &" - "&TEXT(B2,"HH:MM")
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hello all,

I got a sheet that is being used by several users in with different date and time settings.

The problem with the formula I use in C2 is that it works for the english time settings but isn't for the Dutch.

Is there another way to render the cells A and B like as in C1 but isn't affected by time settings?

Excel Workbook
ABC
16:0014:0006:00 - 14:00
26:0014:00HH:01 - HH:01
Sheet1
Cell Formulas
RangeFormula
C1=TEXT(A1,"UU:MM") &" - "&TEXT(B1,"UU:MM")
C2=TEXT(A2,"HH:MM") &" - "&TEXT(B2,"HH:MM")
How about this...

=HOUR(A1)&":"&TEXT(MINUTE(A1),"00")&" - "&HOUR(B1)&":"&TEXT(MINUTE(B1),"00")
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,718
Members
452,939
Latest member
WCrawford

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