Forum Discussion
SVS1989
Jun 28, 2024Copper Contributor
Excel: SUM and SUMIF
Hi all, I am preparing an excel file and I have an issue with the SUM formula. In the file, I added a checkbox that will give 0 if FALSE (not ticked) or 125 is TRUE (ticked). For this I used ...
- Jun 28, 2024
SVS1989 As mentioned, you need to get rid of the #VALUE! errors. Then your formula works, although it can be simplified as shown in the pictures I uploaded. See attached.
Martin_Angosto
Jun 28, 2024Iron Contributor
Hi,
Try this instead:
=IF(K21=TRUE,SUM(J26:J35)+125,SUM(J26:J35))
You can change the 125 with your reference to M21 if you wish.
- SVS1989Jun 28, 2024Copper ContributorThank you very much, Martin.
However, it does not seem to work 😞- Martin_AngostoJun 28, 2024Iron Contributor
Does it give you an error? Which one?
Can you try to share a sample file without sensitive data or specify why it does not work?
- SVS1989Jun 28, 2024Copper ContributorThis is the link to the file: https://1drv.ms/x/s!Ao3vdZZCM5g3igVKHaTEg0HYdE2x?e=3FgJKv