View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
PCLIVE PCLIVE is offline
external usenet poster
 
Posts: 1,311
Default Adding values generated by "IF" Statement

By using quotes you are forcing the results to be text. You want them to be
numbers.

=IF(D50,150.00,0)

For the cell that contains 150, just format the cell as currency and select
the appropriate Symbol from the dropdown.

HTH,
Paul


--

"Terregles99" wrote in message
...
I have a spreadhseet that contains an "IF" statement as follows:

=IF(D50,"£150.00","0"). This statement works fine. I want to add up the
total at the bottom of the column containing the formula, but the =SUM
function doesn't appear to recognise the £150.00 as a value - I cannot get
it
to "see" the amount.

I know this probably has a very simple solution but I've been working
12-14
hour days for 3 weeks without a break and cannot work out the solution
myself. Any help would be more appreciated than a bottle of gin tonight.

Thanks