Skip to main content
Answer

Correct minute-to-hour conversion not reflecting in Google Sheets.

  • October 10, 2023
  • 6 replies
  • 86 views

Hi guys,

I want to convert tracked minutes to hours. Very simple, in theory...

 

To do this, I have created a "Formatter by Zapier" step. 
Event = Numbers
Transform = Perform Math Operation
Operation = Divide

As input I defined an existing output that tracks the total number of minutes (in this example: "350") and as second input "60".

 

When I test the trigger, the output is 5.833333333333333 (the correct value).

 

The goal is to send this data/value to a google spreadsheet. But when I do a final test with “Send Spreadsheet Row to Google Sheets”, then I get the value "5.833.333.333.330". And I just don't know why. Does anyone have any advice for me? Thank you!

Best answer by Troy Tessalone

Hi @Sonicboom 

Good question.

The issue is likely due to how the GSheet column is formatted.

This can happen for international number formats.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

6 replies

  • Author
  • New
  • October 10, 2023

Some pictures


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • October 10, 2023

Hi @Sonicboom 

Good question.

The issue is likely due to how the GSheet column is formatted.

This can happen for international number formats.


  • Author
  • New
  • October 10, 2023

@Troy Tessalone Thank you, Troy! 

I was looking for the error in Zapier all the time, not in Google Sheets. After some formatting in Google Sheets, the correct values are now displayed. Thanks for the hint! You’re amazing! 🤘


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • October 10, 2023

@Sonicboom 

Another option is to use Airtable instead of GSheets.

Airtable has standardized field types: https://support.airtable.com/docs/supported-field-types-in-airtable-overview


  • Author
  • New
  • October 10, 2023

@Sonicboom

Another option is to use Airtable instead of GSheets.

Airtable has standardized field types: https://support.airtable.com/docs/supported-field-types-in-airtable-overview

Thanks Troy! I want to visualize the data in Looker Studio. That's why I prefer to use GSheets, because it's much more convenient to connect the data with Looker Studio. Cheers


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • October 11, 2023

That’s great news @Sonicboom! Big thanks to Troy for pointing you in the right direction!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗