Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default row sum - 9 cells change values to 1 and add the "1"

I am trying to loot at the values in a row of cells, chang them to 1 and add
the "1"
I have tried variations of the following.
c5=5, c6=9
if(c5)1,1,0, if(c6)1,1,0, sum(c5:c6)
individuallly the give me the correct results. 1. But the results I am
looking for should be 2.

Can anyone help with the formuls or tell me what I am doing incorrectly?

Thanks Dick
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default row sum - 9 cells change values to 1 and add the "1"

Hi Dick,

C5 =5
C6 =9

D5 =SUM(C51,C61) ===== 2

---
Regards,
Norman



"Anvil22" wrote in message
...
I am trying to loot at the values in a row of cells, chang them to 1 and
add
the "1"
I have tried variations of the following.
c5=5, c6=9
if(c5)1,1,0, if(c6)1,1,0, sum(c5:c6)
individuallly the give me the correct results. 1. But the results I am
looking for should be 2.

Can anyone help with the formuls or tell me what I am doing incorrectly?

Thanks Dick



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default row sum - 9 cells change values to 1 and add the "1"

Hi Norm,
Thank you - IOt worked liek a charm. I was so straigh forward. I have to
make one modification. I needed the count to include (1), so I change you
suggestion to c5=1,
and it worked.

thanks a again.
Dick

"Norman Jones" wrote:

Hi Dick,

C5 =5
C6 =9

D5 =SUM(C51,C61) ===== 2

---
Regards,
Norman



"Anvil22" wrote in message
...
I am trying to loot at the values in a row of cells, chang them to 1 and
add
the "1"
I have tried variations of the following.
c5=5, c6=9
if(c5)1,1,0, if(c6)1,1,0, sum(c5:c6)
individuallly the give me the correct results. 1. But the results I am
looking for should be 2.

Can anyone help with the formuls or tell me what I am doing incorrectly?

Thanks Dick




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
Change default settings of "Save external links values" mkollman Excel Discussion (Misc queries) 0 December 7th 08 01:47 PM
How do I change the column heading in Excel to display "A" "B" "C Thai New Users to Excel 1 November 30th 07 08:06 PM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
=IF(D13="PAID","YES","NO") Can I change fonts colour Kev Excel Discussion (Misc queries) 3 February 17th 06 04:27 AM
Changing "returned" values from "0" to "blank" LATATC Excel Worksheet Functions 2 October 20th 05 04:41 PM


All times are GMT +1. The time now is 11:39 AM.

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"