Git Product home page Git Product logo

zlookup's People

Contributors

eternitysustained avatar nyanlynntherazi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

zlookup's Issues

function not working

Hello ZLOOKUP friends,

I tried to implement the function but it does not work at all, the column where the returned values should appear remains empty. I checked the data already. It shouldn't be the case. I also tried to change the threshold and it does not change anything.
I have ZLOOKUP, lev and my function in the same file.
Please find a code snippet below. Is there something wrong in the implementation?

  var lastMain = sheet.getLastRow();
  var lastPlays = sheetPlays.getLastRow();
  // create an array for the data to be looked up (C2 to last row of J column in plays) 
  var dataLookUpPlays = sheetPlays.getRange(2,3,lastPlays,8).getValues();
  // create an array for the data to be searched for
  var valuesToSearchPlays = sheet.getRange(2,3,lastMain,1).getValues();
  // create an array for the data to be created (plays)
  var playsData = sheet.getRange(2,8,lastMain,1).getValues();

  // update cells in plays column with data from spreadsheet with plays
    for (i=0;i<lastMain;++i){
      playsData[i] = ZLOOKUP(valuesToSearchPlays,dataLookUpPlays,7,60);
      sheet.getRange(i+2,8).setValue(playsData[i]);
    }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.