Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LAM LAM is offline
external usenet poster
 
Posts: 8
Default Autosum and formulas that result in text

I am using the Autosum command to sum a range of cells. The cells with
conditional formating similar to the formula below are not included in the
autosum. Can you tell me why?

=IF(C17=12,"2.0",(IF(C17=9,"1.5",IF(C175,"1",IF (C170,"0.5","0")))))

Thanks,
LAM
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Autosum and formulas that result in text

Your values are text--not numbers.

=IF(C17=12,2,(IF(C17=9,1.5,IF(C175,1,IF(C170,0 .5,0)))))



LAM wrote:

I am using the Autosum command to sum a range of cells. The cells with
conditional formating similar to the formula below are not included in the
autosum. Can you tell me why?

=IF(C17=12,"2.0",(IF(C17=9,"1.5",IF(C175,"1",IF (C170,"0.5","0")))))

Thanks,
LAM


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Autosum and formulas that result in text

Hi,

1. You can't use that formula in Conditional Formatting for any useful
purpose.

2. Why store the numbers a text and then try to sum them?

3. If you must then change the autosum formua to something like this array:

=SUM(--A1:A20)

or this non-array

=SUMPRODUCT(--A1:A20)

Array - this means you need to press Shift+Ctrl+Enter to enter the formula.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"LAM" wrote:

I am using the Autosum command to sum a range of cells. The cells with
conditional formating similar to the formula below are not included in the
autosum. Can you tell me why?

=IF(C17=12,"2.0",(IF(C17=9,"1.5",IF(C175,"1",IF (C170,"0.5","0")))))

Thanks,
LAM

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LAM LAM is offline
external usenet poster
 
Posts: 8
Default Autosum and formulas that result in text

Hi

Thanks for replying.

I am trying to assign office hours for instructors based on how long a class
is. Classes from 1-5 hours have 0.5 hours of office hours, classes 5 hours
have 1 office hour, etc. Then I want to sum the office hours in another
column.

I realized that I was generating text, but I wasn't sure if there was a way
to generate a value in a conditional formula. I guess not.

I am not familar with arrays, I will look into to them this morning.

thanks again.

"Shane Devenshire" wrote:

Hi,

1. You can't use that formula in Conditional Formatting for any useful
purpose.

2. Why store the numbers a text and then try to sum them?

3. If you must then change the autosum formua to something like this array:

=SUM(--A1:A20)

or this non-array

=SUMPRODUCT(--A1:A20)

Array - this means you need to press Shift+Ctrl+Enter to enter the formula.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"LAM" wrote:

I am using the Autosum command to sum a range of cells. The cells with
conditional formating similar to the formula below are not included in the
autosum. Can you tell me why?

=IF(C17=12,"2.0",(IF(C17=9,"1.5",IF(C175,"1",IF (C170,"0.5","0")))))

Thanks,
LAM

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LAM LAM is offline
external usenet poster
 
Posts: 8
Default Autosum and formulas that result in text

THAT'S IT!!! I was sure that I tried that, but I guess not.

Thanks.

"Dave Peterson" wrote:

Your values are text--not numbers.

=IF(C17=12,2,(IF(C17=9,1.5,IF(C175,1,IF(C170,0 .5,0)))))



LAM wrote:

I am using the Autosum command to sum a range of cells. The cells with
conditional formating similar to the formula below are not included in the
autosum. Can you tell me why?

=IF(C17=12,"2.0",(IF(C17=9,"1.5",IF(C175,"1",IF (C170,"0.5","0")))))

Thanks,
LAM


--

Dave Peterson

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
AutoSum and text SueG Excel Worksheet Functions 3 July 7th 09 01:31 PM
Show formulas result + text directly veggies27 Excel Worksheet Functions 3 March 20th 08 03:27 AM
Where is the result after I do an autosum function? PatS Excel Discussion (Misc queries) 14 January 20th 08 05:22 PM
Formulas - SUMIF but with a text not number result? Lindy Excel Discussion (Misc queries) 1 March 30th 07 05:30 AM
How do I autosum text? staysee Excel Worksheet Functions 2 September 20th 05 12:42 AM


All times are GMT +1. The time now is 07:14 PM.

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

About Us

"It's about Microsoft Excel"