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 » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

"Named" Formula selected by user, for use in another formula



 
 
Thread Tools Display Modes
  #1  
Old February 25th, 2008, 12:22 PM posted to microsoft.public.excel.setup
wideawake
external usenet poster
 
Posts: 3
Default "Named" Formula selected by user, for use in another formula

Hello,

I have created the following named formulaes:-

=OFFSET(CLR!$A$1,0,0,COUNTA(CLR!$A:$A))
=OFFSET(CDJ!$A$1,0,0,COUNTA(CDJ!$A:$A))
=OFFSET(HCG!$A$1,0,0,COUNTA(HCG!$A:$A))

Called CLR CDJ and HCG respectively. They are just dynamic named ranges.

These are created for the following formula:-

=INDEX(SEL,MATCH(Q3,SEL,-1),1)

In the above case it references the named formula SEL

What I want to do is allow a user entry, say Cell B1 - and allow the user to
type in the named formula that they want to use for the calculation.

For example if B1 = CDJ

Would mean the formula becomes

=INDEX(CDJ,MATCH(Q3,SEL,-1),1)

I can not get this to work!! Any ideas? (I was looking at INDIRECT function?)

Thanks

  #2  
Old February 25th, 2008, 05:35 PM posted to microsoft.public.excel.setup
wideawake
external usenet poster
 
Posts: 3
Default "Named" Formula selected by user, for use in another formula

Sorry this should read:-

" Would mean the formula becomes

=INDEX(CDJ,MATCH(Q3,CDJ,-1),1) "

Note the 2nd CDJ *instead of SEL


"Wideawake" wrote:

Hello,

I have created the following named formulaes:-

=OFFSET(CLR!$A$1,0,0,COUNTA(CLR!$A:$A))
=OFFSET(CDJ!$A$1,0,0,COUNTA(CDJ!$A:$A))
=OFFSET(HCG!$A$1,0,0,COUNTA(HCG!$A:$A))

Called CLR CDJ and HCG respectively. They are just dynamic named ranges.

These are created for the following formula:-

=INDEX(SEL,MATCH(Q3,SEL,-1),1)

In the above case it references the named formula SEL

What I want to do is allow a user entry, say Cell B1 - and allow the user to
type in the named formula that they want to use for the calculation.

For example if B1 = CDJ

Would mean the formula becomes

=INDEX(CDJ,MATCH(Q3,SEL,-1),1)

I can not get this to work!! Any ideas? (I was looking at INDIRECT function?)

Thanks

 




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 08:22 AM.


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