A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

IF Statements



 
 
Thread Tools Display Modes
  #1  
Old January 14th, 2004, 08:44 PM
Bill
external usenet poster
 
Posts: n/a
Default IF Statements

Is there any way to join IF statements? I find the fact
that you can only use 7 IF statements very useless! I'm
trying to create a spreadsheet using an individuals goal
and actual result, but I need to have approx. 60 IF
statements in order to do this. Does anyone know of any
way to accomplish this? Any help would be greatly
appreciated! Thanks!
  #2  
Old January 14th, 2004, 08:56 PM
Gilles Desjardins
external usenet poster
 
Posts: n/a
Default IF Statements

Bill go look at Chip Pearson's work around

Gilles Desjardins
www.CPEARSON.COM

"Bill" wrote in message
...
Is there any way to join IF statements? I find the fact
that you can only use 7 IF statements very useless! I'm
trying to create a spreadsheet using an individuals goal
and actual result, but I need to have approx. 60 IF
statements in order to do this. Does anyone know of any
way to accomplish this? Any help would be greatly
appreciated! Thanks!



  #3  
Old January 14th, 2004, 08:56 PM
John Wilson
external usenet poster
 
Posts: n/a
Default IF Statements

Bill,

You'll need to use a VLookup.
Take a look in Excel help for some pointers.
If you can't get it to work, post back here with how
your data is laid out in the workbook and someone
will surely be able to help you with it.

John

"Bill" wrote in message
...
Is there any way to join IF statements? I find the fact
that you can only use 7 IF statements very useless! I'm
trying to create a spreadsheet using an individuals goal
and actual result, but I need to have approx. 60 IF
statements in order to do this. Does anyone know of any
way to accomplish this? Any help would be greatly
appreciated! Thanks!



  #4  
Old January 14th, 2004, 08:57 PM
Dave R.
external usenet poster
 
Posts: n/a
Default IF Statements

Bill, you "shouldn't" need to use more than a few IF statements to do a job,
there is another way.

If you'd like specific guidance from people in this arena, give some
examples of what your data looks like, what you want to accomplish, and what
result the formula should give.



"Bill" wrote in message
...
Is there any way to join IF statements? I find the fact
that you can only use 7 IF statements very useless! I'm
trying to create a spreadsheet using an individuals goal
and actual result, but I need to have approx. 60 IF
statements in order to do this. Does anyone know of any
way to accomplish this? Any help would be greatly
appreciated! Thanks!



  #5  
Old January 14th, 2004, 09:41 PM
John Wilson
external usenet poster
 
Posts: n/a
Default IF Statements

Gilles,

With about 60 IF's (per the OP), that would probably be
more trouble than it's worth (and a nightmare to debug).

John

"Gilles Desjardins" wrote in message
...
Bill go look at Chip Pearson's work around

Gilles Desjardins
www.CPEARSON.COM

"Bill" wrote in message
...
Is there any way to join IF statements? I find the fact
that you can only use 7 IF statements very useless! I'm
trying to create a spreadsheet using an individuals goal
and actual result, but I need to have approx. 60 IF
statements in order to do this. Does anyone know of any
way to accomplish this? Any help would be greatly
appreciated! Thanks!





  #6  
Old January 15th, 2004, 02:52 PM
John Wilson
external usenet poster
 
Posts: n/a
Default IF Statements

Bill,

I get the impression that you have your scores laid
out across row #7 ????
You can't do a vlookup that way.
For a vlookup, you should have at least two columns.
The leftmost being the values that you're looking up
and the colum(s) to the right are where you would get
your results.

What you're looking to accomplish can definitely be done,
but I think that your worksheet layout is wrong.

If you'd like, send the workbook directly to me:

and I'll take a look at it for you.

John

wrote in message ...
Ok, I'll see if I can explain myself a little better.

What I want to do is create a formula in C7 that takes the
value in B7, looks across from S7:CD7 (where I have the
results and scores for those results) and finds the value
and returns the score.

Now, as an example, B7 is 11.24, I have a result of 11.23
in CB7 and a result of 11.32 in CD7. Since the value in
B7 is between those 2 numbers I want it to return the
score for the lesser result (CB7). The score for CB7 is
located in CA7.

I have the result in one column and the score for that
result in the column immediately to the left of that, so
the formula is looking for the score to the left of that
result. Can this be done?

Thanks for all your replies already!!

-----Original Message-----
Is there any way to join IF statements? I find the fact
that you can only use 7 IF statements very useless! I'm
trying to create a spreadsheet using an individuals goal
and actual result, but I need to have approx. 60 IF
statements in order to do this. Does anyone know of any
way to accomplish this? Any help would be greatly
appreciated! Thanks!
.



  #7  
Old February 6th, 2004, 06:31 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default If statements

Danita wrote:
I need to create a formula that in words says:

If cell a1 = 80 then put 7, if a1 = 120 = then put 10, if a1=160,
then put 13

I can't figure out for 3 options, versus 2
Help me


Hi Danita
try
=IF(A1=80,7,IF(A1=120,10,IF(A1=160,13,"")))

Frank
  #8  
Old February 6th, 2004, 06:32 PM
Peo Sjoblom
external usenet poster
 
Posts: n/a
Default If statements

Try

=VLOOKUP(A1,{80,7;120,10;160,13},2,0)

--

Regards,

Peo Sjoblom


"Danita" wrote in message
...
I need to create a formula that in words says:

If cell a1 = 80 then put 7, if a1 = 120 = then put 10, if a1=160, then put

13

I can't figure out for 3 options, versus 2
Help me



  #9  
Old February 6th, 2004, 06:46 PM
Danita
external usenet poster
 
Posts: n/a
Default If statements

Thanks Frank it worked.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.