Your use of the CHOOSE formula here is absolutely obsolete.

Having CHOOSE({1,2},RATESHEET!$B$6:$B$9,RATESHEET!$C$6:$C$9) is equivalent
to simply using RATESHEET!$B$6:$C$9

Instead, you could have passed the column number dynamically by looking
were the CR COIL is located. For this you could have matched the value as
C3 with wildcards around it in the column header of the rate sheet data
table.

Here's how the formula would look like

=VLOOKUP($G$2,RATESHEET!$B$6:$C$9,MATCH("*"&C3&"*",RATESHEET!$B$5:$F$5,0),0)

Regards,

Sam Mathai Chacko

On Mon, Feb 6, 2012 at 10:18 PM, NOORAIN ANSARI <noorain.ans...@gmail.com>wrote:

>
> Dear Raghu,
>
> You can use..
>
> =VLOOKUP($G$2,CHOOSE({1,2},RATESHEET!$B$6:$B$9,RATESHEET!$C$6:$C$9),2,0)
>
> See attached sheet..
>
>
>
> On Sat, Feb 4, 2012 at 12:02 AM, raghu gr <balaji.bra...@gmail.com> wrote:
>
>> Hi experts,
>>
>> I have a invoice file and summary file, i want the formula in rate
>> column, which has to pick from rate sheet.
>> please help me in this regard
>>
>> Attached sample file
>>
>> Thank you
>>
>> with regards
>> Raghu
>>
>> --
>> FORUM RULES (986+ members already BANNED for violation)
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>>
>> 2) Don't post a question in the thread of another member.
>>
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>>
>> 4) Acknowledge the responses you receive, good or bad.
>>
>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>> signatures are prohibited.
>>
>> NOTE : Don't ever post personal or confidential data in a workbook. Forum
>> owners and members are not responsible for any loss.
>>
>>
>> ------------------------------------------------------------------------------------------------------
>> To post to this group, send email to excel-macros@googlegroups.com
>>
>
>
>
> --
> Thanks & regards,
> Noorain Ansari
>  ** <http://excelmacroworld.blogspot.com/>*http://noorainansari.com/*
> *http://excelmacroworld.blogspot.com/*<http://excelmacroworld.blogspot.com/>
>
>
>  --
> FORUM RULES (986+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>



-- 
Sam Mathai Chacko

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to