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

Use formula as table header #54

Closed
samuel-rosa opened this issue Apr 8, 2020 · 3 comments
Closed

Use formula as table header #54

samuel-rosa opened this issue Apr 8, 2020 · 3 comments
Labels
Stale waiting for answer If not answered, the issue will be closed in 7 days.

Comments

@samuel-rosa
Copy link

I would like to use formulas in all cells of the first row of a sheet. This is because I need the column header to be linked to another sheet. As the second sheet changes, so do column headers in the first sheet.

Perhaps this feature is already implemented. However, I have not been able to find it in the package.

@nathanckuhn
Copy link

You can use openxlsx::writeFormula() to add formulas to any cell of a sheet, including the first row.
See the documentation for how to use it.
I have done what you suggest to create dynamic headers on one sheet that can be changed from a different sheet.
Does that help?

@JanMarvin JanMarvin added the waiting for answer If not answered, the issue will be closed in 7 days. label Aug 7, 2021
@github-actions
Copy link

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Aug 13, 2022
@github-actions
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale waiting for answer If not answered, the issue will be closed in 7 days.
Projects
None yet
Development

No branches or pull requests

3 participants