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 I need help with a formula values

I am trying to create a formula where if L2=yes then the values is 2, if no
then it is 0. I need to have 4 colums set up this way (l,N,P &R except P&R
value is 1 instead of 2) and the answer of all 4 combined in once cell. How
do I do that?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default I need help with a formula values


Ok.. Let me see if I understand you correctly...

N2 & I2 = IF(L2="yes", 2, IF(L2="no", 0, False))

P2 & R2 = IF(L2="yes", 1, IF(L2="no", 0, False))

Your cell that combine all the values can be..

IF(L2="yes", 6, IF(L2="no", 0, False))


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=561573

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default I need help with a formula values

I'm not sure if this answers your question . . . but from as I understand,
there are two parts. You'll need to change it up for your references/needs.

To analyze the data in a particular cell:
=IF(A1="yes",2,IF(A1="no",0,"error"))

To analye the data in all of the returning cells:
=IF(AND(B1=2,B2=2,c2=2,d2=2),"True","False")

"TSchneider" wrote:

I am trying to create a formula where if L2=yes then the values is 2, if no
then it is 0. I need to have 4 colums set up this way (l,N,P &R except P&R
value is 1 instead of 2) and the answer of all 4 combined in once cell. How
do I do that?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default I need help with a formula values

TSchneider,
You don't say what other cells may have yes/no so I assume that they are
N2, P2 & R2

For L1 & N1 try:

=(L2="Yes")*2

and for P1 & R1 try:

=(P1="Yes")*1

or
=--(P1="Yes")

To *combine* all answers in one cell use:

=L1&N1&P1&R1

or if you mean add up all the answers try:

=SUM(L1,N1,P1,R1)

--
HTH

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"TSchneider" wrote in message
...
I am trying to create a formula where if L2=yes then the values is 2, if no
then it is 0. I need to have 4 colums set up this way (l,N,P &R except P&R
value is 1 instead of 2) and the answer of all 4 combined in once cell.
How
do I do that?



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
automate replace values in formula galiant Excel Discussion (Misc queries) 2 July 9th 06 03:40 PM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
copy values generated by conditional formula in one sheet to the other work sheet as values ramana Excel Worksheet Functions 1 October 5th 05 01:04 PM
copy values generated by conditional formula in one sheet to the other work sheet as values bobby Excel Discussion (Misc queries) 1 October 5th 05 12:18 PM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM


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