Jump to content
Developer Wiki and Function Reference Links ×

VLookup, XLookup in Vectorscript, Python?


matteoluigi

Recommended Posts

Yes, it’s option 2 which I want to achieve.

i want to scan space objects for their type to assign them longer text parts which I “store” in another worksheet.

one project I have is for example a list of all rooms with one worksheet for every room which of course grows with the building.

I already have an idea. Setting a string like

vs.SetWSCellFormulaN(worksheet, 2, 3, 2, 3,’=xlookup(A3,…)’ in a worksheet sounds promising (and a little bit naive, too ;-))

i will have a try asap.

Link to comment

It works 😄

why shouldn't it work, wrapping worksheet-code in a string which is written via python into a worksheet, why shouldn't it work.

vs.SetWSCellFormulaN(worksheet,3,3,3,3,"=XLOOKUP(B3; '___'; 'Zimmeranzahl':A1..A11; 'Zimmeranzahl':B1..B11)")

-> (XTABELLENSUCHE is the german translation for XLookup. I will never understand entirely why programming functions are translated into german 😉

 

Bildschirmfoto 2022-02-22 um 10.18.13.png

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...