Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 83
Default =DATE(YEAR(P4),MONTH(P4)+1,1)

I cant seem to get his one right.
How can revise this formula so the cell is
blank until data is typed in P4 cell
Please advise
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default =DATE(YEAR(P4),MONTH(P4)+1,1)

=IF(P4="","",DATE(YEAR(P4),MONTH(P4)+1,1))

--
Gary''s Student - gsnu200828


" wrote:

I cant seem to get his one right.
How can revise this formula so the cell is
blank until data is typed in P4 cell
Please advise

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default =DATE(YEAR(P4),MONTH(P4)+1,1)


;193661 Wrote:
I cant seem to get his one right.
How can revise this formula so the cell is
blank until data is typed in P4 cell
Please advise


Hi

try =if(p4="","",DATE(YEAR(P4),MONTH(P4)+1,1))


--
Pecoflyer

Cheers -
*'Membership is free' (
http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=53409

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default =DATE(YEAR(P4),MONTH(P4)+1,1)

You may even want:

=if(isnumber(p4),DATE(YEAR(P4),MONTH(P4)+1,1),"")



wrote:

I cant seem to get his one right.
How can revise this formula so the cell is
blank until data is typed in P4 cell
Please advise


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tell me which "season" (Month/Day through Month/Day) a date(Month/Day/Year) falls in (any year)??? misscrf Excel Discussion (Misc queries) 1 December 14th 07 02:59 PM
Date -Month/day/year mfg Excel Discussion (Misc queries) 4 August 9th 07 11:26 PM
Sort month/date/year data using month and date only SMW820 Excel Discussion (Misc queries) 6 June 22nd 06 05:14 PM
Using '=MIN(DATE(YEAR(A1),MONTH(A1)+{7,6},DAY(A1)*{0,1}))' JNW Excel Worksheet Functions 11 February 3rd 06 01:45 PM
I need date format to be set up as month/year. Aaron New Users to Excel 2 December 22nd 05 01:46 PM


All times are GMT +1. The time now is 10:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"