• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Formula to convert into total number of weeks and days

breddi_76

New Member
Hi,

I have below table and i want a formula to calculate and convert into total number of weeks and days. in the below table if patient number is the same then use screening date as a start date and i want to calculate total number of days and weeks for each visit of that patient. i have provided sample number of weeks and days in column D. Can anyone help me with the formula i can use to quickly review the data. I really appreciate your help.

301014 Screening 23-May-14
301014 Unscheduled Visit 15-Jul-14 7weeks4days
301014 Cycle 2 Day 1 31-Jul-14 9weeks6days
301014 Cycle 4 Day 1 19-Sep-14 17weeks0days
301014 Cycle 6 Day 1 13-Nov-14 24weeks6days
301014 Cycle 7 Day 15 8-Jan-15 32weeks6days
301030 Screening 5-Aug-14
301030 Cycle 2 Day 15 23-Sep-14
301030 Cycle 3 Day 15 6-Nov-14
301030 Cycle 5 Day 1 30-Dec-14
301043 Screening 1-Aug-14
301043 Cycle 3 Day 1 27-Oct-14
301043 Cycle 5 Day 15 15-Jan-15
 
Hi ,

See if this is OK.

Narayan
Dear NArayan,

thanks os much for providing the formula. My apologies for the late response.

however, when i type the same formula in the spread sheet it is throwing an errors. I will look into that again.

Thanks a million for your response.
 
Dear NArayan,

thanks os much for providing the formula. My apologies for the late response.

however, when i type the same formula in the spread sheet it is throwing an errors. I will look into that again.

Thanks a million for your response.

Hi,

My guess:
Have you pressed just Enter or Ctrl+Shift+Enter ?
Formula given by Sir Narayan in Column E is an Array formula, whenever you edit or type you need to press Ctrl+Shift+Enter (not just enter)

Regards,
 
Back
Top