PC Review


Reply
Thread Tools Rate Thread

Change operator from cell value

 
 
Gareth.Evans
Guest
Posts: n/a
 
      24th Feb 2009
Hi, i am trying to change to operator of a formula based on the value
of a cell. For example:

A1 = 3
A2 = <
A3 = 10

Formula: IF(A1&A2&A3,"yes","no")

The i want to be able to Chande the operator ion A2.

I have tried the formula above and it does not work. Any help would be
great.

THanks in advance for your help
 
Reply With Quote
 
 
 
 
Stefi
Guest
Posts: n/a
 
      24th Feb 2009
Insert>Name>Define name>Provide a name, say formulaA123, enter
=EVALUATE(A1&A2&A3)
as reference,
enter
=formulaA123
in result cell!

Regards,
Stefi

„Gareth.Evans” ezt *rta:

> Hi, i am trying to change to operator of a formula based on the value
> of a cell. For example:
>
> A1 = 3
> A2 = <
> A3 = 10
>
> Formula: IF(A1&A2&A3,"yes","no")
>
> The i want to be able to Chande the operator ion A2.
>
> I have tried the formula above and it does not work. Any help would be
> great.
>
> THanks in advance for your help
>

 
Reply With Quote
 
Stefi
Guest
Posts: n/a
 
      24th Feb 2009
or rather
=IF(EVALUATE(A1&A2&A3),"yes","no")
Stefi



„Stefi” ezt *rta:

> Insert>Name>Define name>Provide a name, say formulaA123, enter
> =EVALUATE(A1&A2&A3)
> as reference,
> enter
> =formulaA123
> in result cell!
>
> Regards,
> Stefi
>
> „Gareth.Evans” ezt *rta:
>
> > Hi, i am trying to change to operator of a formula based on the value
> > of a cell. For example:
> >
> > A1 = 3
> > A2 = <
> > A3 = 10
> >
> > Formula: IF(A1&A2&A3,"yes","no")
> >
> > The i want to be able to Chande the operator ion A2.
> >
> > I have tried the formula above and it does not work. Any help would be
> > great.
> >
> > THanks in advance for your help
> >

 
Reply With Quote
 
Gareth.Evans
Guest
Posts: n/a
 
      24th Feb 2009
Hi thanks for the reply,

I cant seem to get the EVALUATE function to work, i get error "invalid
function"

 
Reply With Quote
 
Stefi
Guest
Posts: n/a
 
      24th Feb 2009
What Excel version do you use? I tried it in Excel2003.

Make sure that you entered =IF(EVALUATE(A1&A2&A3),"yes","no") in name
defining dialog reference field! EVALUATE does NOT work as a normal worksheet
function!

Stefi



„Gareth.Evans” ezt *rta:

> Hi thanks for the reply,
>
> I cant seem to get the EVALUATE function to work, i get error "invalid
> function"
>
>

 
Reply With Quote
 
Glenn
Guest
Posts: n/a
 
      24th Feb 2009
Gareth.Evans wrote:
> Hi thanks for the reply,
>
> I cant seem to get the EVALUATE function to work, i get error "invalid
> function"
>



Look here for a further explanation:

http://www.ozgrid.com/News/excel-eva....htm#ExcelTips
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
if cell contains this AND that - like operator? MiataDiablo@gmail.com Microsoft Excel Programming 3 20th May 2008 09:45 PM
Re: Change Boolean / Logical Operator using Input Cell Bernie Deitrick Microsoft Excel Worksheet Functions 0 1st May 2008 05:03 PM
Can I absolute cell an operator: and/or =?Utf-8?B?bmFzdGVjaA==?= Microsoft Excel Misc 1 10th Jun 2007 10:19 PM
add one cell with no equals operator =?Utf-8?B?cmVnZ2llMjZ0?= Microsoft Excel Misc 1 24th Jan 2006 02:57 PM
Excel logical operator for a cell if another cell has a certain co =?Utf-8?B?amVycnlodXlnaGU=?= Microsoft Excel Programming 1 6th Nov 2004 08:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:52 PM.