I wrote a function for my budget, setting limit and i want it to return text either True or false. but it kept on returning "INVALID COLUMN VALUE"



  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    This post which describes invalid value might make sense. 

    Are you trying to sum data only if it is less than or equal to 0.7*D6? If so, you should look at SUMIFS, to designate criterion for summing the range based on the criterion.

    Also, you should be aware that Smartsheet does not refer to columns as letters like in Excel or GoogleSheets. You should use the column names and include brackets if the column title has white space or ends in a numeral. 

  • Chris McKay
    Chris McKay ✭✭✭✭✭✭
    edited 04/16/18

    Hi Abdulhameed,

    I can see a couple of issues here:

    1. As Mike pointed out, you do not reference columns in the same way you would in Excel. Instead of A2 for example, you would use [Column Name]2
    2. You also seem to have a ( before your equal sign. Was that just because you're displaying it on the Community forum, or is that the case in your sheet? There should be nothing before your = sign otherwise Smartsheet will not recognise it as a formula.

    If you're looking for a TRUE or FALSE condition to to decide whether a value should be included in the sum, then try this:

    =SUMIF([Column Name]3:[Column Name]10, <= (0.7*[Other Column Name]6))

    Kind regards,

    Chris McKay