Discussion Re: Why am I getting #VALUE! error? in Excel
https://techcommunity.microsoft.com/t5/excel/why-am-i-getting-value-error/m-p/1389887#M62399
<P><LI-USER uid="668110"></LI-USER> I think you have a couple of problems. The basic problem is that you are trying to use multiplication inside the SUM function. The easiest solution in your case is to manually do the *2 and *3 as follows:</P><P>=SUM('2020 Schedule'!FV2:FV3,'2020 Schedule'!FV7:FV10<SPAN>,'2020 Schedule'!FV7:FV10</SPAN>,'2020 Schedule'!FV19:FV20,<SPAN>'2020 Schedule'!FV19:FV20,'2020 Schedule'!FV19:FV20</SPAN>,'2020 Schedule'!FV25:FV32)</P><P> </P><P>if you wanted higher level products or the such you could use SUMPRODUCT to do the array calculation, but the next problem is that your arrays are of different size and that won't work.</P><P>So lastly you could use a helper column and do the product/selection and then just get the sum from that column. </P><P> </P><P>EDIT: just realized, I bet it used to work and doesn't now? You can use CTRL+SHIFT+ENTER to enter it as an array formula and then it will work</P>Thu, 14 May 2020 16:57:53 GMTmtarler2020-05-14T16:57:53ZWhy am I getting #VALUE! error?
https://techcommunity.microsoft.com/t5/excel/why-am-i-getting-value-error/m-p/1389719#M62389
<P>=SUM('2020 Schedule'!FV2:FV3,'2020 Schedule'!FV7:FV10*2,'2020 Schedule'!FV19:FV20*3,'2020 Schedule'!FV25:FV32)</P><P> </P><P>This is my formula for an individual part needed to build specific finished machines - so for models in FV7 through FV10 I need two of each part for the build, FV19 and FV20 I need three of each part... I don't understand why I keep getting the #VALUE! error - it works fine and gives me the correct total in the 'sum formula wizard' but when I hit enter, I get the error in the cell. Thoughts?</P>Thu, 14 May 2020 15:53:51 GMThttps://techcommunity.microsoft.com/t5/excel/why-am-i-getting-value-error/m-p/1389719#M62389OliviaMullen2020-05-14T15:53:51ZRe: Why am I getting #VALUE! error?
https://techcommunity.microsoft.com/t5/excel/why-am-i-getting-value-error/m-p/1389841#M62392
Sorry if this is obvious or if you've already tried this. I ran into a similar problem and it turned out I had a random space in my formula, might be a place to start.Thu, 14 May 2020 16:39:11 GMThttps://techcommunity.microsoft.com/t5/excel/why-am-i-getting-value-error/m-p/1389841#M62392Michael_C_06112020-05-14T16:39:11ZRe: Why am I getting #VALUE! error?
https://techcommunity.microsoft.com/t5/excel/why-am-i-getting-value-error/m-p/1389887#M62399
<P><LI-USER uid="668110"></LI-USER> I think you have a couple of problems. The basic problem is that you are trying to use multiplication inside the SUM function. The easiest solution in your case is to manually do the *2 and *3 as follows:</P><P>=SUM('2020 Schedule'!FV2:FV3,'2020 Schedule'!FV7:FV10<SPAN>,'2020 Schedule'!FV7:FV10</SPAN>,'2020 Schedule'!FV19:FV20,<SPAN>'2020 Schedule'!FV19:FV20,'2020 Schedule'!FV19:FV20</SPAN>,'2020 Schedule'!FV25:FV32)</P><P> </P><P>if you wanted higher level products or the such you could use SUMPRODUCT to do the array calculation, but the next problem is that your arrays are of different size and that won't work.</P><P>So lastly you could use a helper column and do the product/selection and then just get the sum from that column. </P><P> </P><P>EDIT: just realized, I bet it used to work and doesn't now? You can use CTRL+SHIFT+ENTER to enter it as an array formula and then it will work</P>Thu, 14 May 2020 16:57:53 GMThttps://techcommunity.microsoft.com/t5/excel/why-am-i-getting-value-error/m-p/1389887#M62399mtarler2020-05-14T16:57:53ZRe: Why am I getting #VALUE! error?
https://techcommunity.microsoft.com/t5/excel/why-am-i-getting-value-error/m-p/1390484#M62432
<P><LI-USER uid="668110"></LI-USER>I figured it out - I don't know if it's the most eloquent, but it works:</P><P> </P><P>=SUM('2020 Schedule'!FV2:FV3,(SUM('2020 Schedule'!FV7:FV10)*2),(SUM('2020 Schedule'!FV19:FV20)*3),'2020 Schedule'!FV25:FV32)</P><P> </P><P>Formulas within the formula I guess?</P>Thu, 14 May 2020 20:29:01 GMThttps://techcommunity.microsoft.com/t5/excel/why-am-i-getting-value-error/m-p/1390484#M62432OliviaMullen2020-05-14T20:29:01Z