I'm trying to create a formula and need help or hints on how to do this.
What I would like to do is: in cell A1 have the word PAYDAY appear on certain
days each month for 1 year. I know that with the 'if' formula you can only
have 7 nested 'if' statements. I need a way to have 24 references (2 days a
month). Any help or questions on this is highly appreciated.
--
Thanks,
T_Sr
Message posted via www.officekb.com
Travis,
What determins when it is payday? Is it every two weeks? Certain weekdays
after certain dates in the month? Or what?
--
Regards
Sandy
with @tiscali.co.uk
quot;Travis via OfficeKB.comquot; lt;u17260@uwegt; wrote in message
news:59eb800806c8c@uwe...
gt; I'm trying to create a formula and need help or hints on how to do this.
gt; What I would like to do is: in cell A1 have the word PAYDAY appear on
gt; certain
gt; days each month for 1 year. I know that with the 'if' formula you can
gt; only
gt; have 7 nested 'if' statements. I need a way to have 24 references (2 days
gt; a
gt; month). Any help or questions on this is highly appreciated.
gt;
gt; --
gt; Thanks,
gt; T_Sr
gt;
gt; Message posted via www.officekb.com
Travis via OfficeKB.com schreef:
gt; I'm trying to create a formula and need help or hints on how to do this.
gt; What I would like to do is: in cell A1 have the word PAYDAY appear on certain
gt; days each month for 1 year. I know that with the 'if' formula you can only
gt; have 7 nested 'if' statements. I need a way to have 24 references (2 days a
gt; month). Any help or questions on this is highly appreciated.
gt;
Specify the dates on another sheet and make a reference to it with VLOOKUP
The simplest solution, I think, doesn't require a formula. All you need to
know is how to format a column of cells so the date shows as you like and
what fill means.
1. format the date column.
2. enter the first date in the top cell.
3. fill down as far you need.
4. in a new column to the left or right type in quot;paydayquot; next to the day you
get paid
any given week.
5. now select a range of cells in the quot;paydayquot; column in groups of 7 or 14 or
however many days there are to a pay period with the first cell in the
range
being the cell in which you typed quot;paydayquot; and the last cell being the
day before
your next quot;paydayquot;.
6. fill down that range as far as you like.
Done.
Provided that you don't have to do anything complicated overall, you don't
need a complicated solution.
quot;Travis via OfficeKB.comquot; wrote:
gt; I'm trying to create a formula and need help or hints on how to do this.
gt; What I would like to do is: in cell A1 have the word PAYDAY appear on certain
gt; days each month for 1 year. I know that with the 'if' formula you can only
gt; have 7 nested 'if' statements. I need a way to have 24 references (2 days a
gt; month). Any help or questions on this is highly appreciated.
gt;
gt; --
gt; Thanks,
gt; T_Sr
gt;
gt; Message posted via www.officekb.com
gt;
Payday comes on the 1st and 15th, but if one of those days is on a weekend
the payday is the friday before that weekend. I have to have certain days
for each month depending on if payday is on a weekend or not.
Sandy Mann wrote:
gt;Travis,
gt;
gt;What determins when it is payday? Is it every two weeks? Certain weekdays
gt;after certain dates in the month? Or what?
gt;
gt;gt; I'm trying to create a formula and need help or hints on how to do this.
gt;gt; What I would like to do is: in cell A1 have the word PAYDAY appear on
gt;[quoted text clipped - 4 lines]
gt;gt; a
gt;gt; month). Any help or questions on this is highly appreciated.
--
Thanks,
T_Sr
Message posted via OfficeKB.com
www.officekb.com/Uwe/Forums.a...excel/200601/1
Travis,
Here is a compilation of the two posts I replied to you other post in the
*.newusers* NG.
Start of 1st Post
*************************************************
=IF(DAY(TODAY())gt;=15,IF(WEEKDAY(DATE(YEAR(TODAY()) ,MONTH(TODAY()) 1,1),2)gt;5,DATE(YEAR(TODAY()),MONTH (TODAY()) 1,1)-(WEEKDAY(DATE(YEAR(TODAY()),MONTH(TODAY()) 1,1),2)-5),DATE(YEAR(TODAY()),MONTH(TODAY()) 1,1)),IF(WEEK DAY(DATE(YEAR(TODAY()),MONTH(TODAY()),15),2)gt;5,DAT E(YEAR(TODAY()),MONTH(TODAY()),15)-(WEEKDAY(DATE(YEAR(TODAY()),MONTH(TODAY()),15),2)-5),DATE(YEAR(TODAY()),MONTH(TODAY()),15)))
will return the next payday and on the 1st or 15th of the month will
automatically update itself to the next payday.
**************************************************
Start of 2nd post
************************************************** *To test out the formula use this one:
=IF(DAY(A1)gt;=15,IF(WEEKDAY(DATE(YEAR(A1),MONTH(A1) 1,1),2)gt;5,DATE(YEAR(A1),MONTH(A1) 1,1)-(WEEKDAY(DATE(YEAR(A1),MONTH(A1) 1,1),2)-5),DATE(YEAR(A1),MONTH(A1) 1,1)),IF(WEEKDAY(DATE(Y EAR(A1),MONTH(A1),15),2)gt;5,DATE(YEAR(A1),MONTH(A1) ,15)-(WEEKDAY(DATE(YEAR(A1),MONTH(A1),15),2)-5),DATE(YEAR(A1),MONTH(A1),15)))
Enter today's date in A1 and the formula will return 13 January 2006 (in
whatever format you use). Next enter the date 15 January 2006 and the
formula will update to 1 February 2006. Continue on entering the 1st or
15th of the month and you will get the next 1st or 15th of the month or the
Friday prior to it if it falls on a weekend.
************************************************** ****
--
HTH
Sandy
with @tiscali.co.uk
quot;T_Sr via OfficeKB.comquot; lt;u17260@uwegt; wrote in message
news:59fb4d73671c1@uwe...
gt; Payday comes on the 1st and 15th, but if one of those days is on a weekend
gt; the payday is the friday before that weekend. I have to have certain days
gt; for each month depending on if payday is on a weekend or not.
gt;
gt; Sandy Mann wrote:
gt;gt;Travis,
gt;gt;
gt;gt;What determins when it is payday? Is it every two weeks? Certain weekdays
gt;gt;after certain dates in the month? Or what?
gt;gt;
gt;gt;gt; I'm trying to create a formula and need help or hints on how to do this.
gt;gt;gt; What I would like to do is: in cell A1 have the word PAYDAY appear on
gt;gt;[quoted text clipped - 4 lines]
gt;gt;gt; a
gt;gt;gt; month). Any help or questions on this is highly appreciated.
gt;
gt; --
gt; Thanks,
gt; T_Sr
gt;
gt; Message posted via OfficeKB.com
gt; www.officekb.com/Uwe/Forums.a...excel/200601/1
- Sep 23 Tue 2008 20:46
Need help on formula!!
close
全站熱搜
留言列表
發表留言
留言列表

