Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom function not working properly in Excel online #4613

Closed
nadeemAshfaq opened this issue Jun 27, 2024 · 12 comments
Closed

Custom function not working properly in Excel online #4613

nadeemAshfaq opened this issue Jun 27, 2024 · 12 comments
Assignees
Labels
Area: custom functions Issue related to the Excel custom functions feature Needs: attention 👋 Waiting on Microsoft to provide feedback Type: discussion

Comments

@nadeemAshfaq
Copy link

I have an Excel custom function that gets the whole column as a parameter that is working fine on the desktop but in Excel online it's not getting the whole column as a parameter I went through the office documentation but did not find any solution can anybody help me with this?

you can get all the details from here OfficeDev/Office-Addin-Scripts#866

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Jun 27, 2024
@shanshanzheng-dev
Copy link
Contributor

Hi @nadeemAshfaq Thanks for reporting this issue, could you share us your code about this custom function? We're trying to repro your issue.

@shanshanzheng-dev shanshanzheng-dev added the Area: custom functions Issue related to the Excel custom functions feature label Jun 27, 2024
@nadeemAshfaq
Copy link
Author

Hi @shanshanzheng-dev this is how my JSDoc written
image
and when I run npm build this is how my JSON file looks like
image
It works fine on the desktop and gets (A:A) as a parameter but when I try the same thing in Excel online it returns "#CALC!"

@shanshanzheng-dev
Copy link
Contributor

Hi @nadeemAshfaq could you please share your custom function?

@nadeemAshfaq
Copy link
Author

Do you want me to share the whole code with you?

@shanshanzheng-dev
Copy link
Contributor

shanshanzheng-dev commented Jun 27, 2024

Yes, if possible. Because we try to repro your issue and that helps us investigate root cause. Meanwhile, could you share your repro steps? Thanks.

@nadeemAshfaq
Copy link
Author

Yes, if possible. Because we try to repro your issue and that helps us investigate root cause. Meanwhile, could you share your repro steps? Thanks.

Sorry I cannot share my full code here I think I already provided the necessary information

@shanshanzheng-dev
Copy link
Contributor

OK, Thanks. We'll be looking into this issue. We'll report back if we have an suggestion for you.

@isabela-dominguez isabela-dominguez added Needs: attention 👋 Waiting on Microsoft to provide feedback Type: discussion and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Jun 28, 2024
@nadeemAshfaq
Copy link
Author

any update?

@XuanZhouMSFT XuanZhouMSFT self-assigned this Jul 3, 2024
@XuanZhouMSFT
Copy link

@nadeemAshfaq Thanks for the waiting and reporting this issue. It has been put on our backlog #9120326. We will update once we have some progress.

@XuanZhouMSFT
Copy link

@nadeemAshfaq Currently, the custom function has a limitation in online that the max cells number for input parameter should be less or equal to 10000. So we'd like to suggest you split your inputs when you use it.

@XuanZhouMSFT XuanZhouMSFT added Needs: author feedback Waiting for author (creator) of Issue to provide more info and removed Needs: attention 👋 Waiting on Microsoft to provide feedback labels Jul 8, 2024
@nadeemAshfaq
Copy link
Author

@nadeemAshfaq Currently, the custom function has a limitation online that the max cell number for the input parameter should be less or equal to 10000. So we suggest you split your inputs when you use it.

Okay, thanks for this information. Is there any chance in the future that it takes (A: A)?

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: attention 👋 Waiting on Microsoft to provide feedback and removed Needs: author feedback Waiting for author (creator) of Issue to provide more info labels Jul 10, 2024
@XuanZhouMSFT
Copy link

Thanks for the good questions. The item to expand the limitation is in our backlog but no plan to fix it in the short term. We recommend you to upvote or submit a new Tech Community New Ideas item, this will give us visibility of the commonality of it and will help with our prioritization. If we end up working on this issue, we will re-activate as needed. 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: custom functions Issue related to the Excel custom functions feature Needs: attention 👋 Waiting on Microsoft to provide feedback Type: discussion
Projects
None yet
Development

No branches or pull requests

4 participants