Thread: Excel Formula
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre Ron Coderre is offline
external usenet poster
 
Posts: 2,118
Default Excel Formula

It depends on when you want the transformation to occur...

Example:
If A1:D1 contains 1.5 1.5 1.5 1.5

This formula =INT(SUM(A1:D1)) returns 6

but
This formula =SUMPRODUCT(INT(A1:D1)) returns 4

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"grobertson" wrote:

Row A contains numbers either 1, 1.5, 2 or 3
At the end of the row is a formula to add up the numbers but I would like a
formula that adds them up but if there is 1.5 in the cell I want the formula
to think of it as 1 for example.

instead of 1, 1, 1, 1.5 = 4.5
I would like it to total 4

Is this possible