| 1. |
Solve : Excel: Calculating days between clinic visits per patient? |
|
Answer» Hello, Have you tried:This would work if a column only had one patient in it. But, that's not the case here, so it won't work. In other words, with reference to the sample data in the original post, calculating the difference between lines 3 and 4 would be a number days between two appointment dates but for two different patients. Clearly, that's not the DESIRED result. So, the solution will be something more complicated than what you've suggested, oldun. I can't take time now to try to come up with a solution; not sure I could anyway. But, I think this may be a case where an Access database would be more suitable for this type of data analysis. In which case: Code: [Select]=IF(B2=B1,A2-A1,0) |
|