Hello all.
See attached file please. (Sorry, just realized it works only with .xlsx format -XL 2008, tried to save it as .xls and the file came out all corrupted)
A1:MZ4 is an attendance record. Whatever I write on a cell on A4:MZ4 the cell changes color and I can see attendance at a glance.
NE2:ND57 is used for payments due. Choice of 2 weekly payment amounts: $230 (NB6) or $180 (NB5).
Thanks to help from NBVC, zbor and daddylonglegs I used a formula to check attendance during a week and defining what is the payment due for that week.
I defined 2 ranges for convenience, to “jump” from January (“Jan”, beginning of working area) to the payment area (“Summary”, end of working area)
Problem 1:
The formula at NE4 “=IF(COUNTIF(D4:H4,"End"),"End",IF(COUNTIF(D4:H4,"Deposit"),"",IF(COUNTA(D4:H4),IF($NE$2=2,$NB$5,IF($NE$2=3,$NB$6,"")))))”
Works just fine as long as there is attendance on at least 1 day. If there is not attendance for a week it “gives” the “False” value. I would like to have an empty cell instead. I have tried for hours, reading on the Internet and so, I guess it’s a matter of syntax, but due to my level of knowledge (or level of “un-knowledge”)… I didn’t succeed to solve it.
Problem 2:
After the formula at NE4 will work I need to copy it to NE5:NE56 AND some additional columns.
Of course if I just copy and paste/paste special the “increments” will increase in 1’s and I need to “increase” the next formula by 7 (1 week) (the formula at NE5 contains the range D4:H4, if I copy & paste I will get at NE6 a D5:H5 range, instead of K4:O4 and so on).
I am sure there is an easier way than manually change each and every formula (I am not young enough to start and finish a task like that)…
I hope I explained my self, if not, please ask me.
Thanks in advance for any help.
Saul
Bookmarks