I can calculate each of the following in 2 seperate fields but I would like to be able to do the math for both in 1 field.
1. The days between lead creation and close date
2. The days to convert the lead to an opportunity
Is there a way to merge the 2 formulas below into 1 field s this would cover the evaluation period of the lead ?
DAYS TO CONVERT A LEAD
IF(
(ConvertedDate + 0) <> DATEVALUE(CreatedDate),
(ConvertedDate - DATEVALUE(CreatedDate) +0),
0
)
DAYS TO CLOSE A LEAD
IF(
( Date_Lead_Closed__c + 0) <> DATEVALUE(CreatedDate),
( Date_Lead_Closed__c - DATEVALUE(CreatedDate) +0),
0
)
ANY assistance would be VERY much appreciated!
17 réponses
Try
BLANKVALUE( Date_Lead_Closed__c ,
BLANKVALUE( ConvertedDate ,
TODAY()))
- DATEVALUE(CreatedDate)