Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default countin and updating numbric and text

I need to update a number cell from a text filed.
Cell a3 represent the total years of participation. Cellsb3,d3,e3 ECT
represent the current year of activity by a y.
I am trying to update the number in a3 5- to 6 or 7 or 8 based on whether
or not there is a y in b3,d3,e3 ECT.
Example a3=5
B3- blank
C3 = y would update a3 to 6
D3 blank
E3 = y would update b3 to7
I have tried a number of count and countif and countifs and always receive
the value error because of the y
Can anyone help?
Thanks
Dick

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 342
Default countin and updating numbric and text

Try:

=COUNTIF(B3:Z3,"y")

Tom

"Anvil22" wrote:

I need to update a number cell from a text filed.
Cell a3 represent the total years of participation. Cellsb3,d3,e3 ECT
represent the current year of activity by a y.
I am trying to update the number in a3 5- to 6 or 7 or 8 based on whether
or not there is a y in b3,d3,e3 ECT.
Example a3=5
B3- blank
C3 = y would update a3 to 6
D3 blank
E3 = y would update b3 to7
I have tried a number of count and countif and countifs and always receive
the value error because of the y
Can anyone help?
Thanks
Dick

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default countin and updating numbric and text

Tom,
that counts and replaces the number in a3, but doesn't update the number in
a3. for example if a3 starts with 5 and there are two "y" cells in b3:z3, a3
shou updat to 7. I am really stumped.
Dick

"tompl" wrote:

Try:

=COUNTIF(B3:Z3,"y")

Tom

"Anvil22" wrote:

I need to update a number cell from a text filed.
Cell a3 represent the total years of participation. Cellsb3,d3,e3 ECT
represent the current year of activity by a y.
I am trying to update the number in a3 5- to 6 or 7 or 8 based on whether
or not there is a y in b3,d3,e3 ECT.
Example a3=5
B3- blank
C3 = y would update a3 to 6
D3 blank
E3 = y would update b3 to7
I have tried a number of count and countif and countifs and always receive
the value error because of the y
Can anyone help?
Thanks
Dick

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 342
Default countin and updating numbric and text

I don't understand where the 5 comes from. What does it represent? How did
it get there in the first place? Tom
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default countin and updating numbric and text


It starts as a beginnin number representing the number yo years they have
participated in hte program. so if the participated in 2009 but not 2008 the
5 in b3 would update to 6.

Dick


"tompl" wrote:

I don't understand where the 5 comes from. What does it represent? How did
it get there in the first place? Tom



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 342
Default countin and updating numbric and text

Not sure I fully understand but if the 5 is an entered amount you could just
add it in the formula and everything should work fine.

=COUNTIF(B3:Z3,"y") + 5

Tom
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default countin and updating numbric and text

Tom,
The problem is that other rows referance other groups, and each have their
own years of participation. Therefore the 5 isn't constant, the a3 column
could be 5, 11, 15, 20. Which is why I have bee trying to find a cell formula
that could be applied.

Best,
Dick


"tompl" wrote:

Not sure I fully understand but if the 5 is an entered amount you could just
add it in the formula and everything should work fine.

=COUNTIF(B3:Z3,"y") + 5

Tom

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 342
Default countin and updating numbric and text

The years of participation is data that must be entered somewhere. You can
enter it in this formula differently for each line, or you can have another
column in which to enter this number then add the value in the new column to
this formula. For example, the years of participation number is entered into
column B and your formula becomes =COUNTIF(C3:Z3,"y") +B3

Tom
  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default countin and updating numbric and text

Tom,
That works with hiding the C column.
I appreciate the time you took to help solve the proble,

Dick

"tompl" wrote:

The years of participation is data that must be entered somewhere. You can
enter it in this formula differently for each line, or you can have another
column in which to enter this number then add the value in the new column to
this formula. For example, the years of participation number is entered into
column B and your formula becomes =COUNTIF(C3:Z3,"y") +B3

Tom

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
Updating Split Text field jock Excel Discussion (Misc queries) 2 April 16th 08 01:07 PM
Countin Numbers in a Workbook Matt Excel Discussion (Misc queries) 1 January 8th 08 11:36 PM
Automatic updating for text boxes used on Charts Morjana Coffman Excel Discussion (Misc queries) 1 September 27th 06 07:40 PM
Countin Dates Steve J Excel Worksheet Functions 4 May 6th 05 01:45 PM
Adding cells with alphabet and returning a numbric value Irv Excel Worksheet Functions 4 December 23rd 04 10:01 PM


All times are GMT +1. The time now is 10:07 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"