Skip to main content

#SpammyMcSpamFace0 utenti parlano di questo argomento

Discuti questo argomento in Slack per ottenere risposte più rapidamente e ricevere aiuto in tempo reale.

Hi there!

We are looking to have a "launch date" formula field based on the merge field ( CloseDate ). If the ( CloseDate ) is the 1st-15th of the month then the launch date would be the third Wednesday of that month but if the ( CloseDate ) is the 16th-31st of the month then the launch date would be the second Wednesday of the following month. I am struggling with how I would accomplish that and would appreciate advice! 

 

#Formulas

10 risposte
  1. 15 feb 2024, 17:02

    So basically something like this?

    IF(

    DAY( CloseDate ) <= 15,

    DATE(YEAR(CloseDate),MONTH(CloseDate), 01) +

    CASE(WEEKDAY(DATE(YEAR(CloseDate),MONTH(CloseDate), 01)),

    1, 17,

    2, 16,

    3, 15,

    4, 14,

    5, 20,

    6, 19,

    7, 18,

    0 ),

    ADDMONTHS(DATE(YEAR(CloseDate),MONTH(CloseDate), 01), 1) +

    CASE(WEEKDAY(ADDMONTHS(DATE(YEAR(CloseDate),MONTH(CloseDate), 01), 1)),

    1, 10,

    2, 9,

    3, 8,

    4, 7,

    5, 13,

    6, 12,

    7, 11,

    0 )

    )

Can we use URL field in Row level formula in a report?Field is not appearing .

11 risposte
  1. 29 ago 2022, 20:58

    I don't think the URL Datatype is supported in Row-Level Report Formulas yet.  You might need to create a custom Formula field on the object instead