Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Formula to add depending upon value entered

I am keeping track of my football teams record and wondered if there was a
way to setup a formula that when I enter a W in one field then under a column
titled wins it adds plus one for each W and the same in another cell if there
is a L.
Thanks Larry Heckman
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Formula to add depending upon value entered

Maybe this

=COUNTIF(A1:A20,"W")

=COUNTIF(A1:A20,"L")

Mike

"lheck77" wrote:

I am keeping track of my football teams record and wondered if there was a
way to setup a formula that when I enter a W in one field then under a column
titled wins it adds plus one for each W and the same in another cell if there
is a L.
Thanks Larry Heckman

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Formula to add depending upon value entered

Ok now that was too simple. Thanks so much

"Mike H" wrote:

Maybe this

=COUNTIF(A1:A20,"W")

=COUNTIF(A1:A20,"L")

Mike

"lheck77" wrote:

I am keeping track of my football teams record and wondered if there was a
way to setup a formula that when I enter a W in one field then under a column
titled wins it adds plus one for each W and the same in another cell if there
is a L.
Thanks Larry Heckman

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Formula to add depending upon value entered

Hi,
I assume the column where you enter the W is column C and you want the +1 in
column D so in D enter

=if(C1="W",1,"")

Change the letter to L in your formula to copy it in the other cell

if this helps please click yes thanks

"lheck77" wrote:

I am keeping track of my football teams record and wondered if there was a
way to setup a formula that when I enter a W in one field then under a column
titled wins it adds plus one for each W and the same in another cell if there
is a L.
Thanks Larry Heckman

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Formula to add depending upon value entered

lheck77 wrote:
I am keeping track of my football teams record and wondered if there was a
way to setup a formula that when I enter a W in one field then under a column
titled wins it adds plus one for each W and the same in another cell if there
is a L.
Thanks Larry Heckman



Try this:

http://www.contextures.on.ca/xlFunctions04.html#COUNTIF


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
Formula to display text depending upon date entered in a cell Rod from B.C. Government Excel Worksheet Functions 2 May 25th 09 10:03 PM
Automatically vary range in graph depending on #rows data entered? dalek Charts and Charting in Excel 1 July 2nd 08 04:45 AM
Formula Depending On Formatting SamuelT Excel Discussion (Misc queries) 1 July 3rd 06 05:44 PM
Colouring a row depending on data entered in a column Gazivaldo Excel Worksheet Functions 2 November 25th 05 02:19 PM
How do I automatically shade cells depending on data entered? Jim Johnson Excel Worksheet Functions 6 October 29th 04 07:01 PM


All times are GMT +1. The time now is 10:12 AM.

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"