excel date formula help
#3
Registered User
iTrader: (15)
Join Date: Aug 2005
Location: Salinas, CA
Posts: 12,522
Car Info: 1997 Acura Integra GS Sedan
he's trying to conquer the world!!!
I don't know how to do it without converting the date field to a special, and entering your dates in as MMDDYYYY and letting the logic take care of the rest.
Is the info already in a spreadsheet, or is it something that someone will be entering?
I don't know how to do it without converting the date field to a special, and entering your dates in as MMDDYYYY and letting the logic take care of the rest.
Is the info already in a spreadsheet, or is it something that someone will be entering?
#4
the info is already there
2 pay cycles 15th and 30th or last day of the month
i need to have those dates from 1st to the 15th show pay period of 15th and those from 16th to last day of the month to show pay period of last day of the month.
I am manually changing it right now, i have been playing with some formulas but i cant get it right
2 pay cycles 15th and 30th or last day of the month
i need to have those dates from 1st to the 15th show pay period of 15th and those from 16th to last day of the month to show pay period of last day of the month.
I am manually changing it right now, i have been playing with some formulas but i cant get it right
#5
Registered User
iTrader: (15)
Join Date: Aug 2005
Location: Salinas, CA
Posts: 12,522
Car Info: 1997 Acura Integra GS Sedan
so first off all, make two key cells, one put in 1/1/2007, the other put in 1/15/2007, say you put them in K1 and L1, and say your date cell is C1
=IF(C1>=K1,IF(C1>=L1,"1/31/2007","1/15/2007"),"undefined")
so what you have is IF Date >= 1/1/2007 & Date >= 1/15/07, it should be 1/31/2007, otherwise it should be 1/15/2007.
Also, for error checking, if Date is less than 1/1/2007 return error
=IF(C1>=K1,IF(C1>=L1,"1/31/2007","1/15/2007"),"undefined")
so what you have is IF Date >= 1/1/2007 & Date >= 1/15/07, it should be 1/31/2007, otherwise it should be 1/15/2007.
Also, for error checking, if Date is less than 1/1/2007 return error
Last edited by SubyN00by; 04-03-2007 at 02:06 PM.
#7
Registered User
iTrader: (15)
Join Date: Aug 2005
Location: Salinas, CA
Posts: 12,522
Car Info: 1997 Acura Integra GS Sedan
Originally Posted by sc0013z
what if there are different years involved, 2005, 2006, 2007? that was also my formula in mind, but then my dates have different years, i was trying to put "*" on the years but wont take it.
Thread
Thread Starter
Forum
Replies
Last Post
dub81
Hawaii
22
09-12-2010 03:06 AM