<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Need to calculate months since beginning of the year in Tips, Tricks &amp; Best Practices</title>
    <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Need-to-calculate-months-since-beginning-of-the-year/m-p/1015024#M9644</link>
    <description>&lt;P&gt;Hi there, we have built an app for the marketplace that allows you to automatically calculate the time between 2 dates. Feel free to check it out here:&amp;nbsp;&lt;A href="https://ecosystem.hubspot.com/marketplace/apps/marketing/data-management/calculations-3449553" target="_blank"&gt;https://ecosystem.hubspot.com/marketplace/apps/marketing/data-management/calculations-3449553&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2024 00:38:22 GMT</pubDate>
    <dc:creator>Thrive</dc:creator>
    <dc:date>2024-07-24T00:38:22Z</dc:date>
    <item>
      <title>Need to calculate months since beginning of the year</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Need-to-calculate-months-since-beginning-of-the-year/m-p/772514#M5177</link>
      <description>&lt;P&gt;For our sales reporting, we need to know the number of months that have transpired since the beginning of the year, such that the number increments by 1 at the beginning of the next month. So in Jan, the value = 1 (special case) and stays 1 through Feb 28. Then on March 1 the value goes to 2, and on April 1 the value goes to 3 etc. I know how to calculate the number of days since the beginning of the year but only using the arithmetic functions in HubSpot's calculation feature, I can't figure out how to build a "months" function that works like the above example. Anyone ever done this or have an idea?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 16:46:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Need-to-calculate-months-since-beginning-of-the-year/m-p/772514#M5177</guid>
      <dc:creator>Kevin_Jorgensen</dc:creator>
      <dc:date>2023-03-22T16:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need to calculate months since beginning of the year</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Need-to-calculate-months-since-beginning-of-the-year/m-p/772662#M5178</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/80423"&gt;@Kevin_Jorgensen&lt;/a&gt;,&amp;nbsp;thanks for reaching out! This is an interesting use case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not super fancy, but I'm wondering if you could create a custom number property and a workflow centered on the date 1/1/23. You would then add the following steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Set property "# of Months Elapsed" to "1" on 1/1/23&lt;/LI&gt;
&lt;LI&gt;Set property "# of Months Elapsed" to "2" 59 days after 1/1/23&lt;/LI&gt;
&lt;LI&gt;Set property "# of Months Elapsed" to "3" 91 days after 1/1/23&lt;/LI&gt;
&lt;LI&gt;And so on (definitely double-check my math there haha)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;You could then ensure that all applicable contacts/deals are enrolled. I believe that records will skip to the next applicable workflow step, so a contact created in May should pick up with 5 at the conclusion of the month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you could also consider calculating the days elapsed and then divide that by 30.437 (or whatever average value works best for you) to roughly calculate the number of months elapsed. I don't believe you'd be able to round this to the nearest whole number though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you able to tell us a little bit more info about what you're trying to accomplish with this property? Happy to share additional thoughts with more insight into the use case! Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 21:14:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Need-to-calculate-months-since-beginning-of-the-year/m-p/772662#M5178</guid>
      <dc:creator>jolle</dc:creator>
      <dc:date>2023-03-22T21:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need to calculate months since beginning of the year</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Need-to-calculate-months-since-beginning-of-the-year/m-p/772671#M5179</link>
      <description>Hi. Thanks for the suggestion. The purpose of this number is that it is&lt;BR /&gt;used in the calculation of the reps progress to goal. We want to use the&lt;BR /&gt;number of months elapsed -1 because we have revenue #s coming from our ERP&lt;BR /&gt;and they are the billed revenue which is always a month behind the present&lt;BR /&gt;month due to payment terms. I can make the calculation in XL or google&lt;BR /&gt;sheets easily... so I was thinking of using zapier and connecting that to&lt;BR /&gt;the contact record... but the workflow idea may be simpler even if it's&lt;BR /&gt;less elegant.&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Mar 2023 21:25:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Need-to-calculate-months-since-beginning-of-the-year/m-p/772671#M5179</guid>
      <dc:creator>Kevin_Jorgensen</dc:creator>
      <dc:date>2023-03-22T21:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need to calculate months since beginning of the year</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Need-to-calculate-months-since-beginning-of-the-year/m-p/1015024#M9644</link>
      <description>&lt;P&gt;Hi there, we have built an app for the marketplace that allows you to automatically calculate the time between 2 dates. Feel free to check it out here:&amp;nbsp;&lt;A href="https://ecosystem.hubspot.com/marketplace/apps/marketing/data-management/calculations-3449553" target="_blank"&gt;https://ecosystem.hubspot.com/marketplace/apps/marketing/data-management/calculations-3449553&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 00:38:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Need-to-calculate-months-since-beginning-of-the-year/m-p/1015024#M9644</guid>
      <dc:creator>Thrive</dc:creator>
      <dc:date>2024-07-24T00:38:22Z</dc:date>
    </item>
  </channel>
</rss>

