Find Jobs
Hire Freelancers

Resolve issues with functions and programming in Google Sheets

$10 USD

Cancelled
Posted over 5 years ago

$10 USD

Paid on delivery
I need someone that can help my programmer resolve any issues he is having with a Google app and spreadsheet. I will pay $10 after Chuck tells me that he has gotten all that he needs from you. INITIAL PROBLEM: We have a google script running in conjunction with a google sheet, and we are having trouble with this function: function inCol( comparestr, searchcol, IDofSpreadsheet, NameOfTheSheet ){ var sheet =[login to view URL](IDofSpreadsheet).getSheetByName(NameOfTheSheet); var data = [login to view URL]().getValues(); [login to view URL]('incol( ' + comparestr + ')'); for(var i = 2; i < [login to view URL]; i++){ if(data[i][searchcol] == comparestr){ //[1] because column B return i; } } return -1; // no match found } It's always returning -1 because the comparestr is getting interpreted as a number instead of a string. How can I force a string comparison with this argument?
Project ID: 18390212

About the project

1 proposal
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $15 USD for this job
User Avatar
Hey there. I can fix your problem, can you send me all script, including the part where your developer call the "inCol" function?
$15 USD in 10 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Waco, United States
4.2
89
Payment method verified
Member since Feb 13, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.