Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 03-20-2025, 08:16 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline if cell contains date, then month, else blank Windows 11 if cell contains date, then month, else blank Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Quote:
Originally Posted by ellocco View Post
I managed to verify the content via the function: "CELL":
=CELL("format", A1)
Gives an output dependent the cell content.
I expect something like: DD.MM.YYYY hh:mm:ss
and this correspond to the function output: "D1"
A cell format of "hh:mm:ss" gives: "U4"
It might be that the function is sensitive to your localization,
I have tested it with a German localization, the German variant is:
'ZELLE("format";B18)
FYI this thread is 9 years old...
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
if cell contains date, then month, else blank Auto update excel graph range, ignore data when date reads 00-Month-00 SavGDK Excel 2 06-24-2016 08:05 AM
Excel day date month year Function greginky Excel 1 01-05-2016 02:19 AM
if cell contains date, then month, else blank Filter by a Month that falls within a date range MattG1225 Excel 2 12-03-2015 07:44 AM
if cell contains date, then month, else blank Formulato say if cell is blank do this, if not blank do this. mbesspiata Excel 1 01-17-2015 05:02 AM
calculate date if date entered in cell, do nothing if blank ConfuddledOne Excel 3 11-07-2014 09:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:42 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft