RE: If Function Treating Answer as a Text Box and Not a Numeric Box

Tech-Archive recommends: Speed Up your PC by fixing your registry



Get rid of all those qoutes around the numbers:

=IF(B19>=5,8,IF(B19>=3,6,IF(B19>=2,4,IF(B19>=1,2,IF(B19=0,-10)))))

=IF(B13="Yes",1,-4)

--
Biff
Microsoft Excel MVP


"Brettley" wrote:

I'm creating a scoring matrix which auto assigns values based on another
cell's answer. At the end, i would like to sum all the values. However,
this function is not working as the data is being calculated as a text. How
would I change the following to get it to kick out values as text?

=IF(B19>=5,"8",IF(B19>=3,"6",IF(B19>=2,"4",IF(B19>=1,"2",IF(B19=0,"(-10)")))))

=IF(B13="Yes","1","(-4)")

Thank you very much in advance.
.



Relevant Pages

  • Re: If Function Treating Answer as a Text Box and Not a Numeric Box
    ... Microsoft Excel MVP ... "Brettley" wrote: ... i would like to sum all the values. ...
    (microsoft.public.excel.misc)
  • Re: How can I vary the row number or column alphabet depending on
    ... Microsoft Excel MVP ... Valko" wrote: ... To sum B1:D1 ... Note that if cell C1 is empty the *entire* range will be calculated. ...
    (microsoft.public.excel.misc)
  • Re: Sumif
    ... Ok, syntactically, there's nothing wrong with that test formula. ... Microsoft Excel MVP ... Sum If Sheet2!B3:B18000 = Sheet1!A3 ... the criteria was found. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Sumif
    ... Microsoft Excel MVP ... Sum If Sheet2!B3:B18000 = Sheet1!A3 ... the criteria was found. ... use a standard Sumif, with the column to search being Sheet2! ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Time and Sum if
    ... To sum for a specific single date: ... Microsoft Excel MVP ... sumif a criteria is met. ... So for arguments sake, if the date/time is in Column A, and the item I ...
    (microsoft.public.excel.misc)