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

Formula #163

Open
Eugene748 opened this issue Feb 4, 2025 · 4 comments
Open

Formula #163

Eugene748 opened this issue Feb 4, 2025 · 4 comments

Comments

@Eugene748
Copy link

Help me add this formula:
=IF(SUM(C2:C12) <> SUBTOTAL(109, C2:C12), SUBTOTAL(109, C2:C12), SUM(C2:C12))

@shuchkin
Copy link
Owner

shuchkin commented Feb 4, 2025

@Eugene748
Copy link
Author

Yes, I saw an example, wrote a code based on it, but Excel gives an error
IF(SUM(C2:C12) <> SUBTOTAL(109, C2:C12), SUBTOTAL(109, C2:C12), SUM(C2:C12))

@Eugene748
Copy link
Author

<f v="0">IF(SUM(C2:C12) <> SUBTOTAL(109, C2:C12), SUBTOTAL(109, C2:C12), SUM(C2:C12))</f>

@Eugene748
Copy link
Author

the issue is resolved by screening <>
htmlspecialchars('IF(SUM(C2:C12) <> SUBTOTAL(109, C2:C12), SUBTOTAL(109, C2:C12), SUM(C2:C12))')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants