+ Reply to Thread
Results 1 to 7 of 7

Excel to CSV - Google Calendar

  1. #1
    Registered User
    Join Date
    08-27-2013
    Location
    UK - East Coast
    MS-Off Ver
    Excel 2010
    Posts
    26

    Question Excel to CSV - Google Calendar

    Afternoon all.

    Looking for a little guidance if possible. I currently setup and maintain our team's roster on a yearly basis and for next year it has been requested that I look into adding the ability to import to people's Google calendar.

    Now I've had a look at this and the basic principle seems simple enough, export to CSV and import to your calender. The formatting also looks simple enough.

    However based upon how I have my spreadsheet setup ATM ( see attachment ) I'm not quite sure how to go about this.

    Each person would need to be able to export their data (or I do it) and for them to import it into their calenders.

    The guide Google provides is great:
    support.google.com/calendar/answer/37118?hl=en

    However a little guidance to get me started would be fantastic thank you.
    Attached Images Attached Images
    Always needs more sleep.. zzZZ

  2. #2
    Forum Contributor Gregor y's Avatar
    Join Date
    10-24-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2010 32-Bit
    Posts
    276

    Re: Excel to CSV - Google Calendar

    Looks like two steps are probably needed: first swizzle the data to the same table layout that google is looking for, and second export the data to a CSV file that google can read. Unless you/your users want to a lot of hand waving each time or your calendar is in a fairly strict layout, you probably want to do both steps with VBA.
    If it'd make you feel better using my answer because of my street cred, then you can go ahead and click Add Reputation below to improve it.

  3. #3
    Registered User
    Join Date
    08-27-2013
    Location
    UK - East Coast
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Excel to CSV - Google Calendar

    Thank you for the reply Gregor.

    I've started the process of "swizling data" as you call it via some formulas, as I'm not quite up on VBA, least not until I dig my book out.

    For some reason I cannot get the autofill to work properly. On my CSV test page I am calling for data that is horizontally displayed on the roster, but for the CSV file I need the data presented vertically. See attached picture, when I drag down to autofill it originally moved up in cell letters and number; however I wanted it locked to row 5 so added a "$" to the formula infront of the number to freeze it. Great I thought, however now when I drag the autofill down in simply copies the formula as is, not increasing the cell range at all; as if I copy and pasted the formula. I'm confused..
    Attached Images Attached Images

  4. #4
    Forum Contributor Gregor y's Avatar
    Join Date
    10-24-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2010 32-Bit
    Posts
    276

    Re: Excel to CSV - Google Calendar

    yeah, that's the tough part because you kinda want quash and transpose the data to get it into the tabular form that google is looking for.

    it would be easier for me to picture what's going on here if you could post an xlsx file with two tabs, the first tab an example of the calendar data as you have it and the second tab with the columns google is looking for and a couple of the rows filled in using the first tab.

  5. #5
    Registered User
    Join Date
    08-27-2013
    Location
    UK - East Coast
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Excel to CSV - Google Calendar

    Thanks for the reply Gregor.

    Went through the whole transpose option last night, which really is not a great solution.

    Thankfully I have almost completed the transfer over using formulas, with the help of others I found a solution to the hoz to vert issue.

    https://www.excelforum.com/excel-for...ml#post4937311

  6. #6
    Forum Contributor Gregor y's Avatar
    Join Date
    10-24-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2010 32-Bit
    Posts
    276

    Re: Excel to CSV - Google Calendar

    no problem; also I'd try saving a small hand keyed sample to CSV to make sure that Excel's vanilla "save as CSV" feature is a the flavor of CSV file google is happy with.

  7. #7
    Registered User
    Join Date
    08-27-2013
    Location
    UK - East Coast
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Excel to CSV - Google Calendar

    I've performed several small test .CSV files and imported them to Google calendar. Its best to create a new calender before you import the roster so as to have full control over the format and ability to hide/delete the roster. After a tweaks it's as good as I can get it..

    The main issue was that because I need to have 365 days on the form, due to shift changes any blank records IE ones that just had a single date and no data; (the date field is the only static, non formula field) the calender would show these as "my event or no title" throughout the year.

    The solution was to save as "CSV comma delimited" close the original and then open up the saved CSV, then manually remove all the blank records. A little bit of a pain, but easy enough.

    The only thing that bugs me is day shifts don't show as a full block of colour like nights, but there is sod all I can do about that.
    Attached Images Attached Images
    Last edited by JAy3k1; 07-21-2018 at 03:01 AM. Reason: Added screenshot

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Create event in google calendar by one click
    By stanshow in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-28-2017, 04:36 PM
  2. [SOLVED] Linking Cells to Google/Outlook Calendar
    By Jsimpson19 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-12-2016, 11:23 PM
  3. VBA vs Google Calendar
    By Pitero26 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-27-2015, 05:28 AM
  4. How to convert Text to spreadsheet to Google Calendar
    By wasp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-17-2014, 01:32 AM
  5. Schedule a Google Calendar via a date cell in an Excel Workbook
    By jastheguitarist in forum Excel General
    Replies: 2
    Last Post: 07-07-2014, 07:46 AM
  6. Export Shifts from Excel to outlook or Google Calendar
    By jeffstu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2013, 03:02 AM
  7. Parse Google calendar for addresses in appointments
    By sellenwood in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2011, 03:50 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1