Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default If formula question


I am trying to create a formula using an if statemet. I would like t
put a W or an L in a certain cell. Of course for win or loss. I woul
then like another cell to do a calculation for the W result and if L i
in the cell I would like to do a different calculation. I have th
calculations all figured out. I just can't get the if statement t
recognize a W or an L.. Thanks in advance. This is probably an eas
one, I am just overlooking something

--
CadensDa
-----------------------------------------------------------------------
CadensDad's Profile: http://www.excelforum.com/member.php...fo&userid=1746
View this thread: http://www.excelforum.com/showthread.php?threadid=49577

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default If formula question

Try this:
=IF(B1="W",YourWinCalculation,YourLossCalculation)

If B1 is blank, then if you want the cell result to remain blank:
=IF(B1,"","",IF(B1="W",YourWinCalculation,YourLoss Calculation))


If this is not what you want, please elaborate and possibly include your
other calculations.

HTH,
Paul


"CadensDad" wrote
in message ...

I am trying to create a formula using an if statemet. I would like to
put a W or an L in a certain cell. Of course for win or loss. I would
then like another cell to do a calculation for the W result and if L is
in the cell I would like to do a different calculation. I have the
calculations all figured out. I just can't get the if statement to
recognize a W or an L.. Thanks in advance. This is probably an easy
one, I am just overlooking something.


--
CadensDad
------------------------------------------------------------------------
CadensDad's Profile:
http://www.excelforum.com/member.php...o&userid=17469
View this thread: http://www.excelforum.com/showthread...hreadid=495776



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default If formula question


Try using th quotation marks around your letters in the IF statement
A1="L"


"CadensDad" wrote:


I am trying to create a formula using an if statemet. I would like to
put a W or an L in a certain cell. Of course for win or loss. I would
then like another cell to do a calculation for the W result and if L is
in the cell I would like to do a different calculation. I have the
calculations all figured out. I just can't get the if statement to
recognize a W or an L.. Thanks in advance. This is probably an easy
one, I am just overlooking something.


--
CadensDad
------------------------------------------------------------------------
CadensDad's Profile: http://www.excelforum.com/member.php...o&userid=17469
View this thread: http://www.excelforum.com/showthread...hreadid=495776


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default If formula question


That is EXACTLY! what I was looking for. Thank You so much..

--
CadensDa
-----------------------------------------------------------------------
CadensDad's Profile: http://www.excelforum.com/member.php...fo&userid=1746
View this thread: http://www.excelforum.com/showthread.php?threadid=49577

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
Newbie Formula Question - how to get formula to repeat in each subsequent row? [email protected] New Users to Excel 2 January 10th 10 05:02 PM
formula question Michele Excel Discussion (Misc queries) 2 July 11th 07 07:22 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
Question about this formula... BVHis Excel Worksheet Functions 2 December 13th 05 02:26 PM
Another Formula question - please Anthony Excel Discussion (Misc queries) 4 August 1st 05 01:18 AM


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