PC Review


Reply
Thread Tools Rate Thread

create a new formula?

 
 
James Cornthwaite
Guest
Posts: n/a
 
      11th May 2006
I am using the nested functions below

"=if(vlookup(1, GRID, 3,false) = 0, (1, GRID, 4, false), (1, GRID, 3,
false))"

i.e for the row with the digit one in its first column return the value in
the third column else if empty return the value in the fourth column.

my problem is i am repeatedly using the line above exactly only changing the
value i am searching for (1 in this case ))

so ideally i'd like to do something like

define myformula(X) = if(vlookup(X, GRID, 3,false) = 0, (X, GRID, 4, false),
(X, GRID, 3, false))

is this possible?????????


 
Reply With Quote
 
 
 
 
Domenic
Guest
Posts: n/a
 
      12th May 2006
Assuming that the third and fourth column contain numerical values,
try...

=LOOKUP(9.99999999999999E+307,VLOOKUP(1,GRID,{4,3},0))

If they contain text values, replace...

9.99999999999999E+307

with

REPT("z",255)

Hope this helps!

In article <u-(E-Mail Removed)>,
"James Cornthwaite" <(E-Mail Removed)> wrote:

> I am using the nested functions below
>
> "=if(vlookup(1, GRID, 3,false) = 0, (1, GRID, 4, false), (1, GRID, 3,
> false))"
>
> i.e for the row with the digit one in its first column return the value in
> the third column else if empty return the value in the fourth column.
>
> my problem is i am repeatedly using the line above exactly only changing the
> value i am searching for (1 in this case ))
>
> so ideally i'd like to do something like
>
> define myformula(X) = if(vlookup(X, GRID, 3,false) = 0, (X, GRID, 4, false),
> (X, GRID, 3, false))
>
> is this possible?????????

 
Reply With Quote
 
arthurjr07@gmail.com
Guest
Posts: n/a
 
      12th May 2006
Yes, but it have to be done in macro

Please read this article
http://techrepublic.com.com/5100-1035_11-5300300.html

 
Reply With Quote
 
James Cornthwaite
Guest
Posts: n/a
 
      12th May 2006
thats great cheers

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Yes, but it have to be done in macro
>
> Please read this article
> http://techrepublic.com.com/5100-1035_11-5300300.html
>



 
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
Create a formula by joining text and the value from a formula Jesper Audi Microsoft Excel Worksheet Functions 3 25th Feb 2010 04:07 PM
I am trying to create a formula Brockjr38 Microsoft Excel Worksheet Functions 1 10th Sep 2008 02:10 AM
How do I create a formula by percentage within a formula? =?Utf-8?B?TWlzcyBUZXhhcw==?= Microsoft Excel Worksheet Functions 1 27th Mar 2006 04:51 AM
need to create a formula to create a timesheet but haven't a clue =?Utf-8?B?QUh1cmQ=?= Microsoft Excel Misc 7 22nd Aug 2005 12:04 PM
Please help create a formula JuliaC Microsoft Excel Worksheet Functions 3 27th Oct 2004 11:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:08 AM.