Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have two columns ("A", "B"). Col "A", in the first row will contain "cyc".
then the remaining rows I want to increment, based on col "B". Col "B" will contain "Sun", "Mon", etc., for all days of the week. When the valaue in col "B" is not "Sat" and not "Sun", I want to increment the value from the preceding [weekday] row by one. Like this: Col A Col B Col C ----- ----- -------- cyc dow date --- --- -------- Sun 01/01/06 1 Mon 01/02/06 2 Tue 01/03/06 3 Wed 01/04/06 4 Thu 01/05/06 5 Fri 01/06/06 Sat 01/07/06 Sun 01/08/06 6 Mon 01/09/06 7 Tue 01/10/06 . . . . . . (Note that col "B" is dependant on col "C", which contains dates, so col "B" won't always start with "Sun". The value in col "C" will always start with the first day of the month, which can be any day of the week, and increment upward, to the end of the month.) In col "A" I've tried: if(a6="cyc",1,if((text(weekday(b11),"ddd")<"Sat") ,if((text(weekday(b11),"ddd")<"Sun"),=(A7)+1,),)) but it isn't giving me a number. (And then I still have the problem of the skipped weekend days.) Is there a limit to how much I can nest the "if"s? Any thoughts/ideas? Thanks in advance, Tom |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Auto increment over multiple worksheets | Excel Worksheet Functions | |||
Relative reference autofill increment other than +1 | Excel Discussion (Misc queries) | |||
How do I automatically increment worksheet number when pasting a . | Excel Worksheet Functions | |||
Increment a counter in Excel | Excel Worksheet Functions | |||
How do I increment a fill series by a number other than 1? Say I. | Excel Worksheet Functions |