#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 112
Default Excel 2003 Question

okay what I need help with is this....

=IF(Cell="Text",Cells,Cell) IE... =IF(B22="human",L36:AW37,B22)

what I want it to do is if it sees the " TEXT or text or Text " to then go
to the appropriate cells for the information to be displayed in a different
set of cells on the spreadsheet and I am not getting this done with the IF
function... not certain what function to use
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 515
Default Excel 2003 Question

I do not think you understand the use of IF!
You cannot redirect output using IF. Iow, you cannot have a formula in say
F1, that will result in output in L36:AW37!

What you can do, is to have a formula in say L36, stating that if the value
of B22 = "human", it should do a calculation, do a vlookup, show nothing, or
something to that effect.

Something like =IF(B22="Human",C22,C23). Or, if B22 = human, then show the
contents of C22, else show the contents of C23.
Or =IF(B22="","",IF(B22="Human", C12*D12,IF(B22="Animal, C13*D13,C14*D14)))

I suggest you post with an explanation, including cell addresses, of exactly
what you are trying to achieve here, then you will get help!

--
HTH

Kassie

Replace xxx with hotmail


"Andrea" wrote:

okay what I need help with is this....

=IF(Cell="Text",Cells,Cell) IE... =IF(B22="human",L36:AW37,B22)

what I want it to do is if it sees the " TEXT or text or Text " to then go
to the appropriate cells for the information to be displayed in a different
set of cells on the spreadsheet and I am not getting this done with the IF
function... not certain what function to use

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 112
Default Excel 2003 Question

=IF(Sheet2!L128,FALSE,IF(Sheet2!L129,FALSE,IF(Shee t2!L130,FALSE,IF(Sheet2!L131,FALSE,IF(Sheet2!L132, FALSE,IF(Sheet2!L133,FALSE,IF(Sheet2!L134,FALSE,Sh eet2!L203)))))))

returns error #value!
=IF(B22="human",L36) returns a flase to the cell
what I want it to do is display the text that is in the field if it is not
false
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 515
Default Excel 2003 Question

Hi Andrea,

You cannot add such a lot of if condiions, without telling it what to do!If
any of these statements are true, what should happen, and if they are false,
what should happen! After your last comma, you must tell Excel what to do if
this is true, and add another comma to tell it what to do if these are false.

One way is to list your if's in an OR statement, that is if thin the event
that any one of these are true, the same thing should happen. Excel will
check each condition until it either reaches the end, then go to you false
satement, or until one returns true, in which case it will return your true
option.
=IF(OR(ISERROR(Sheet2!L128),ISDERROR(Sheet2!L129), ISERROR(Sheet2!L130),ISERROR(Sheett2!L131),ISERROR (Sheet2!L132),ISERROR(Sheet2!L133),ISERROR(Sheet2! L134),
what do you want to happen if any one is true, what do you want to happen if
all are false). All this must be in one line.

Otherwise, you must say =IF(ISERROR(Sheet2!L128),do
something,IF(ISERROR(Sheet2!L129),do something,IF(ISERROR(Sheet2!L130),do
something.....IF(ISERROR(Sheet2!L134),do something, do something else)))))))
Also, remember that you can only use 7 such IF's consecutievely.

As far as your other problem is concerned, then

=IF(ISERROR(B22,"",IF(B22="human",L36,"")) should work

--
HTH

Kassie

Replace xxx with hotmail


"Andrea" wrote:

=IF(Sheet2!L128,FALSE,IF(Sheet2!L129,FALSE,IF(Shee t2!L130,FALSE,IF(Sheet2!L131,FALSE,IF(Sheet2!L132, FALSE,IF(Sheet2!L133,FALSE,IF(Sheet2!L134,FALSE,Sh eet2!L203)))))))

returns error #value!
=IF(B22="human",L36) returns a flase to the cell
what I want it to do is display the text that is in the field if it is not
false

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 112
Default Excel 2003 Question

I appreciate the help but ....
=IF(ISERROR(Sheet2!B22,"",IF(Sheet2!B22="human",Sh eet2!L117,""))
gets me the following message... you have entered to many arguments for this
function

I am wondering if it might be easier to email the sheet, so you see what I
have at issue here.?


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 515
Default Excel 2003 Question

Its all about where you put your closing bracket in this example Andrea!
Correct would be
=IF(ISERROR(Sheet2!B22),"",IF(Sheet2!B22="human",S heet2!L117,"")) After
iserror, you opened a bracket, which must be closed again after Sheet2!B22.
Not to worry, I have received your sheet, and will take a look at it.

--
HTH

Kassie

Replace xxx with hotmail


"Andrea" wrote:

I appreciate the help but ....
=IF(ISERROR(Sheet2!B22,"",IF(Sheet2!B22="human",Sh eet2!L117,""))
gets me the following message... you have entered to many arguments for this
function

I am wondering if it might be easier to email the sheet, so you see what I
have at issue here.?

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
Question on XML in Excel 2003 Please Help[_2_] Excel Discussion (Misc queries) 2 October 6th 08 08:18 PM
Question for MVP - install Excel 2003 on MS Server 2003 WCM Setting up and Configuration of Excel 4 February 13th 08 06:59 PM
Excel 2003 Question Marilyn Excel Discussion (Misc queries) 0 December 22nd 06 08:24 PM
excel 2003 question CorinDarksoul Excel Worksheet Functions 5 June 26th 06 05:05 PM
Question about Excel 2003 Jason Excel Discussion (Misc queries) 1 April 27th 05 03:53 PM


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