#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default IF formula

I am using an IF formula in a column (AM2 - AM133). Here is a sample
=IF(O58=1,"$1000.00",IF(O58=2,"$500.00",IF(O58=3," $250.00","$0.00")))

It works fine, but when I went to do a basic SUM on the column...it is not
letting. How do I get sum for column AM?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default IF formula

You are returning text values instead of numbers by wrapping them in
quotes - leave the quotes off, like this:

=IF(O58=1,1000,IF(O58=2,500,IF(O58=3,250,0)))

Format the cell as Currency with 2 dp to get the appearance you want,
and then copy down.

Hope this helps.

Pete

On Nov 9, 11:20 pm, Tee@EEOC
wrote:
I am using an IF formula in a column (AM2 - AM133). Here is a sample
=IF(O58=1,"$1000.00",IF(O58=2,"$500.00",IF(O58=3," $250.00","$0.00")))

It works fine, but when I went to do a basic SUM on the column...it is not
letting. How do I get sum for column AM?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"