EliseFreedman
Programmer
I would now like to be able to use VBA to automate some calculations and formatting on my spreadsheet
I would like to be able to work through every row on the spreadsheet and calculate the number of days elapsed based on dates in two columns. I would then like to read the values in the days elapsed column and place different values in another column depending on the value in the days elapsed column. The TLS column should have different values depending on the number of days elapsed for example if <30 days have elapsed, then TLS should be 2, if exactly 30 days have elapsed TLS should be 3 and if > than 30 days have elapsed TLS should be 4
My spreadsheet is as follows
Date Received Todays Date Days Elapsed TLS
01/03/2006 27/04/2006 57
01/04/2006 27/04/2006 26
28/03/2006 27/04/2006 30
Any ideas on how i should do this would be appreciated
I would like to be able to work through every row on the spreadsheet and calculate the number of days elapsed based on dates in two columns. I would then like to read the values in the days elapsed column and place different values in another column depending on the value in the days elapsed column. The TLS column should have different values depending on the number of days elapsed for example if <30 days have elapsed, then TLS should be 2, if exactly 30 days have elapsed TLS should be 3 and if > than 30 days have elapsed TLS should be 4
My spreadsheet is as follows
Date Received Todays Date Days Elapsed TLS
01/03/2006 27/04/2006 57
01/04/2006 27/04/2006 26
28/03/2006 27/04/2006 30
Any ideas on how i should do this would be appreciated